mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 07:03:01 +08:00
135 lines
3.9 KiB
JSON
135 lines
3.9 KiB
JSON
{
|
|
"name": "vue-h5-template",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
"lint:lint-staged": "lint-staged",
|
|
"prepare": "husky install",
|
|
"deps": "yarn upgrade-interactive --latest",
|
|
"commit": "git add . && git-cz"
|
|
},
|
|
"dependencies": {
|
|
"@nutui/icons-vue": "^0.1.1",
|
|
"@nutui/nutui": "^4.1.0",
|
|
"@varlet/ui": "^2.12.2",
|
|
"@vueuse/core": "10.2.1",
|
|
"@vueuse/integrations": "10.2.1",
|
|
"axios": "1.4.0",
|
|
"dayjs": "^1.11.9",
|
|
"mitt": "^3.0.1",
|
|
"pinia": "^2.1.3",
|
|
"pinia-plugin-persistedstate": "^3.1.0",
|
|
"quarkd": "^1.0.70",
|
|
"universal-cookie": "^4.0.4",
|
|
"vant": "^4.6.2",
|
|
"vue": "^3.3.1",
|
|
"vue-i18n": "^9.2.2",
|
|
"vue-router": "^4.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.6.6",
|
|
"@commitlint/config-conventional": "^17.6.6",
|
|
"@vitejs/plugin-legacy": "^4.1.0",
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
"@vue/eslint-config-prettier": "^7.1.0",
|
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
"@vue/test-utils": "^2.4.0",
|
|
"@vue/tsconfig": "^0.4.0",
|
|
"amfe-flexible": "^2.2.1",
|
|
"autoprefixer": "^10.4.14",
|
|
"cnjm-postcss-px-to-viewport": "^1.0.0",
|
|
"consola": "^3.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"cz-git": "^1.7.0",
|
|
"czg": "^1.7.0",
|
|
"eruda": "^3.0.0",
|
|
"eslint": "^8.45.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-define-config": "^1.21.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-vue": "^9.15.1",
|
|
"git-cz": "^4.9.0",
|
|
"husky": "8.0.3",
|
|
"jsdom": "^22.1.0",
|
|
"lint-staged": "13.2.3",
|
|
"mockjs": "^1.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.26",
|
|
"postcss-html": "1.5.0",
|
|
"postcss-less": "^6.0.0",
|
|
"prettier": "^3.0.0",
|
|
"rollup-plugin-visualizer": "^5.9.1",
|
|
"stylelint": "^15.10.1",
|
|
"stylelint-config-property-sort-order-smacss": "^9.1.0",
|
|
"stylelint-config-recommended": "^13.0.0",
|
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
"stylelint-config-standard": "^34.0.0",
|
|
"stylelint-config-standard-scss": "^10.0.0",
|
|
"stylelint-order": "^6.0.3",
|
|
"stylelint-prettier": "^4.0.0",
|
|
"terser": "^5.19.0",
|
|
"typescript": "^5.1.6",
|
|
"unplugin-auto-import": "^0.16.6",
|
|
"unplugin-vue-components": "^0.25.1",
|
|
"vite": "^4.4.4",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-eruda": "^1.0.1",
|
|
"vite-plugin-imagemin": "^0.6.1",
|
|
"vite-plugin-mock": "^3.0.0",
|
|
"vite-plugin-pages": "^0.31.0",
|
|
"vite-plugin-progress": "^0.0.7",
|
|
"vite-plugin-restart": "^0.3.1",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vite-plugin-vue-setup-extend-plus": "^0.1.0",
|
|
"vitest": "^0.33.0",
|
|
"vue-eslint-parser": "^9.3.1",
|
|
"vue-tsc": "^1.8.5"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
"gifsicle": "5.2.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
|
"prettier --write--parser json"
|
|
],
|
|
"package.json": [
|
|
"prettier --write"
|
|
],
|
|
"*.vue": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"stylelint --fix"
|
|
],
|
|
"*.{scss,less,styl,html}": [
|
|
"stylelint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-git"
|
|
}
|
|
}
|
|
}
|