forked from zhongyidian/super_video
95 lines
1.9 KiB
JSON
95 lines
1.9 KiB
JSON
{
|
|
"name": "super_video",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src",
|
|
"fix": "eslint src --fix",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"vue": "^3.5.18",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.8.1",
|
|
"@commitlint/config-conventional": "^19.8.1",
|
|
"@types/node": "^24.3.3",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9.35.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-vue": "^10.4.0",
|
|
"globals": "^16.4.0",
|
|
"husky": "^9.1.7",
|
|
"jiti": "^2.5.1",
|
|
"lint-staged": "^16.1.6",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "^3.6.2",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.43.0",
|
|
"vite": "^7.1.2",
|
|
"vue-tsc": "^3.0.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,vue}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md,css,html}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
"feat",
|
|
"fix",
|
|
"docs",
|
|
"style",
|
|
"refactor",
|
|
"perf",
|
|
"test",
|
|
"build",
|
|
"ci",
|
|
"chore",
|
|
"revert"
|
|
]
|
|
],
|
|
"subject-case": [
|
|
2,
|
|
"never",
|
|
[
|
|
"sentence-case",
|
|
"start-case",
|
|
"pascal-case",
|
|
"upper-case"
|
|
]
|
|
],
|
|
"subject-max-length": [
|
|
2,
|
|
"always",
|
|
50
|
|
],
|
|
"body-max-line-length": [
|
|
2,
|
|
"always",
|
|
100
|
|
]
|
|
}
|
|
}
|
|
}
|