UNPKG

vite-plugin-pages2

Version:

File system base vue-router plugin for Vite

119 lines (118 loc) 3.11 kB
{ "name": "vite-plugin-pages2", "type": "module", "version": "0.34.8", "packageManager": "pnpm@10.27.0", "description": "File system base vue-router plugin for Vite", "author": "wuc656 <wuc656@gmail.com>, hannoeru <me@hanlee.co>", "license": "MIT", "homepage": "https://github.com/wuc656/vite-plugin-pages", "repository": { "type": "git", "url": "git+https://github.com/wuc656/vite-plugin-pages.git" }, "bugs": "https://github.com/wuc656/vite-plugin-pages/issues", "keywords": [ "vite", "vue", "vue-router", "react", "react-router", "solid-js", "@solidjs/router", "file-system-based", "routing" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./client": { "types": "./client.d.ts" }, "./client-react": { "types": "./client-react.d.ts" }, "./client-solid": { "types": "./client-solid.d.ts" } }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "LICENSE", "client-react.d.ts", "client-solid.d.ts", "client.d.ts", "dist" ], "scripts": { "dev": "npm run build -- --watch --ignore-watch examples", "build": "tsup", "play": "pnpm --filter vue dev", "play:react": "pnpm --filter react dev", "prepublishOnly": "npm run build", "release": "bumpp --commit --tag --push && npm publish", "publish:ci": "tsx scripts/publish.ts", "test": "vitest", "test:e2e": "vitest -c vitest.config.e2e.ts", "test:ui": "vitest --ui", "lint": "eslint .", "lint:fix": "eslint . --fix", "type-check": "tsc --noEmit" }, "peerDependencies": { "@vue/compiler-sfc": "^2.7.0 || ^3.0.0", "vite": "^2.0.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 || ^8.0.0-0" }, "peerDependenciesMeta": { "@solidjs/router": { "optional": true }, "@vue/compiler-sfc": { "optional": true }, "react-router": { "optional": true }, "vue-router": { "optional": true } }, "dependencies": { "@types/debug": "^4.1.12", "debug": "^4.4.3", "dequal": "^2.0.3", "extract-comments": "^1.1.0", "json5": "^2.2.3", "local-pkg": "^1.1.2", "micromatch": "^4.0.8", "picocolors": "^1.1.1", "tinyglobby": "^0.2.15", "yaml": "^2.8.2" }, "devDependencies": { "@antfu/eslint-config": "^6.7.3", "@antfu/utils": "^9.3.0", "@solidjs/router": "^0.15.4", "@types/micromatch": "^4.0.10", "@types/node": "^25.0.3", "@vitest/ui": "^4.0.16", "@vue/compiler-sfc": "^3.5.26", "bumpp": "^10.3.2", "eslint": "^9.39.2", "playwright": "^1.57.0", "react": "^19.2.3", "react-router": "^7.11.0", "solid-js": "^1.9.10", "tsup": "^8.5.1", "tsx": "^4.21.0", "typescript": "^5.9.3", "vite": "^7.3.0", "vitest": "^4.0.16", "vue": "^3.5.26", "vue-router": "^4.6.4" } }