-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.62 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
{
"name": "basic-nodejs-structure",
"version": "0.0.1",
"description": "A basic nodejs structure",
"scripts": {
"start": "NODE_ENV=development node server.js | ./node_modules/.bin/bunyan",
"server": "nodemon server.js | ./node_modules/.bin/bunyan",
"start-server": "./node_modules/pm2/bin/pm2 start server.js",
"start-test": "./node_modules/pm2/bin/pm2 start server.js --no-daemon --watch --no-autorestart --env test",
"stop-server": "./node_modules/pm2/bin/pm2 stop server.js",
"logs": "./node_modules/pm2/bin/pm2 logs",
"test": "NODE_ENV=test mocha test",
"test-coverage": "nyc npm run test",
"lint": "npx eslint .",
"prettier": "npx prettier -c .",
"db:migrate": "npx sequelize db:migrate",
"db:migrate:create": "npx sequelize migration:generate --name",
"db:migrate:undo": "npx sequelize db:migrate:undo"
},
"author": "",
"license": "ISC",
"dependencies": {
"auth0": "^2.30.0",
"bunyan": "^1.8.12",
"convict": "^5.2.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-bunyan-logger": "^1.3.3",
"express-jwt": "^6.0.0",
"express-jwt-authz": "^2.4.1",
"lodash": "^4.17.20",
"mysql2": "^2.1.0",
"pm2": "^4.4.0",
"sequelize": "^5.21.7"
},
"devDependencies": {
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.5",
"mocha": "^9.1.3",
"nodemon": "^2.0.3",
"nyc": "^15.1.0",
"prettier": "2.0.5",
"pretty-quick": "^2.0.1",
"sequelize-cli": "^5.5.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}