巴林闲侠 2 years ago
parent
commit
e8683f535f
  1. 3
      code/api/.vscode/launch.json
  2. 2
      code/web/package.json

3
code/api/.vscode/launch.json

@ -17,8 +17,7 @@
"-f http://localhost:4200", "-f http://localhost:4200",
"-g postgres://postgres:123@10.8.30.32:5432/iot_auth", "-g postgres://postgres:123@10.8.30.32:5432/iot_auth",
"--redisHost 10.8.30.112", "--redisHost 10.8.30.112",
"--redisPort 6379", "--redisPort 6379"
"--iotVcmpApi http://127.0.0.1:4000",
] ]
}, },
{ {

2
code/web/package.json

@ -7,7 +7,7 @@
"test": "mocha", "test": "mocha",
"start-vite": "cross-env NODE_ENV=developmentVite npm run start-params", "start-vite": "cross-env NODE_ENV=developmentVite npm run start-params",
"start": "cross-env NODE_ENV=development npm run start-params", "start": "cross-env NODE_ENV=development npm run start-params",
"start-params": "node server -p 5200 -u http://10.8.30.112:4200", "start-params": "node server -p 5200 -u http://localhost:4200",
"deploy": "export NODE_ENV=production&& npm run build && node server", "deploy": "export NODE_ENV=production&& npm run build && node server",
"build-dev": "cross-env NODE_ENV=development&&webpack --config webpack.config.js", "build-dev": "cross-env NODE_ENV=development&&webpack --config webpack.config.js",
"build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js" "build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js"

Loading…
Cancel
Save