UNPKG

@orca-fe/vite-plugin-react-convention-routes

Version:
59 lines 1.63 kB
{ "name": "@orca-fe/vite-plugin-react-convention-routes", "version": "0.0.11", "type": "module", "description": "A vite plugin for react convention routes", "keywords": [ "react", "convention", "routes", "convention-routes", "vite", "plugin", "umi" ], "author": "NicoKam", "license": "MIT", "types": "lib/index.d.ts", "main": "lib/index.js", "files": [ "dist", "typing.d.ts", "es", "lib", "routes.d.ts", "routes.js" ], "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "repository": { "type": "git", "url": "https://github.com/orca-team/vite-plugins/tree/master/packages/vite-plugin-react-convention-routes" }, "dependencies": { "chokidar": "^3.5.3", "esbuild": "^0.19.2", "fast-glob": "^3.3.1", "tslib": "^2.5.2" }, "peerDependencies": { "react": ">=16.8.0", "react-router-dom": ">=6.0.0", "vite": ">=3.0.0" }, "devDependencies": { "@types/react": "^18.2.7", "jss": "^10.10.0", "react-router": "^6.15.0", "rimraf": "^5.0.1" }, "scripts": { "build": "npm run clear && npm run build-esbuild && npm run build-tsc || echo 'Done.'", "build-tsc": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir lib src/index.ts", "build-esbuild": "esbuild --bundle --platform=node --target=node12 --external:react --external:react-router-dom --external:vite --external:fast-glob --external:chokidar --external:tslib --format=esm --outdir=lib src/index.ts", "test": "jest --passWithNoTests", "clear": "rimraf lib es" } }