55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"name": "vue3-realworld-example-app",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint --ext .ts,.vue src",
|
|
"test:e2e": "cypress run"
|
|
},
|
|
"dependencies": {
|
|
"vue": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/parser": "^4.2.0",
|
|
"@vue/compiler-sfc": "^3.0.0-rc.1",
|
|
"cypress": "^5.3.0",
|
|
"eslint": "^7.10.0",
|
|
"eslint-plugin-vue": "^7.0.0-beta.4",
|
|
"husky": "^4.3.0",
|
|
"lint-staged": "^10.4.0",
|
|
"typescript": "^4.0.3",
|
|
"vite": "^1.0.0-rc.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,vue}": "eslint --fix"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "vue-eslint-parser",
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"sourceType": "module"
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:vue/vue3-recommended"
|
|
],
|
|
"rules": {
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
]
|
|
}
|
|
}
|
|
}
|