124 lines
4.3 KiB
JSON
124 lines
4.3 KiB
JSON
{
|
|
"name": "vue-ts-example-2025",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"_all": "run-p build-only format type-check lint",
|
|
"dev": "vite --port 4730 --host --strictPort",
|
|
"build": "run-p type-check \"build-only {@}\" --",
|
|
"build-only": "vite build",
|
|
"preview": "vite preview",
|
|
"preview:wrangler": "pnpm run build && wrangler dev",
|
|
"test:unit": "vitest",
|
|
"test:playwright": "playwright test",
|
|
"test:playwright:headless": "HEADLESS=true playwright test",
|
|
"test:playwright:ui": "playwright test --ui",
|
|
"test:playwright:chromium": "playwright test --project=chromium",
|
|
"type-check": "vue-tsc --build",
|
|
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
|
|
"lint:eslint": "eslint . --fix",
|
|
"_oxlint_cfg": "oxlint . --fix --ignore-path=.gitignore --print-config",
|
|
"__oxlint_-D": "oxlint . --fix --deny=correctness",
|
|
"lint": "run-s lint:*",
|
|
"format": "prettier --write src/",
|
|
"-wrangler:pages:deploy:preview": "wrangler pages deploy dist --project-name=vue-ts-example-2025 --branch=preview",
|
|
"-wrangler:pages:deploy:prod": "wrangler pages deploy dist --project-name=vue-ts-example-2025",
|
|
"-deploy:preview": "run-s build-only wrangler:pages:deploy:preview",
|
|
"-deploy:prod": "run-s build-only wrangler:pages:deploy:prod",
|
|
"wrangler:deploy": "pnpm run build && wrangler deploy",
|
|
"wrangler:versions:upload": "pnpm run build && wrangler versions upload",
|
|
"cf-typegen": "wrangler types",
|
|
"_dep:dedupe": "pnpm dedupe",
|
|
"_dep:update": "pnpm dlx taze major --interactive",
|
|
"_sizecheck:Treemap": "pnpm dlx vite-bundle-visualizer -t treemap",
|
|
"_sizecheck:Sunburst": "pnpm dlx vite-bundle-visualizer -t sunburst",
|
|
"_sizecheck:Network": "pnpm dlx vite-bundle-visualizer -t network",
|
|
"_knip": "pnpm dlx knip",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"{src,e2e}/**/*.{js,jsx,ts,tsx,vue}": [
|
|
"prettier --write",
|
|
"eslint --fix",
|
|
"oxlint --fix"
|
|
]
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite": "$vite"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@commitlint/cli": "^19.8.1",
|
|
"@commitlint/config-conventional": "^19.8.1",
|
|
"@formkit/auto-animate": "^0.9.0",
|
|
"@pinia/colada": "^0.17.3",
|
|
"@primeuix/themes": "^1.2.3",
|
|
"@unhead/vue": "^2.0.14",
|
|
"@vueuse/core": "^13.9.0",
|
|
"pinia": "^3.0.3",
|
|
"pinia-plugin-persistedstate": "^4.5.0",
|
|
"primelocale": "^2.1.7",
|
|
"primevue": "^4.3.9",
|
|
"utils4u": "^4.2.3",
|
|
"vue": "^3.5.21",
|
|
"vue-i18n": "^11.1.12",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "^1.12.3",
|
|
"@commitlint/types": "^19.8.1",
|
|
"@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",
|
|
"@tsconfig/node22": "^22.0.2",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@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",
|
|
"eslint": "^9.35.0",
|
|
"eslint-plugin-oxlint": "~1.14.0",
|
|
"eslint-plugin-playwright": "^2.2.2",
|
|
"eslint-plugin-vue": "~10.4.0",
|
|
"husky": "^9.1.7",
|
|
"jiti": "^2.5.1",
|
|
"jsdom": "^26.1.0",
|
|
"lint-staged": "^16.1.6",
|
|
"npm-run-all2": "^8.0.4",
|
|
"nprogress": "^0.2.0",
|
|
"oxlint": "~1.14.0",
|
|
"prettier": "3.6.2",
|
|
"rolldown": "1.0.0-beta.36",
|
|
"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.0.0",
|
|
"unplugin-vue-markdown": "^29.1.0",
|
|
"unplugin-vue-router": "^0.15.0",
|
|
"vite": "npm:rolldown-vite@^7.1.8",
|
|
"vite-plugin-checker": "^0.10.3",
|
|
"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.0",
|
|
"vite-plugin-webfont-dl": "^3.11.1",
|
|
"vitest": "^3.2.4",
|
|
"vue-macros": "3.0.0-beta.23",
|
|
"vue-tsc": "^3.0.6",
|
|
"wrangler": "^4.34.0"
|
|
}
|
|
}
|