80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"serve": "vue-cli-service serve",
|
|
"build": "vue-cli-service build",
|
|
"test:unit": "vue-cli-service test:unit --setupTestFrameworkScriptFile=./tests/setup.js",
|
|
"lint": "vue-cli-service lint"
|
|
},
|
|
"dependencies": {
|
|
"core-js": "^3.6.5",
|
|
"vue": "^2.6.11",
|
|
"vue-router": "^3.2.0",
|
|
"vuetify": "^2.4.0",
|
|
"vuex": "^3.4.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"**/*.js": [
|
|
"npm run lint",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.0",
|
|
"@babel/preset-env": "^7.16.4",
|
|
"@vue/cli-plugin-babel": "~4.5.0",
|
|
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
"@vue/cli-plugin-router": "~4.5.0",
|
|
"@vue/cli-plugin-unit-jest": "^4.5.15",
|
|
"@vue/cli-plugin-vuex": "~4.5.0",
|
|
"@vue/cli-service": "~4.5.0",
|
|
"@vue/eslint-config-prettier": "^6.0.0",
|
|
"@vue/test-utils": "^1.3.0",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^27.3.1",
|
|
"eslint": "^6.7.2",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.1.2",
|
|
"prettier": "^2.2.1",
|
|
"sass": "~1.32.0",
|
|
"sass-loader": "^10.0.0",
|
|
"vue-cli-plugin-vuetify": "^2.4.3",
|
|
"vue-template-compiler": "^2.6.11",
|
|
"vuetify-loader": "^1.7.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"vue"
|
|
],
|
|
"transform": {
|
|
".*\\.(vue)$": "vue-jest",
|
|
".*\\.(js)$": "babel-jest"
|
|
},
|
|
"moduleNameMapper": {
|
|
"^@/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"**/*.{js,vue}",
|
|
"!**/node_modules/**"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-env"
|
|
]
|
|
}
|
|
}
|