-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.64 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
{
"name": "ReadLight-Backend",
"version": "1.0.0",
"description": "restful api server of readlight service",
"main": "serve.js",
"scripts": {
"build": "babel ./ --out-dir build --delete-dir-on-start --include-dotfiles --ignore node_modules --ignore models/html && yarn copy",
"copy": "cp -r ./config ./build/config && cp ./routes/swagger.yaml ./build/routes/swagger.yaml && cp -r ./models/html ./build/models/html",
"test": "babel ./ --out-dir build --delete-dir-on-start --include-dotfiles --ignore node_modules --ignore models/html",
"start": "pm2 start ./build/serve.js -o ./build/yarn-serve.log",
"restart": "pm2 restart serve",
"stop": "pm2 delete serve",
"status": "pm2 status",
"dev": "nodemon --exec babel-node ./serve.js -e js,json,yaml,html,env"
},
"author": "",
"license": "ISC",
"dependencies": {
"babel-polyfill": "^6.26.0",
"cookie-parser": "^1.4.5",
"core-js": "^3.7.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"ejs": "^3.1.5",
"express": "^4.17.1",
"fs": "0.0.1-security",
"http": "0.0.1-security",
"https": "^1.0.0",
"jsonwebtoken": "^8.5.1",
"moment": "^2.29.1",
"moment-timezone": "^0.5.31",
"mongoose": "^5.10.13",
"morgan": "^1.10.0",
"nodemailer": "^6.4.15",
"pm2": "^4.4.1",
"querystring": "^0.2.0",
"request": "^2.88.2",
"request-ip": "^2.1.3",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/node": "^7.12.6",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"swagger-jsdoc": "^5.0.1",
"swagger-ui-express": "^4.1.4"
}
}