-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.53 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "boilerplate",
"version": "0.0.0",
"license": "UNLICENSED",
"author": {
"name": "Mateus Pires",
"email": "[email protected]",
"url": "https://github.com/mateuspiresl"
},
"config": {
"migrationPath": "--migrations-path ./src/migrations",
"seedersPath": "--seeders-path ./src/seeders",
"migrationCompilationPath": "--migrations-path ./dist/migrations",
"seedersCompilationPath": "--seeders-path ./dist/seeders"
},
"scripts": {
"build": "tsc",
"debug": "yarn build && yarn lint && yarn watch-debug",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"start": "node ./dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"tsc -w\" \"nodemon dist/server.js\"",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"tsc -w\" \"nodemon --inspect dist/server.js\"",
"db:create": "sequelize db:create",
"db:drop": "sequelize db:drop",
"db:reset": "yarn db:drop && yarn db:create",
"db:migrate": "sequelize db:migrate ${npm_package_config_migrationCompilationPath}",
"db:rollback": "sequelize db:migrate:undo ${npm_package_config_migrationCompilationPath}",
"db:rollback:all": "sequelize db:migrate:undo:all ${npm_package_config_migrationCompilationPath}",
"db:prepare": "yarn db:migrate && yarn db:seed:all"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn build && yarn lint && yarn test:unit && yarn test:server"
}
},
"_moduleAliases": {
"~": "dist"
},
"nodemonConfig": {
"ext": "js, yml"
},
"dependencies": {
"@hapi/boom": "^9.1.0",
"body-parser": "1.19.0",
"compression": "^1.7.4",
"cors": "2.8.5",
"dotenv": "^8.2.0",
"express": "4.17.1",
"express-async-errors": "^3.1.1",
"lusca": "^1.6.1",
"module-alias": "^2.2.2",
"morgan": "1.9.1",
"pg": "^8.4.2",
"pg-hstore": "2.3.3",
"reflect-metadata": "^0.1.13",
"sequelize": "5.21.5",
"sequelize-cli": "^6.2.0",
"source-map-support": "^0.5.19",
"swagger-jsdoc": "^5.0.0",
"swagger-ui-express": "^4.1.4",
"winston": "3.2.1"
},
"devDependencies": {
"@types/body-parser": "^1.17.1",
"@types/compression": "^1.0.1",
"@types/cors": "^2.8.8",
"@types/eslint": "^6.1.1",
"@types/express": "4.17.1",
"@types/express-serve-static-core": "^4.17.9",
"@types/jest": "^24.0.23",
"@types/lusca": "^1.6.1",
"@types/node": "^14.0.22",
"@types/swagger-jsdoc": "^3.0.2",
"@types/swagger-ui-express": "^4.1.2",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"concurrently": "^5.0.0",
"eslint": "^7.4.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-jest": "^3.0.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"extendify": "1.0.0",
"glob": "7.1.6",
"husky": "4.2.3",
"jest": "^26.5.2",
"lint-staged": "10.0.7",
"nodemon": "^1.19.2",
"prettier": "^2.0.5",
"remap-istanbul": "0.13.0",
"rimraf": "3.0.2",
"shelljs": "^0.8.3",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"typedoc": "0.16.10",
"typescript": "^3.8.2",
"typescript-formatter": "7.2.2"
}
}