UNPKG

vite-plugin-pages2

Version:

File system base vue-router plugin for Vite

136 lines (135 loc) 3.6 kB
{ "name": "vite-plugin-pages2", "type": "module", "version": "0.34.2", "packageManager": "pnpm@10.13.1", "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": "esno 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 || ^6.0.0 || ^7.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.1", "dequal": "^2.0.3", "extract-comments": "^1.1.0", "json5": "^2.2.3", "local-pkg": "^1.1.1", "micromatch": "^4.0.8", "picocolors": "^1.1.1", "tinyglobby": "^0.2.14", "yaml": "^2.8.0" }, "devDependencies": { "@antfu/eslint-config": "^4.17.0", "@antfu/utils": "^9.2.0", "@solidjs/router": "^0.15.3", "@types/micromatch": "^4.0.9", "@types/node": "^24.0.14", "@vitest/ui": "^3.2.4", "@vue/compiler-sfc": "^3.5.17", "bumpp": "^10.2.0", "eslint": "^9.31.0", "esno": "^4.8.0", "playwright": "^1.54.1", "react": "^19.1.0", "react-router": "^7.6.3", "solid-js": "^1.9.7", "tsup": "^8.5.0", "typescript": "^5.8.3", "vite": "^7.0.4", "vitest": "^3.2.4", "vue": "^3.5.17", "vue-router": "^4.5.1" }, "pnpm": { "peerDependencyRules": { "allowedVersions": { "eslint": "*" } }, "overrides": { "array-flatten": "npm:@nolyfill/array-flatten@^1.0.44", "is-core-module": "npm:@nolyfill/is-core-module@^1.0.39", "safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.44", "safer-buffer": "npm:@nolyfill/safer-buffer@^1.0.44", "side-channel": "npm:@nolyfill/side-channel@^1.0.44" }, "onlyBuiltDependencies": [ "esbuild" ] } }