加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2022-09-02 10:49 . 🌟feat(1): 1
{
"name": "my-vue-app",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,vue,md,json}'",
"web-norm": "web-norm",
"prepare": "husky install",
"pre-commit": "lint-staged",
"postinstallmac": "git config core.hooksPath .husky && chmod 700 .husky/*",
"eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,js,tsx}\" --fix",
"commit": "git add . && git-cz"
},
"dependencies": {
"axios": "^0.27.2",
"pinia": "^2.0.18",
"vant": "^3.5.4",
"vue": "^3.2.37",
"vue-router": "^4.0.0"
},
"devDependencies": {
"@types/node": "^18.7.1",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.30.7",
"@vitejs/plugin-vue": "^3.0.0",
"@vitejs/plugin-vue-jsx": "^2.0.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.2.0",
"less": "^4.1.3",
"postcss-px-to-viewport": "^1.1.1",
"prettier": "^2.7.1",
"typescript": "^4.5.2",
"unplugin-vue-components": "^0.22.4",
"vite": "^3.0.0",
"vue-tsc": "^0.38.4",
"web-norm": "^1.0.24",
"eslint-friendly-formatter": "^4.0.1",
"eslint-plugin-html": "^6.2.0",
"husky": "^8.0.1",
"lint-staged": "^12.4.1",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-angular": "^17.0.3",
"commitizen": "^4.2.4",
"cz-customizable": "^6.9.0",
"@commitlint/cz-commitlint": "^17.0.3"
},
"lint-staged": {
"*.{js,ts,vue,jsx,tsx}": [
"npm run eslint"
],
"*.{js,jsx,ts,tsx,md,html,css,lees,scss,sass}": "prettier --write"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化