feat: move jest to rootdir

This commit is contained in:
Herrington Darkholme 2020-07-24 18:58:15 +08:00
parent d24bbc9be9
commit 1ae9f46357
3 changed files with 801 additions and 1037 deletions

View File

@ -6,7 +6,7 @@
"dev": "vite",
"build": "vite build",
"cz": "npx git-cz",
"test": "lerna run test --stream",
"test": "jest",
"gc": "sh ./scripts/gc.sh"
},
"peerDependencies": {
@ -19,6 +19,9 @@
"cz-conventional-changelog": "^3.2.0",
"lerna": "^3.22.1",
"typescript": "^3.9.7",
"jest": "^24.1.0",
"ts-jest": "^26.1.3",
"vue-jest": "5.0.0-alpha.1",
"vite": "^1.0.0-rc.1"
},
"config": {

View File

@ -3,17 +3,10 @@
"version": "0.0.0",
"main": "dist/index.js",
"license": "MIT",
<<<<<<< HEAD
"scripts": {
"test": "jest --config ../../jest.config.js --rootDir ."
},
"peerDependencies": {
"vue": "^3.0.0-rc.1"
},
"devDependencies": {
"@vue/test-utils": "^2.0.0-beta.0",
"jest": "^26.1.0",
"ts-jest": "^26.1.3",
"vue-jest": "5.0.0-alpha.1"
"@vue/test-utils": "^2.0.0-beta.0"
}
}

1824
yarn.lock

File diff suppressed because it is too large Load Diff