-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 915 Bytes
/
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
{
"name": "datawhale-homepage",
"description": "datawhale homepage",
"scripts": {
"bootstrap": "npm install -g pnpm pm2 ",
"build:all": "npm run clean && npm run build:server && npm run build:client",
"build:client": "cp -r ./package/client ./output",
"build:server": "NODE_ENV=production tsc --p ./package/server",
"clean": "rm -rf output",
"dev:all": "npm run clean && npm run dev:server",
"dev:server": "NODE_ENV=development nodemon --watch './package/server/**/*.ts' --exec 'ts-node' ./package/server/app.ts",
"format": "prettier --write './package/**/*.ts' './package/**/*.js'",
"start": "NODE_ENV=production pm2 start output/app.js"
},
"author": "shadowings-zy",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.13",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"dependencies": {
"express": "^4.17.1",
"compression": "^1.7.4",
"nodemon": "^2.0.15"
}
}