154 lines
5.0 KiB
JSON
154 lines
5.0 KiB
JSON
{
|
|
"packageManager": "pnpm@10.18.3",
|
|
"name": "vue-ts-example-2025",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"_all": "run-s build-only lint format:prettier type-check test:unit:DisableWatch",
|
|
"dev": "vite --port 4730 --host --strictPort",
|
|
"build": "run-p type-check \"build-only {@}\" --",
|
|
"build-only": "vite build",
|
|
"preview": "vite preview --port 4731 --host --strictPort",
|
|
"wrangler:dev": "wrangler dev --port 4732",
|
|
"format:prettier": "prettier --write src/",
|
|
"type-check": "vue-tsc --build",
|
|
"lint": "run-s lint:*",
|
|
"lint:vue-i18n-extract": "vue-i18n-extract report --vueFiles './src/**/*.?(ts|tsx|vue)' --languageFiles './src/locales/**/*.?(json|yml|yaml|js)' --ci",
|
|
"lint:stylelint": "stylelint --fix --ignore-path .gitignore \"**/*.{css,less,scss,vue}\"",
|
|
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
|
|
"lint:eslint": "eslint . --fix",
|
|
"test:unit:DisableWatch": "vitest --run",
|
|
"test:playwright:headless": "HEADLESS=true playwright test --quiet",
|
|
"postinstall": "wrangler types",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"{src,e2e}/**/*.{js,jsx,ts,tsx,vue}": [
|
|
"eslint --fix",
|
|
"oxlint --fix",
|
|
"prettier --write"
|
|
],
|
|
"{src,packages}/**/*.{css,less,scss,vue}": [
|
|
"stylelint --fix"
|
|
],
|
|
"{src/locales-utils,src/locales}/**/*": "node scripts/type-check-for-lint-staged.mjs"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vue-tsc": "$vue-tsc"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@parcel/watcher",
|
|
"esbuild",
|
|
"oxc-resolver",
|
|
"sharp",
|
|
"vue-demi",
|
|
"workerd"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@commitlint/cli": "^20.0.0",
|
|
"@commitlint/config-conventional": "^20.0.0",
|
|
"@formkit/auto-animate": "^0.9.0",
|
|
"@pinia/colada": "^0.17.4",
|
|
"@primeuix/themes": "^1.2.3",
|
|
"@sa/materials": "workspace:*",
|
|
"@unhead/vue": "^2.0.14",
|
|
"@vueuse/core": "^13.9.0",
|
|
"highlight.js": "^11.11.1",
|
|
"lodash-es": "^4.17.21",
|
|
"naive-ui": "^2.43.1",
|
|
"pinia": "^3.0.3",
|
|
"primeicons": "^7.0.0",
|
|
"primelocale": "^2.1.7",
|
|
"primevue": "^4.3.9",
|
|
"ts-enum-util": "^4.1.0",
|
|
"utils4u": "^4.2.3",
|
|
"vue": "^3.5.21",
|
|
"vue-i18n": "^11.1.12",
|
|
"vue-memoize-dict": "^1.1.3",
|
|
"vue-router": "^4.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "^1.13.2",
|
|
"@commitlint/types": "^20.0.0",
|
|
"@iconify-json/carbon": "^1.2.13",
|
|
"@iconify-json/clarity": "^1.2.4",
|
|
"@iconify-json/line-md": "^1.2.11",
|
|
"@iconify-json/material-symbols": "^1.2.42",
|
|
"@intlify/unplugin-vue-i18n": "^11.0.0",
|
|
"@playwright/test": "^1.55.0",
|
|
"@prettier/plugin-oxc": "^0.0.4",
|
|
"@primevue/auto-import-resolver": "^4.3.9",
|
|
"@primevue/metadata": "^4.3.9",
|
|
"@stylelint-types/stylelint-order": "^7.0.0",
|
|
"@stylelint-types/stylelint-scss": "^6.11.0",
|
|
"@tsconfig/node22": "^22.0.2",
|
|
"@types/html-minifier-terser": "^7.0.2",
|
|
"@types/jsdom": "^27.0.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^22.18.1",
|
|
"@vant/auto-import-resolver": "^1.3.0",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vitejs/plugin-vue-jsx": "^5.1.1",
|
|
"@vitest/eslint-plugin": "^1.3.9",
|
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"@vue/tsconfig": "^0.8.1",
|
|
"consola": "^3.4.2",
|
|
"eslint": "^9.35.0",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-oxlint": "~1.23.0",
|
|
"eslint-plugin-playwright": "^2.2.2",
|
|
"eslint-plugin-vue": "~10.5.0",
|
|
"happy-dom": "^20.0.1",
|
|
"html-minifier-terser": "^7.2.0",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^27.0.0",
|
|
"lint-staged": "^16.1.6",
|
|
"npm-run-all2": "^8.0.4",
|
|
"nprogress": "^0.2.0",
|
|
"oxlint": "~1.23.0",
|
|
"postcss-html": "^1.8.0",
|
|
"prettier": "3.6.2",
|
|
"rollup": "^4.52.5",
|
|
"sass-embedded": "^1.93.2",
|
|
"sharp": "^0.34.4",
|
|
"stylelint": "^16.25.0",
|
|
"stylelint-config-recess-order": "^7.3.0",
|
|
"stylelint-config-standard": "^39.0.1",
|
|
"stylelint-config-standard-scss": "^16.0.0",
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
"stylelint-define-config": "^16.24.0",
|
|
"svgo": "^4.0.0",
|
|
"tinyglobby": "^0.2.15",
|
|
"type-fest": "^5.1.0",
|
|
"typescript": "~5.9.2",
|
|
"unocss": "^66.5.1",
|
|
"unocss-preset-animations": "^1.2.1",
|
|
"unplugin-auto-import": "^20.1.0",
|
|
"unplugin-icons": "^22.2.0",
|
|
"unplugin-vue-components": "^29.2.0",
|
|
"unplugin-vue-markdown": "^29.2.0",
|
|
"unplugin-vue-router": "^0.16.0",
|
|
"vite": "^7.1.5",
|
|
"vite-plugin-checker": "^0.11.0",
|
|
"vite-plugin-fake-server": "^2.2.0",
|
|
"vite-plugin-image-optimizer": "^2.0.2",
|
|
"vite-plugin-vue-devtools": "^8.0.1",
|
|
"vite-plugin-vue-meta-layouts": "^0.6.1",
|
|
"vite-plugin-webfont-dl": "^3.11.1",
|
|
"vitest": "^3.2.4",
|
|
"vue-component-type-helpers": "^3.1.2",
|
|
"vue-i18n-extract": "^2.0.7",
|
|
"vue-macros": "3.1.1",
|
|
"vue-tsc": "^3.1.0",
|
|
"wrangler": "^4.37.1"
|
|
}
|
|
}
|