Skip to content

Commit

Permalink
Update dependencies and migrate config
Browse files Browse the repository at this point in the history
  • Loading branch information
ansidev committed Nov 12, 2018
1 parent 9a72d79 commit afd3c27
Show file tree
Hide file tree
Showing 8 changed files with 6,640 additions and 13,041 deletions.
6 changes: 3 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"presets": [
["env", { "modules": false }]
["@babel/env", { "modules": false }]
],
"env": {
"test": {
"presets": [
["env", { "targets": { "node": "current" }}]
["@babel/env", { "targets": { "node": "current" }}]
]
}
}
}
}
7 changes: 4 additions & 3 deletions dist/build.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/build.js.map

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
verbose: true,
moduleFileExtensions: [
"js",
"json",
"vue"
],
transform: {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!@vue/test-utils).+\\.js$"
],
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1"
},
moduleDirectories: [
"node_modules"
],
snapshotSerializers: [
"<rootDir>/node_modules/jest-serializer-vue"
],
"testURL": "http://localhost/"
}
Loading

0 comments on commit afd3c27

Please sign in to comment.