|
@ -0,0 +1,81 @@ |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "administration_client", |
|
|
|
|
|
"version": "0.1.0", |
|
|
|
|
|
"private": true, |
|
|
|
|
|
"scripts": { |
|
|
|
|
|
"serve": "vue-cli-service serve", |
|
|
|
|
|
"build": "vue-cli-service build", |
|
|
|
|
|
"lint": "vue-cli-service lint", |
|
|
|
|
|
"test:unit": "vue-cli-service test:unit" |
|
|
|
|
|
}, |
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
"vue": "^2.5.17", |
|
|
|
|
|
"vue-class-component": "^6.0.0", |
|
|
|
|
|
"vue-property-decorator": "^7.0.0", |
|
|
|
|
|
"vue-router": "^3.0.1", |
|
|
|
|
|
"vuex": "^3.0.1" |
|
|
|
|
|
}, |
|
|
|
|
|
"devDependencies": { |
|
|
|
|
|
"@types/jest": "^23.1.4", |
|
|
|
|
|
"@vue/cli-plugin-babel": "^3.0.1", |
|
|
|
|
|
"@vue/cli-plugin-typescript": "^3.0.1", |
|
|
|
|
|
"@vue/cli-plugin-unit-jest": "^3.0.1", |
|
|
|
|
|
"@vue/cli-service": "^3.0.1", |
|
|
|
|
|
"@vue/test-utils": "^1.0.0-beta.20", |
|
|
|
|
|
"babel-core": "7.0.0-bridge.0", |
|
|
|
|
|
"lint-staged": "^7.2.2", |
|
|
|
|
|
"node-sass": "^4.9.0", |
|
|
|
|
|
"sass-loader": "^7.0.1", |
|
|
|
|
|
"ts-jest": "^23.0.0", |
|
|
|
|
|
"typescript": "^3.0.0", |
|
|
|
|
|
"vue-template-compiler": "^2.5.17" |
|
|
|
|
|
}, |
|
|
|
|
|
"postcss": { |
|
|
|
|
|
"plugins": { |
|
|
|
|
|
"autoprefixer": {} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"browserslist": [ |
|
|
|
|
|
"> 1%", |
|
|
|
|
|
"last 2 versions", |
|
|
|
|
|
"not ie <= 8" |
|
|
|
|
|
], |
|
|
|
|
|
"jest": { |
|
|
|
|
|
"moduleFileExtensions": [ |
|
|
|
|
|
"js", |
|
|
|
|
|
"jsx", |
|
|
|
|
|
"json", |
|
|
|
|
|
"vue", |
|
|
|
|
|
"ts", |
|
|
|
|
|
"tsx" |
|
|
|
|
|
], |
|
|
|
|
|
"transform": { |
|
|
|
|
|
"^.+\\.vue$": "vue-jest", |
|
|
|
|
|
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub", |
|
|
|
|
|
"^.+\\.tsx?$": "ts-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/" |
|
|
|
|
|
}, |
|
|
|
|
|
"gitHooks": { |
|
|
|
|
|
"pre-commit": "lint-staged" |
|
|
|
|
|
}, |
|
|
|
|
|
"lint-staged": { |
|
|
|
|
|
"*.ts": [ |
|
|
|
|
|
"vue-cli-service lint", |
|
|
|
|
|
"git add" |
|
|
|
|
|
], |
|
|
|
|
|
"*.vue": [ |
|
|
|
|
|
"vue-cli-service lint", |
|
|
|
|
|
"git add" |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
} |