-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
42 lines (42 loc) · 1.56 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
{
"name": "newmd-backend",
"version": "1.9.0",
"description": "An api for mingdao's potato server.",
"main": "app.js",
"engines": {
"node": "18"
},
"type": "module",
"scripts": {
"dev": "bun -v && bun ./app.js || nodemon -v && nodemon --trace-warnings ./app.js || node -v && node --trace-warnings ./app.js",
"start": "pm2 start ./app.js --name newmd-backend --attach || pm2 restart newmd-backend --update-env --attach",
"lint": " npx eslint ./",
"check-and-fix-lint": "(echo '\n---\n\nScanning for lint error...' && eslint .) || (echo '\n\n---\n\nFound lint error, working on it...' && eslint . --fix) || echo \"\n\nWARNING: There are some error that can't be fixed automatically!\"",
"lintfix": "npm run --silent check-and-fix-lint",
"jest-test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
"test": "npm run --silent jest-test"
},
"author": "AAAA",
"license": "MIT",
"dependencies": {
"axios": "^1.4.0",
"body-parser": "^1.20.0",
"cheerio": "^1.0.0-rc.12",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.17.2",
"express-rate-limit": "^6.7.0",
"fs": "^0.0.1-security",
"iconv-lite": "^0.6.3",
"jsonwebtoken": "^9.0.0",
"mongoose": "^6.11.3",
"morgan": "^1.10.0",
"node-fetch": "^2.6.7",
"node-schedule": "^2.1.0",
"pm2": "^5.3.0"
},
"devDependencies": {
"eslint": "^8.30.0",
"nodemon": "^3.0.1"
}
}