From 929a4fc0c83ef9769700bef32010c7217de22a6a Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 27 Nov 2018 16:30:21 +0800 Subject: [PATCH] update dependence --- jest.config.js | 3 +++ package.json | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/jest.config.js b/jest.config.js index 5a8aa6bb..1ce813e1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,9 @@ module.exports = { verbose: true, moduleFileExtensions: ['js', 'jsx', 'json', 'vue'], + transformIgnorePatterns: [ + 'node_modules/(?!(babel-jest|jest-vue-preprocessor)/)' + ], transform: { '^.+\\.vue$': 'vue-jest', '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub', diff --git a/package.json b/package.json index fe253d02..2f3bc5e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-element-admin", - "version": "3.9.3", + "version": "4.0.0", "description": "A magical vue admin. Typical templates for enterprise applications. Newest development stack of vue. Lots of awesome features", "author": "Pan ", "license": "MIT", @@ -66,17 +66,17 @@ "devDependencies": { "@babel/core": "7.0.0", "@babel/register": "7.0.0", - "@vue/cli-plugin-babel": "3.0.5", - "@vue/cli-plugin-eslint": "3.0.5", - "@vue/cli-plugin-unit-jest": "3.0.5", - "@vue/cli-service": "3.0.5", + "@vue/cli-plugin-babel": "3.1.1", + "@vue/cli-plugin-eslint": "3.1.5", + "@vue/cli-plugin-unit-jest": "3.1.1", + "@vue/cli-service": "3.1.4", "@vue/test-utils": "1.0.0-beta.25", "babel-core": "7.0.0-bridge.0", "babel-jest": "23.6.0", "husky": "0.14.3", "lint-staged": "7.2.2", "mockjs": "1.0.1-beta3", - "node-sass": "^4.7.2", + "node-sass": "^4.9.0", "sass-loader": "7.0.3", "script-ext-html-webpack-plugin": "2.0.1", "script-loader": "0.7.2",