-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
70 lines (70 loc) · 2.27 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
{
"name": "api",
"version": "0.0.0",
"private": true,
"type": "module",
"imports": {
"#app": "./app.js",
"#util": "./misc/util.js",
"#constant": "./misc/constant.js",
"#routes/*": "./routes/*.js",
"#models/*": "./models/*.js",
"#middleware/*": "./middleware/*.js",
"#controller/*": "./controller/*.js",
"#services/*": "./services/*.js",
"#error/*": "./error/*.js",
"#misc/*": "./misc/*.js",
"#mockDB/*": "./misc/mockDB/*.js"
},
"scripts": {
"start": "node ./bin/www",
"devstart": "nodemon ./bin/www",
"serverstart": "DEBUG=api:* npm run devstart",
"serverstartWin": "SET DEBUG=api:* && npm run devstart",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules npx jest --watch",
"test:openHandles": "NODE_OPTIONS=--experimental-vm-modules npx jest --detectOpenHandles",
"testWin": "SET NODE_OPTIONS=--experimental-vm-modules && npx jest",
"testWin:watch": "SET NODE_OPTIONS=--experimental-vm-modules && npx jest --watch",
"testWin:openHandles": "SET NODE_OPTIONS=--experimental-vm-modules && npx jest --detectOpenHandles",
"eslint": "eslint",
"backup": "node ./misc/erpbackup",
"restore": "node ./misc/erprestore",
"prepare": "husky install",
"initialize": "node ./misc/initDB",
"testInit": "node ./misc/testMock"
},
"dependencies": {
"bcrypt": "^5.1.0",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-validator": "^6.15.0",
"jsonwebtoken": "^9.0.0",
"mongoose": "^6.9.0",
"morgan": "~1.9.1",
"node-cron": "^3.0.2",
"nodemailer": "^6.9.1",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@faker-js/faker": "^8.2.0",
"apidoc": "^1.2.0",
"eslint": "^8.38.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.0",
"jest": "^29.5.0",
"lint-staged": "^14.0.1",
"mongodb-memory-server": "^9.0.1",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"supertest": "^6.3.3"
}
}