-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 3.77 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
80
{
"name": "express-typescript-typeorm-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",
"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",
"docker:dev": "docker-compose --file docker-compose.yml --file docker-compose.dev.yml --compatibility up --build",
"docker:stage": "docker-compose --file docker-compose.yml --file docker-compose.stage.yml --compatibility up --build",
"docker:prod": "docker-compose --file docker-compose.yml --file docker-compose.prod.yml --compatibility up --build",
"migration:run": "NODE_PATH=./src ts-node ./node_modules/typeorm/cli.js migration:run --config ./src/orm/config/ormconfig.ts",
"migration:run:dev": "PG_HOST=localhost NODE_PATH=./src ts-node ./node_modules/typeorm/cli.js migration:run --config ./src/orm/config/ormconfig.ts",
"migration:revert": "PG_HOST=localhost NODE_PATH=./src ts-node ./node_modules/typeorm/cli.js migration:revert --config ./src/orm/config/ormconfig.ts",
"migration:generate": "PG_HOST=localhost NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:generate --pretty --config ./src/orm/config/ormconfig.ts -n ",
"migration:create": "PG_HOST=localhost NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:create --config ./src/orm/config/ormconfig.ts -n ",
"seed:run": "NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:run --config ./src/orm/config/ormconfig-seed.ts",
"seed:run:dev": "PG_HOST=localhost NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:run --config ./src/orm/config/ormconfig-seed.ts",
"seed:create": "PG_HOST=localhost NODE_PATH=./src ts-node ./node_modules/.bin/typeorm migration:create --config ./src/orm/config/ormconfig-seed.ts -n "
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"express": "^4.17.3",
"helmet": "^5.0.2",
"jsonwebtoken": "^8.5.1",
"moment": "2.29.4",
"morgan": "^1.10.0",
"pg": "^8.7.3",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.45",
"typeorm-naming-strategies": "^4.0.0",
"validator": "^13.7.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.2",
"@types/chai": "^4.3.1",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.1",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.33",
"@types/supertest": "^2.0.12",
"@types/validator": "^13.7.2",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"chai": "^4.3.6",
"commitizen": "^4.2.4",
"dotenv": "^16.0.1",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-array-reduce": "^1.0.58",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^12.4.1",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"supertest": "^6.2.2",
"ts-node": "10.7.0",
"ts-node-dev": "2.0.0",
"tsc-files": "^1.1.3",
"typescript": "4.8.4"
}
}