FairyEver
5 years ago
12 changed files with 13192 additions and 4004 deletions
-
1.browserslistrc
-
5.editorconfig
-
13.eslintrc.js
-
6.gitignore
-
41README.md
-
63README.zh.md
-
2babel.config.js
-
22jest.config.js
-
6044package-lock.json
-
60package.json
-
2vue.config.js
-
10937yarn.lock
@ -1,3 +1,2 @@ |
|||
> 1% |
|||
last 2 versions |
|||
not ie <= 8 |
@ -0,0 +1,5 @@ |
|||
[*.{js,jsx,ts,tsx,vue}] |
|||
indent_style = space |
|||
indent_size = 2 |
|||
trim_trailing_whitespace = true |
|||
insert_final_newline = true |
@ -1,6 +1,6 @@ |
|||
module.exports = { |
|||
presets: [ |
|||
'@vue/app' |
|||
'@vue/cli-plugin-babel/preset' |
|||
], |
|||
// 允许两种编码引入方式共存,也就是 common 规范与 es6 规范的共存处理
|
|||
sourceType: 'unambiguous' |
|||
|
@ -1,23 +1,3 @@ |
|||
module.exports = { |
|||
moduleFileExtensions: [ |
|||
'js', |
|||
'jsx', |
|||
'json', |
|||
'vue' |
|||
], |
|||
transform: { |
|||
'^.+\\.vue$': 'vue-jest', |
|||
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub', |
|||
'^.+\\.jsx?$': 'babel-jest' |
|||
}, |
|||
moduleNameMapper: { |
|||
'^@/(.*)$': '<rootDir>/src/$1' |
|||
}, |
|||
snapshotSerializers: [ |
|||
'jest-serializer-vue' |
|||
], |
|||
testMatch: [ |
|||
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' |
|||
], |
|||
testURL: 'http://localhost/' |
|||
preset: '@vue/cli-plugin-unit-jest' |
|||
} |
6044
package-lock.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
10937
yarn.lock
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue