test: fix scripts

This commit is contained in:
Guillaume Chau 2019-06-20 08:03:56 +02:00
parent b67878e52a
commit 4f1889fb42
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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",