create-vvt
Version:
一个基于 Vite + Vue3 + TypeScript/JavaScript 的项目模板脚手架
122 lines (121 loc) • 3.64 kB
JSON
{
"name": "vite-vue3-js-cli",
"version": "0.1.0",
"type": "module",
"description": "一个基于 Vite + Vue3 + JavaScript 的项目模板",
"scripts": {
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
"svgo": "svgo -f . -r",
"build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build --mode development",
"build:prod": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build --mode production",
"report": "rimraf dist && vite build",
"preview": "vite preview",
"preview:build": "pnpm build && vite preview",
"clean:cache": "rimraf .eslintcache && rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,viteConfig,lib}/**/*.{vue,js,jsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,json,css,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache-location node_modules/.cache/stylelint/",
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
"commitlint": "commitlint --config commitlint.config.ts -e -V",
"prepare": "husky",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"dayjs": "^1.11.13",
"pinia": "^3.0.3",
"pinia-plugin-persistedstate": "^4.4.1",
"vue": "^3.5.18",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.32.0",
"@tailwindcss/vite": "^4.1.11",
"@vitejs/plugin-vue": "^5.2.4",
"autoprefixer": "^10.4.21",
"eslint": "^9.32.0",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-vue": "^9.33.0",
"globals": "^15.15.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"postcss-html": "^1.8.0",
"postcss-pxtorem": "^6.1.0",
"prettier": "3.3.3",
"rimraf": "^6.0.1",
"sass-embedded": "^1.90.0",
"stylelint": "^16.23.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^5.1.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-config-standard-vue": "^1.0.0",
"svgo": "^4.0.0",
"tailwindcss": "^4.1.11",
"unplugin-auto-import": "^0.18.6",
"unplugin-vue-components": "^0.27.5",
"vite": "^5.4.19",
"vite-plugin-compression2": "^2.2.0",
"vite-plugin-eslint2": "^5.0.4",
"vite-plugin-minipic": "^1.3.1",
"vite-svg-loader": "^5.1.0"
},
"keywords": [
"Vite",
"Vue3",
"JavaScript",
"tailwindcss",
"Web"
],
"homepage": "https://github.com/star-devil/vite-vue3-ts-cli",
"repository": {
"type": "git",
"url": "git+https://github.com/star-devil/vite-vue3-ts-cli.git"
},
"bugs": {
"url": "https://github.com/star-devil/vite-vue3-ts-cli/issues"
},
"license": "MIT",
"author": {
"name": "star-devil",
"url": "https://github.com/star-devil"
},
"engines": {
"node": ">=21",
"pnpm": ">=9.15.4"
},
"browserslist": [
"> 1%",
"not ie 11",
"not op_mini all",
"not dead"
],
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"*.vue": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"pnpm": {
"ignoredBuiltDependencies": [
"@tailwindcss/oxide"
]
}
}