test(e2e): wip e2e test for todomvc

This commit is contained in:
Evan You
2019-12-02 18:18:02 -05:00
parent a984d3a531
commit 74fd6635ce
6 changed files with 178 additions and 14 deletions

View File

@@ -10,7 +10,7 @@
"size-compiler": "node scripts/build.js compiler-dom -p -f global",
"size": "yarn size-runtime && yarn size-compiler",
"lint": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
"test": "jest",
"test": "node scripts/build.js vue -f global -d && jest",
"test-dts": "node scripts/build.js reactivity runtime-core runtime-dom -t -f esm && tsd"
},
"types": "test-dts/index.d.ts",
@@ -37,6 +37,7 @@
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-replace": "^2.2.1",
"@types/jest": "^24.0.21",
"@types/puppeteer": "^2.0.0",
"brotli": "^1.3.2",
"chalk": "^2.4.2",
"execa": "^2.0.4",
@@ -46,6 +47,7 @@
"lint-staged": "^9.2.3",
"minimist": "^1.2.0",
"prettier": "~1.14.0",
"puppeteer": "^2.0.0",
"rollup": "^1.19.4",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.24.0",