|
7 | 7 | "lint": "vue-cli-service lint",
|
8 | 8 | "graphql-api": "cross-env VUE_CLI_DEBUG=true VUE_CLI_UI_DEV=true vue-cli-service graphql-api",
|
9 | 9 | "run-graphql-api": "vue-cli-service run-graphql-api",
|
10 |
| - "run-test-graphql-api": "cross-env NODE_ENV=test VUE_APP_GRAPHQL_PORT=4040 VUE_APP_CLI_UI_URL=ws://localhost:4040/graphql yarn run graphql-api", |
| 10 | + "test-graphql-api": "cross-env VUE_CLI_UI_TEST=true VUE_APP_GRAPHQL_PORT=4040 VUE_APP_CLI_UI_URL=ws://localhost:4040/graphql yarn run graphql-api", |
11 | 11 | "prepublishOnly": "yarn run lint --no-fix && yarn run build",
|
12 | 12 | "test:e2e:dev": "cross-env VUE_APP_CLI_UI_URL=ws://localhost:4040/graphql vue-cli-service test:e2e --mode development",
|
13 | 13 | "test:e2e:run": "vue-cli-service test:e2e --mode production --headless --url=http://localhost:4040",
|
14 |
| - "test:e2e": "start-server-and-test run-test-graphql-api http://localhost:4040 test:e2e:dev", |
15 |
| - "test:run": "start-server-and-test run-test-graphql-api http://localhost:4040 test:e2e:run", |
| 14 | + "test:e2e": "yarn run test:clear && start-server-and-test test-graphql-api http://localhost:4040 test:e2e:dev", |
| 15 | + "test:run": "yarn run test:clear && start-server-and-test test-graphql-api http://localhost:4040 test:e2e:run", |
| 16 | + "test:clear": "rimraf ../../test/cli-ui-test && rimraf ./live-test", |
16 | 17 | "test": "yarn run build && cd ../cli-ui-addon-webpack && yarn run build && cd ../cli-ui && yarn run test:run"
|
17 | 18 | },
|
18 | 19 | "dependencies": {
|
|
56 | 57 | "file-icons-js": "^1.0.3",
|
57 | 58 | "lint-staged": "^6.0.0",
|
58 | 59 | "portal-vue": "^1.3.0",
|
| 60 | + "rimraf": "^2.6.2", |
59 | 61 | "start-server-and-test": "^1.4.1",
|
60 | 62 | "stylus": "^0.54.5",
|
61 | 63 | "stylus-loader": "^3.0.1",
|
|
0 commit comments