Skip to content

Commit 45c0f8b

Browse files
committed
chore: update vue tools config
1 parent ec2989b commit 45c0f8b

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

Diff for: packages/icons-vue/.eslintrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
module.exports = {
22
root: true,
33
env: {
4+
browser: true,
45
node: true,
6+
jasmine: true,
7+
jest: true,
8+
es6: true,
59
},
10+
plugins: ['jest'],
611
extends: [
712
'plugin:vue/vue3-essential',
813
'eslint:recommended',

Diff for: packages/icons-vue/package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,25 @@
3737
"@babel/plugin-transform-spread": "^7.14.6",
3838
"@babel/plugin-transform-template-literals": "^7.14.5",
3939
"@babel/runtime": "^7.11.2",
40-
"@types/jest": "^24.0.17",
40+
"@types/jest": "^24.9.1",
4141
"@types/lodash": "^4.14.165",
4242
"@types/node": "^13.13.15",
4343
"@typescript-eslint/eslint-plugin": "^4.14.0",
4444
"@typescript-eslint/parser": "^4.14.0",
4545
"@vue/babel-plugin-jsx": "^1.0.6",
46-
"@vue/cli-plugin-babel": "~4.5.0",
46+
"@vue/cli-plugin-babel": "^5.0.0-0",
4747
"@vue/cli-plugin-eslint": "^5.0.0-0",
4848
"@vue/cli-plugin-typescript": "^5.0.0-0",
4949
"@vue/cli-service": "~4.5.0",
5050
"@vue/compiler-sfc": "^3.0.3",
5151
"@vue/eslint-config-prettier": "^6.0.0",
5252
"@vue/eslint-config-typescript": "^7.0.0",
5353
"@vue/test-utils": "^2.0.0-beta.2",
54-
"cross-env": "^5.2.0",
54+
"gulp-less": "^5.0.0",
55+
"cross-env": "^7.0.3",
5556
"eslint": "^7.16.0",
5657
"eslint-config-prettier": "^8.3.0",
58+
"eslint-plugin-jest": "^24.4.0",
5759
"eslint-plugin-prettier": "^3.1.3",
5860
"eslint-plugin-vue": "^7.0.0",
5961
"jest": "^26.0.0",
@@ -62,7 +64,7 @@
6264
"prettier": "^1.19.1",
6365
"ts-node": "^10.1.0",
6466
"typescript": "^4.2.0",
65-
"vc-tools": "^3.0.0",
67+
"@ant-design-vue/tools": "^3.1.2",
6668
"vue": "^3.0.3",
6769
"vue-jest": "^5.0.0-alpha.10"
6870
},

Diff for: packages/icons-vue/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"experimentalDecorators": true,
1313
"noUnusedParameters": true,
1414
"noImplicitAny": false,
15-
"lib": ["dom", "es2017"],
16-
"skipLibCheck": true
15+
"skipLibCheck": true,
16+
"types": ["jest", "node"]
1717
},
1818
"include": ["./src", "./typings/"],
1919
"typings": "./typings/index.d.ts",

0 commit comments

Comments
 (0)