Adds sample tests
Showing
... | ... | @@ -15,7 +15,8 @@ |
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"build-bundle": "vue-cli-service build --target lib --name mComponents ./src/components/index.js", | ||
"lint": "vue-cli-service lint" | ||
"lint": "vue-cli-service lint", | ||
"test:unit": "jest --coverage" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
... | ... | @@ -29,9 +30,22 @@ |
"@vue/cli-plugin-eslint": "~4.5.0", | ||
"@vue/cli-service": "~4.5.0", | ||
"@vue/compiler-sfc": "^3.0.0", | ||
"@vue/test-utils": "^2.0.0-rc.11", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^6.7.2", | ||
"eslint-plugin-vue": "^7.0.0" | ||
"eslint-plugin-vue": "^7.0.0", | ||
"vue-jest": "^5.0.0-alpha.10" | ||
}, | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"js", | ||
"json", | ||
"vue" | ||
], | ||
"transform": { | ||
"^.+\\.js$": "babel-jest", | ||
"^.+\\.vue$": "vue-jest" | ||
} | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
... | ... |
Please register or sign in to comment