mirror of
https://github.com/vuejs/apollo.git
synced 2026-02-01 14:37:18 +00:00
test: fix scripts
This commit is contained in:
parent
b67878e52a
commit
4f1889fb42
@ -13,10 +13,10 @@
|
||||
"build:umd": "rollup --config build/rollup.config.umd.js",
|
||||
"prepublishOnly": "yarn test && yarn build",
|
||||
"dev": "nodemon --exec 'yarn build:es && yarn build:umd' --watch src",
|
||||
"test": "yarn build && yarn test:eslint && yarn test:types && yarn test:e2e",
|
||||
"test": "yarn build && yarn test:eslint && yarn test:types && yarn test:e2e && yarn run test:unit",
|
||||
"test:eslint": "eslint --ext .js {src,ssr,lib,build}/**/*.js",
|
||||
"test:types": "tsc -p types/test",
|
||||
"test:e2e": "cd tests/demo && yarn test",
|
||||
"test:e2e": "cd tests/demo && yarn test && cd ../../",
|
||||
"test:unit": "yarn run jest",
|
||||
"docs:dev": "vuepress dev docs",
|
||||
"docs:build": "vuepress build docs"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
"test:e2e:dev:client": "vue-cli-service test:e2e --mode development",
|
||||
"test:e2e": "start-server-and-test apollo:run http://localhost:4000/.well-known/apollo/server-health test:e2e:client",
|
||||
"test:e2e:client": "vue-cli-service test:e2e --mode production --headless",
|
||||
"test": "yarn run lint --no-fix && yarn run test:unit && yarn run test:e2e"
|
||||
"test": "yarn run lint --no-fix && yarn run test:e2e"
|
||||
},
|
||||
"dependencies": {
|
||||
"graphql-type-json": "^0.2.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user