{
  "name": "@luics/typeorm-server",
  "version": "0.7.33",
  "description": "Inspired by json-server",
  "author": "luics.xu@gmail.com",
  "license": "MIT",
  "main": "dist/index.js",
  "bin": {
    "typeorm-server": "dist/bin/www.js",
    "entity2schema": "dist/bin/entity2schema.js",
    "schema2graph": "dist/bin/schema2graph.js",
    "data2sql": "dist/bin/data2sql.js"
  },
  "files": [
    "dist",
    "tsconfig.json"
  ],
  "scripts": {
    "start": "src/bin/www.ts",
    "start:dev": "nodemon",
    "lint": "eslint '@(src|test)/**/*.@(js|ts)'",
    "data2sql": "src/bin/data2sql.sh base ##_tpl bbs mall ims video music movie soccer",
    "data2sql:dev": "chokidar 'src/bin/*.ts' --initial -c 'clear && && npm run data2sql'",
    "test": "npx mocha -r \"ts-node/register\" \"test/**/*.spec.ts\" --timeout 40000",
    "test:dev": "npx chokidar \"@(src|test)/**/*.@(ts|js|json|sh)\" --initial -c \"clear && npm t\"",
    "_test:cov": "npm t -- --coverage",
    "test:cov": "nyc --reporter=html --reporter=text --check-coverage --branches 95 npm run _test:cov",
    "dist": "rm -rf dist && tsc -p tsconfig.build.json",
    "preversion": "npm run lint && npm test",
    "version": "npm run dist && git commit -am 'build: prepare releasing'",
    "postversion": "git push && git push --tags",
    "pub": "npm version patch && npm publish --access public"
  },
  "engines": {
    "node": ">= 14.17.0",
    "npm": ">= 6.14.13"
  },
  "dependencies": {
    "@luics/x-server-orm": "0.0.23",
    "class-validator": "^0.13.2",
    "commander": "^8.1.0",
    "compression": "^1.7.4",
    "cors": "^2.8.5",
    "express": "^4.18.1",
    "glob": "^8.0.3",
    "http-errors": "^1.8.0",
    "lodash": "^4.17.21",
    "morgan": "^1.10.0",
    "mysql2": "^2.3.3",
    "qs": "^6.10.1",
    "reflect-metadata": "^0.1.13",
    "response-time": "^2.3.2",
    "typeorm": "^0.3.6",
    "typescript-json-schema": "^0.50.1"
  },
  "devDependencies": {
    "@babel/core": "^7.14.8",
    "@babel/eslint-parser": "^7.14.7",
    "@luics/eslint-config": "^0.1.6",
    "@types/express": "^4.17.13",
    "@types/glob": "^7.2.0",
    "@types/json-server": "^0.14.4",
    "@types/lodash": "^4.14.182",
    "@types/mocha": "^9.0.0",
    "@types/node": "^17.0.38",
    "@types/supertest": "^2.0.11",
    "@typescript-eslint/eslint-plugin": "^4.29.1",
    "@typescript-eslint/parser": "^4.29.1",
    "chokidar-cli": "^3.0.0",
    "eslint": "^7.31.0",
    "eslint-config-airbnb-base": "^14.2.1",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-jsdoc": "^35.5.1",
    "eslint-plugin-prettier": "^3.4.0",
    "json-server": "^0.17.0",
    "mocha": "^9.0.3",
    "nodemon": "^2.0.16",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "prettier": "^2.3.2",
    "supertest": "^6.1.6",
    "ts-node": "^10.7.0",
    "typescript": "^4.6.4"
  },
  "optionalDependencies": {
    "sqlite3": "^5.0.8"
  }
}
