unplugin-convention-routes
Version:
File system base router plugin for unplugin
103 lines (102 loc) • 2.38 kB
JSON
{
"name": "unplugin-convention-routes",
"type": "module",
"version": "0.1.0",
"packageManager": "pnpm@11.3.0",
"description": "File system base router plugin for unplugin",
"author": "liujiayii@foxmail.com",
"license": "MIT",
"homepage": "https://github.com/liujiayii/unplugin-convention-routes",
"repository": {
"type": "git",
"url": "https://github.com/liujiayii/unplugin-convention-routes"
},
"bugs": "https://github.com/liujiayii/unplugin-convention-routes/issues",
"keywords": [
"vite",
"vue",
"vue-router",
"react",
"react-router",
"rspack",
"file-system-based",
"routing"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./rspack": {
"import": "./dist/rspack.mjs",
"require": "./dist/rspack.cjs"
},
"./vite": {
"import": "./dist/vite.mjs",
"require": "./dist/vite.cjs"
},
"./client-react": {
"types": "./client-react.d.ts"
},
"./client-vue": {
"types": "./client-vue.d.ts"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"LICENSE",
"client-react.d.ts",
"client-vue.d.ts",
"dist"
],
"scripts": {
"dev": "tsdown --watch src",
"build": "tsdown",
"play": "pnpm --filter vue dev",
"play:react": "pnpm --filter react dev",
"prepublishOnly": "npm run build",
"release": "bumpp --commit --tag --push",
"test": "vitest",
"test:ui": "vitest --ui",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"vite": "*"
},
"peerDependenciesMeta": {
"react-router": {
"optional": true
},
"vite": {
"optional": true
},
"vue-router": {
"optional": true
}
},
"dependencies": {
"@antfu/utils": "^9.3.0",
"unplugin": "^3.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^9.0.0",
"@types/node": "^25.9.1",
"@vitest/ui": "^4.1.7",
"bumpp": "^11.1.0",
"eslint": "^10.4.0",
"esno": "^4.8.0",
"playwright": "^1.60.0",
"react": "^19.2.6",
"react-router": "^7.15.1",
"tsdown": "^0.22.0",
"typescript": "^6.0.3",
"vite": "^8.0.14",
"vitest": "^4.1.7",
"vue": "^3.5.34",
"vue-router": "^5.0.7"
}
}