add webserver
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
"dev": "umi dev",
|
||||
"dist": "umi build",
|
||||
"deploy": "node ./node_modules/deployer/deploy.js --type git --repo 'https://github.com/vichome/webapp' --local 'dist'",
|
||||
"allinone": "npm run dist && npm run deploy"
|
||||
"allinone": "npm run dist && npm run deploy",
|
||||
"daemon4test.pm2": "cross-env NODE_ENV=production pm2 start ./node_modules/webserver/server.js --name vic.h5 -- -H server4test.vic.yuanjin.net -P http"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/react-virtualized-auto-sizer": "^1.0.0",
|
||||
@@ -62,7 +63,8 @@
|
||||
"tslint-react": "^4.0.0",
|
||||
"umi": "^2.8.20",
|
||||
"umi-plugin-react": "^1.9.19",
|
||||
"umi-types": "^0.3.17"
|
||||
"umi-types": "^0.3.17",
|
||||
"webserver": "git+https://git.faronear.org/npm/webserver"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
|
||||
Reference in New Issue
Block a user