Updating to Vue-CLI 4.2.2
This commit is contained in:
parent
58d0251849
commit
e35a2b69fa
@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@vue/app'
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
]
|
||||
};
|
||||
|
@ -2,45 +2,18 @@ process.env.VUE_CLI_BABEL_TARGET_NODE = true;
|
||||
process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true;
|
||||
|
||||
module.exports = {
|
||||
collectCoverageFrom: [
|
||||
'src/**/*.{js,vue}',
|
||||
'!src/main.js',
|
||||
'!**/node_modules/**'
|
||||
],
|
||||
preset: '@vue/cli-plugin-unit-jest',
|
||||
coverageDirectory: '<rootDir>/tests/unit/coverage',
|
||||
moduleFileExtensions: [
|
||||
'js',
|
||||
'jsx',
|
||||
'json',
|
||||
'vue'
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1'
|
||||
},
|
||||
setupFilesAfterEnv: [
|
||||
'<rootDir>/tests/unit/setup.js'
|
||||
],
|
||||
snapshotSerializers: [
|
||||
'<rootDir>/node_modules/jest-serializer-vue-tjw'
|
||||
],
|
||||
testEnvironment: 'jest-environment-jsdom-global',
|
||||
testMatch: [
|
||||
'**/tests/unit/**/*.test.js'
|
||||
],
|
||||
testPathIgnorePatterns: [
|
||||
'<rootDir>/tests/e2e'
|
||||
],
|
||||
testURL: 'http://localhost/',
|
||||
transform: {
|
||||
'^.+\\.vue$': 'vue-jest',
|
||||
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
||||
'^.+\\.jsx?$': 'babel-jest'
|
||||
},
|
||||
transformIgnorePatterns: [
|
||||
'/node_modules/'
|
||||
],
|
||||
watchPlugins: [
|
||||
'jest-watch-typeahead/filename',
|
||||
'jest-watch-typeahead/testname'
|
||||
]
|
||||
};
|
||||
|
3931
package-lock.json
generated
3931
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
27
package.json
27
package.json
@ -45,40 +45,29 @@
|
||||
"express": "^4.17.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "^4.1.2",
|
||||
"@vue/cli-plugin-e2e-nightwatch": "^4.1.2",
|
||||
"@vue/cli-plugin-eslint": "^4.1.2",
|
||||
"@vue/cli-plugin-unit-jest": "^4.1.2",
|
||||
"@vue/cli-service": "^4.1.2",
|
||||
"@vue/cli-plugin-babel": "^4.2.2",
|
||||
"@vue/cli-plugin-e2e-nightwatch": "^4.2.2",
|
||||
"@vue/cli-plugin-eslint": "^4.2.2",
|
||||
"@vue/cli-plugin-unit-jest": "^4.2.2",
|
||||
"@vue/cli-service": "^4.2.2",
|
||||
"@vue/test-utils": "1.0.0-beta.31",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-jest": "^25.1.0",
|
||||
"babel-plugin-dynamic-import-node": "^2.3.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"babel-preset-vue-app": "^2.0.0",
|
||||
"concurrently": "^5.1.0",
|
||||
"core-js": "^3.6.4",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-tjw-base": "^1.0.0",
|
||||
"eslint-config-tjw-vue": "^1.0.0",
|
||||
"eslint-plugin-jest": "^23.6.0",
|
||||
"eslint-plugin-vue": "^6.1.2",
|
||||
"eslint-plugin-jest": "^23.7.0",
|
||||
"eslint-plugin-vue": "^6.2.1",
|
||||
"eslint-plugin-vue-a11y": "^0.0.31",
|
||||
"jest": "^24.9.0",
|
||||
"jest-environment-jsdom": "^25.1.0",
|
||||
"jest-environment-jsdom-global": "^1.2.0",
|
||||
"jest-serializer-vue-tjw": "^3.5.0",
|
||||
"jest-transform-stub": "^2.0.0",
|
||||
"jest-serializer-vue-tjw": "^3.11.0",
|
||||
"nw": "0.44.2-sdk",
|
||||
"nw-vue-devtools-prebuilt": "^0.0.10",
|
||||
"nwjs-builder-phoenix": "^1.15.0",
|
||||
"nwjs-types": "^1.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"vue": "^2.6.11",
|
||||
"vue-jest": "^3.0.5",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"wait-on": "^4.0.0"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user