UNPKG

utquidem

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

102 lines (101 loc) 2.87 kB
{ "name": "@modern-js/plugin-router", "description": "The meta-framework suite designed from scratch for frontend-focused modern web development.", "homepage": "https://modernjs.dev", "bugs": "https://github.com/modern-js-dev/modern.js/issues", "repository": "modern-js-dev/modern.js", "license": "MIT", "keywords": [ "react", "framework", "modern", "modern.js" ], "version": "1.2.11", "jsnext:source": "./src/index.ts", "types": "./src/index.ts", "main": "./dist/js/node/runtime/index.js", "module": "./dist/js/treeshaking/runtime/index.js", "jsnext:modern": "./dist/js/modern/index.js", "exports": { ".": { "node": { "jsnext:source": "./src/runtime/index.ts", "import": "./dist/js/modern/runtime/index.js", "require": "./dist/js/node/runtime/index.js" }, "default": "./dist/js/treeshaking/runtime/index.js" }, "./runtime": { "jsnext:source": "./src/runtime/index.ts", "node": { "import": "./dist/js/modern/runtime/index.js", "require": "./dist/js/node/runtime/index.js" }, "default": "./dist/js/treeshaking/runtime/index.js" }, "./cli": { "jsnext:source": "./src/cli/index.ts", "default": "./dist/js/node/cli/index.js" } }, "typesVersions": { "*": { ".": [ "./dist/types/runtime/index.d.ts" ], "cli": [ "./dist/types/cli/index.d.ts" ], "runtime": [ "./dist/types/runtime/index.d.ts" ] } }, "scripts": { "prepare": "pnpm build", "prepublishOnly": "only-allow-pnpm && pnpm build -- --platform", "new": "modern new", "build": "modern build", "test": "jest" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8" }, "dependencies": { "@babel/runtime": "^7", "@modern-js/utils": "workspace:^1.6.0", "@types/history": "^4.7.9", "@types/react-router-dom": "^5.1.8", "history": "^4.7.9", "react-router-dom": "^5.1.2", "hoist-non-react-statics": "^3.3.2" }, "devDependencies": { "@modern-js/core": "workspace:*", "@modern-js/plugin": "workspace:*", "@modern-js/types": "workspace:*", "@modern-js/plugin-analyze": "workspace:*", "@modern-js/runtime-core": "workspace:*", "@testing-library/react": "^12.0.0", "@types/hoist-non-react-statics": "^3.3.1", "@types/jest": "^26", "@types/node": "^14", "@types/react": "^17", "@types/react-dom": "^17", "react": "^17", "react-dom": "^17", "ts-jest": "^27.0.4", "typescript": "^4", "@scripts/build": "workspace:*", "jest": "^27", "@scripts/jest-config": "workspace:*" }, "sideEffects": false, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public", "types": "./dist/types/runtime/index.d.ts" } }