-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.24 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
{
"name": "node-express-example",
"version": "0.0.1",
"private": true,
"exports": "./app.js",
"type": "module",
"engines": {
"node": ">=16"
},
"author": "Lawrence Li @la3rence",
"homepage": "https://github.com/la3rence/node-express-example",
"license": "MIT",
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"scripts": {
"dev": "pnpm swagger; pnpm start",
"start": "node server.js",
"test": "mocha --timeout 10000 --exit --reporter mocha-junit-reporter",
"test:coverage": "c8 --reporter=lcov -r html -r text pnpm test",
"test:grep": "pnpm test -- -g",
"swagger": "node ./swagger/autogen.js && pnpm fmt",
"fmt": "prettier --write . --ignore-unknown",
"test:fmt": "prettier --check .",
"prepare": "husky install"
},
"dependencies": {
"dotenv": "^16.3.1",
"express": "4.21.2",
"express-winston": "^4.2.0",
"node-fetch": "^3.3.2",
"swagger-ui-express": "^5.0.0",
"winston": "^3.11.0"
},
"devDependencies": {
"c8": "^10.0.0",
"chai": "^5.0.0",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"mocha": "^11.0.0",
"mocha-junit-reporter": "^2.2.1",
"prettier": "^3.1.1",
"supertest": "^7.0.0",
"swagger-autogen": "^2.23.7"
}
}