UNPKG

vite-plugin-pages2

Version:

File system base vue-router plugin for Vite

119 lines (118 loc) 3.02 kB
{ "name": "vite-plugin-pages2", "type": "module", "version": "0.34.12", "packageManager": "pnpm@11.1.2", "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": "pnpm 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 || ^4.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.13", "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.16", "yaml": "^2.9.0" }, "devDependencies": { "@antfu/eslint-config": "^9.0.0", "@solidjs/router": "^0.16.1", "@types/micromatch": "^4.0.10", "@types/node": "^25.8.0", "@vitest/ui": "^4.1.6", "@vue/compiler-sfc": "^3.5.34", "baseline-browser-mapping": "^2.10.29", "bumpp": "^11.1.0", "eslint": "^10.3.0", "playwright": "^1.60.0", "react": "^19.2.6", "react-router": "^7.15.1", "solid-js": "^1.9.12", "tsup": "^8.5.1", "tsx": "^4.22.0", "typescript": "^6.0.3", "vite": "^8.0.13", "vitest": "^4.1.6", "vue": "^3.5.34", "vue-router": "^5.0.7" } }