-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
66 lines (66 loc) · 2.17 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
{
"name": "express-mongoose-template",
"version": "1.0.0",
"description": "express-mongoose-template",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=production node dist/index.js",
"compile": "ts-node build.ts && tsc",
"dev": "nodemon server/index.ts | pino-pretty",
"dev:debug": "nodemon --exec \"node -r ts-node/register --inspect-brk\" server/index.ts | pino-pretty",
"test": "cross-env NODE_ENV=test mocha test/**/*.ts --exit",
"test:debug": "cross-env NODE_ENV=test mocha --inspect-brk test/**/*.ts --exit",
"test:junit": "cross-env NODE_ENV=test mocha test/**/*.ts --reporter mocha-junit-reporter --reporter-options mochaFile=./test/test-results.xml --exit",
"lint": "eslint -c .eslintrc.js \"{server, test}/**/*.{js,ts,tsx}\" --quiet",
"lint:fix": "eslint -c .eslintrc.js \"{server, test}/**/*.{js,ts,tsx}\" --quiet --fix",
"typecheck": "tsc --noUnusedLocals"
},
"dependencies": {
"bluebird": "3.7.2",
"cookie-parser": "1.4.5",
"dotenv": "10.0.0",
"express": "4.17.1",
"express-openapi-validator": "4.10.8",
"mongoose": "5.13.5",
"mongoose-sequence": "5.3.1",
"morgan": "1.10.0",
"pino": "6.13.0"
},
"devDependencies": {
"@types/bluebird": "3.5.36",
"@types/chai": "4.2.21",
"@types/express": "4.17.7",
"@types/mocha": "9.0.0",
"@types/mongoose": "5.11.97",
"@types/morgan": "1.9.3",
"@types/pino": "6.3.11",
"@typescript-eslint/eslint-plugin": "4.29.0",
"@typescript-eslint/parser": "4.28.5",
"chai": "4.3.4",
"cross-env": "7.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"husky": "6.0.0",
"lint-staged": "11.1.1",
"mocha": "8.4.0",
"mocha-junit-reporter": "2.0.0",
"nodemon": "2.0.12",
"pino-pretty": "5.1.2",
"prettier": "2.3.2",
"shelljs": "0.8.4",
"supertest": "6.1.4",
"ts-node": "9.1.1",
"typescript": "4.3.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn lint && yarn typecheck"
}
},
"lint-staged": {
"{{server/**/*,test/**/*}.{js,jsx,ts,tsx,json,css,scss,yml,yaml}}": [
"prettier --write"
]
}
}