|
3 | 3 | "version": "1.0.0",
|
4 | 4 | "description": "A Vue.js project",
|
5 | 5 | "author": "",
|
| 6 | + "proxy": "http://localhost:3003/", |
6 | 7 | "private": true,
|
7 | 8 | "scripts": {
|
8 | 9 | "client": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
9 | 10 | "start": "npm run dev",
|
10 | 11 | "unit": "jest --config test/unit/jest.conf.js --coverage",
|
11 | 12 | "dev": "concurrently \"npm run server\" \"npm run client\"",
|
12 | 13 | "server": "npm start --prefix ./api",
|
13 | | - "prod": "npm run build && cpx \"dist/**/*.*\" \"api/dist\" && NODE_ENV=production PORT=3000 npm run server", |
| 14 | + "prod": "npm run build && cpx \"dist/**/*.*\" \"api/dist\" && NODE_ENV=production PORT=3003 npm run server", |
14 | 15 |
|
15 | 16 | "e2e": "node test/e2e/runner.js",
|
16 | 17 | "test": "npm run unit && npm run e2e",
|
|
0 commit comments