116 lines
2.8 KiB
JSON
116 lines
2.8 KiB
JSON
{
|
|
"name": "vite-plugin-pages",
|
|
"type": "module",
|
|
"version": "0.33.0",
|
|
"description": "File system base vue-router plugin for Vite",
|
|
"author": "hannoeru <me@hanlee.co>",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/hannoeru/vite-plugin-pages",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hannoeru/vite-plugin-pages"
|
|
},
|
|
"bugs": "https://github.com/hannoeru/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"
|
|
],
|
|
"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"
|
|
},
|
|
"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.0",
|
|
"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.12",
|
|
"yaml": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^4.11.0",
|
|
"@antfu/utils": "^9.1.0",
|
|
"@solidjs/router": "^0.15.3",
|
|
"@types/micromatch": "^4.0.9",
|
|
"@types/node": "^22.13.14",
|
|
"@vitest/ui": "^3.0.9",
|
|
"@vue/compiler-sfc": "^3.5.13",
|
|
"bumpp": "^10.1.0",
|
|
"eslint": "^9.23.0",
|
|
"esno": "^4.8.0",
|
|
"playwright": "^1.51.1",
|
|
"react": "^19.1.0",
|
|
"react-router": "^7.4.1",
|
|
"solid-js": "^1.9.5",
|
|
"tsup": "^8.4.0",
|
|
"typescript": "^5.8.2",
|
|
"vite": "^6.2.3",
|
|
"vitest": "^3.0.9",
|
|
"vue": "^3.5.13",
|
|
"vue-router": "^4.5.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "npm run build -- --watch --ignore-watch examples",
|
|
"build": "tsup",
|
|
"play": "pnpm --filter vue dev",
|
|
"play:react": "pnpm --filter react dev",
|
|
"release": "bumpp --commit --tag --push",
|
|
"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"
|
|
}
|
|
} |