diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/package.json b/package.json index f95345d..493362f 100644 --- a/package.json +++ b/package.json @@ -17,12 +17,29 @@ "@nuxtjs/pwa": "^3.0.0-0" }, "devDependencies": { - "eslint-config-prettier": "^4.1.0", - "eslint-plugin-prettier": "^3.0.1", - "prettier": "^1.16.4", "@vue/test-utils": "^1.0.0-beta.27", "babel-jest": "^24.1.0", + "eslint-config-prettier": "^4.1.0", + "eslint-plugin-prettier": "^3.0.1", "jest": "^24.1.0", + "jest-serializer-vue": "^2.0.2", + "prettier": "^1.16.4", "vue-jest": "^4.0.0-0" + }, + "jest": { + "moduleFileExtensions": [ + "js", + "json", + "vue" + ], + "transform": { + ".*\\.(vue)$": "vue-jest" + }, + "moduleNameMapper": { + "^@/(.*)$": "<rootDir>/src/$1" + }, + "snapshotSerializers": [ + "jest-serializer-vue" + ] } } |