You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.8 KiB
94 lines
2.8 KiB
{
|
|
"name": "vite-project",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"build-check": "run-p type-check \"build-only {@}\" --",
|
|
"preview": "vite preview",
|
|
"build": "vite build",
|
|
"type-check": "vue-tsc --build --force",
|
|
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
|
|
"eslint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx,.vue",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix",
|
|
"stylelint": "stylelint \"./**/*.{css,scss,sass,vue,html}\"",
|
|
"stylelint:fix": "stylelint \"./**/*.{css,scss,sass,vue,html}\" --fix",
|
|
"format": "prettier --write src/",
|
|
"commit": "git add . && git-cz",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"@better-scroll/core": "^2.5.1",
|
|
"@better-scroll/observe-image": "^2.5.1",
|
|
"@better-scroll/scroll-bar": "^2.5.1",
|
|
"@sentry/integrations": "^7.102.0",
|
|
"@sentry/vue": "^7.102.0",
|
|
"@vueuse/core": "^10.8.0",
|
|
"animate.css": "^4.1.1",
|
|
"axios": "^1.6.7",
|
|
"lodash-es": "^4.17.21",
|
|
"lottie-web": "^5.12.2",
|
|
"pinia": "^2.1.7",
|
|
"swiper": "^11.1.1",
|
|
"vue": "^3.4.15",
|
|
"vue-i18n": "^9.9.1",
|
|
"vue-router": "^4.2.5",
|
|
"vue3-lazyload": "^0.3.8"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^18.6.1",
|
|
"@commitlint/config-conventional": "^18.6.2",
|
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
"@tsconfig/node20": "^20.1.2",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.11.10",
|
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"autoprefixer": "^10.4.17",
|
|
"commitizen": "^4.3.0",
|
|
"cz-git": "^1.8.0",
|
|
"eslint": "^8.49.0",
|
|
"eslint-plugin-vue": "^9.17.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.2",
|
|
"mrm": "^0.1.2",
|
|
"npm-run-all2": "^6.1.1",
|
|
"pinia-logger": "^1.3.12",
|
|
"postcss": "^8.4.35",
|
|
"postcss-html": "^1.6.0",
|
|
"postcss-px-to-viewport-8-plugin": "^1.2.3",
|
|
"postcss-scss": "^4.0.9",
|
|
"prettier": "^3.0.3",
|
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
"sass": "^1.71.1",
|
|
"stylelint": "^16.2.1",
|
|
"stylelint-config-recommended-scss": "^14.0.0",
|
|
"stylelint-config-standard": "^36.0.0",
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
"stylelint-order": "^6.0.4",
|
|
"stylelint-scss": "^6.1.0",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "~5.3.0",
|
|
"vite": "^5.0.11",
|
|
"vue-tsc": "^1.8.27"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-git"
|
|
}
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,jsx,ts,tsx}": "eslint --cache --fix",
|
|
"*.{vue,scss,ts,tsx,css}": "stylelint --fix",
|
|
"*.src/": "prettier --write"
|
|
}
|
|
}
|
|
|