-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.12 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
{
"name": "Oort-Apis",
"version": "1.0.0",
"description": "APIs for SBN projects",
"main": "index.js",
"repository": {
"type": "git",
"url": ""
},
"author": "DWD",
"license": "MIT",
"dependencies": {
"body-parser": "^1.18.3",
"cors": "^2.8.5",
"express": "^4.16.4",
"mysql": "^2.16.0",
"pm2": "^3.2.9",
"reflect-metadata": "^0.1.13",
"rimraf": "^2.6.3",
"typeorm": "^0.2.12"
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/express": "^4.16.1",
"@types/node": "^9.6.41",
"typescript": "^3.3.1"
},
"scripts": {
"dev": "npm run clean && node_modules/typescript/bin/tsc --watch --sourceMap & nodemon dist/app.js",
"clean": "rimraf dist",
"build": "npm run clean && node_modules/typescript/bin/tsc",
"serve": "npm run build && NODE_ENV='PROD' node_modules/.bin/pm2 start dist/app.js",
"stop": "node_modules/.bin/pm2 stop all",
"restart": "npm run stop && npm run serve",
"pm2": "node_modules/.bin/pm2"
}
}