forked from mkosir/typeorm-express-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 3.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "typeorm-express-typescript-mariadb-boilerplate",
"version": "1.0.0",
"description": "RESTful API boilerplate with Typescript, TypeORM, ExpressJs & Mocha.",
"scripts": {
"dev": "debug=* NODE_PATH=./src ts-node-dev --respawn ./src/index.ts",
"build": "rimraf dist && tsc",
"start": "NODE_PATH=./dist node ./dist/index.js",
"local": "NODE_PATH=./src ts-node src/index.ts",
"prepare": "husky install",
"lint": "eslint --max-warnings 0 . && npm run tsc",
"lint-fix": "eslint --fix .",
"lint-staged-husky": "lint-staged",
"tsc": "tsc --noEmit",
"format-lint": "prettier --config .prettierrc -l --ignore-unknown .",
"format-fix": "prettier --config .prettierrc --write --ignore-unknown .",
"test": "NODE_PATH=./src mocha --require ts-node/register 'src/**/*.test.ts' --timeout 20000 --exit",
"commit": "git-cz",
"migration:run": "NODE_PATH=./src ts-node ./node_modules/typeorm/cli.js migration:run --dataSource ./src/orm/data-sources/data-source.ts",
"migration:run:dev": "DB_HOST=127.0.0.1 NODE_PATH=./src ts-node ./node_modules/typeorm/cli.js migration:run --dataSource ./src/orm/data-sources/data-source.ts",
"migration:revert": "DB_HOST=127.0.0.1 NODE_PATH=./src ts-node ./node_modules/typeorm/cli.js migration:revert --dataSource ./src/orm/data-sources/data-source.ts",
"migration:generate": "DB_HOST=127.0.0.1 NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:generate ./src/orm/migrations/CreateUsers --pretty --dataSource ./src/orm/data-sources/data-source.ts",
"migration:create": "DB_HOST=127.0.0.1 NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:create --dataSource ./src/orm/data-sources/data-source.ts -n ",
"seed:run": "NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:run --dataSource ./src/orm/data-sources/seed-data-source.ts",
"seed:run:dev": "DB_HOST=127.0.0.1 NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:run --dataSource ./src/orm/data-sources/seed-data-source.ts",
"seed:create": "DB_HOST=127.0.0.1 NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:create ./src/orm/seeds/SeedUsers --dataSource ./src/orm/data-sources/seed-data-source.ts"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"express": "^4.18.2",
"helmet": "^6.0.1",
"jsonwebtoken": "^9.0.0",
"morgan": "^1.10.0",
"mysql": "^2.18.1",
"reflect-metadata": "^0.1.13",
"serve-favicon": "^2.5.0",
"typeorm": "^0.3.12",
"typeorm-naming-strategies": "^4.0.0",
"validator": "^13.9.0"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.2",
"@types/chai": "^4.3.1",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/mocha": "^10.0.1",
"@types/morgan": "^1.9.3",
"@types/node": "^18.13.0",
"@types/serve-favicon": "^2.5.3",
"@types/supertest": "^2.0.12",
"@types/validator": "^13.7.12",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"chai": "^4.3.6",
"commitizen": "^4.3.0",
"dotenv": "^16.0.3",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-array-reduce": "^1.0.62",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^13.1.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"pretty-quick": "^3.1.3",
"supertest": "^6.2.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsc-files": "^1.1.3",
"typescript": "^4.9.5"
}
}