-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·30 lines (30 loc) · 1.16 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
{
"name": "dhp-des-admin-ui",
"version": "1.0.0",
"description": "",
"scripts": {
"clean-all": "concurrently 'rm -rf ./node_modules ./dist' 'npm run clean --prefix ./client' 'npm run clean --prefix ./server'",
"postinstall": "npm install --prefix ./client; npm install --prefix ./server",
"client": "cross-env SASS_PATH=node_modules npm start --prefix ./client",
"client-build": "cross-env INLINE_RUNTIME_CHUNK=false SASS_PATH=node_modules GENERATE_SOURCEMAP=false npm run build --prefix ./client",
"server-build": "npm run build --prefix ./server",
"server": "cd ./server; node .",
"dev": "concurrently 'npm run server' 'npm run client'",
"prod-env": "cp -R ./chart ./dist/chart; cp -R ./client/build/* ./dist/client/",
"prebuild": "rm -rf ./dist; mkdir ./dist; mkdir -p ./dist/client;",
"build": "npm run client-build; npm run server-build; npm run prod-env",
"prestart": "npm run build",
"start": "node ./dist/server/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"author": "",
"license": "ISC",
"dependencies": {
"concurrently": "^5.3.0",
"cross-env": "^7.0.2"
}
}