UNPKG

react-history-switch

Version:

Self-hosted context-free Switch routing component for History.js library (React). The library was created to transfer navigation responsibility from a view into Mobx state container (MVC). Also can be used separately as a self-hosted router

76 lines (75 loc) 2.05 kB
{ "name": "react-history-switch", "version": "1.0.8", "description": "Self-hosted context-free Switch routing component for History.js library (React). The library was created to transfer navigation responsibility from a view into Mobx state container (MVC). Also can be used separately as a self-hosted router", "private": false, "author": { "name": "Petr Tripolsky", "email": "tripolskypetr@gmail.com", "url": "https://github.com/tripolskypetr" }, "funding": { "type": "individual", "url": "http://paypal.me/tripolskypetr" }, "license": "MIT", "homepage": "https://github.com/react-declarative/react-declarative", "keywords": [ "react", "router", "route", "routing", "mobx", "observable", "history", "location", "search-params", "url-search-params", "url-search-params-extended", "history", "link", "switch" ], "repository": "https://github.com/tripolskypetr/react-history-switch", "main": "dist/index.js", "module": "dist/index.modern.js", "source": "src/index.ts", "types": "dist/index.d.ts", "engines": { "node": ">=10" }, "scripts": { "build": "microbundle --no-compress --format modern,cjs --jsx React.createElement && npm run typedef", "typedef": "node dts.js" }, "peerDependencies": { "react": ">= 16.8.0 <= 18.2.0", "react-dom": ">= 16.8.0 <= 18.2.0" }, "devDependencies": { "@types/react": "18.2.0", "@types/react-dom": "18.2.0", "react": "18.0.0", "react-dom": "18.0.0", "dts-bundle": "0.7.3", "microbundle": "0.13.0", "prettier": "2.0.4", "react-scripts": "4.0.3", "typescript": "3.7.5" }, "files": [ "dist" ], "dependencies": { "@types/uuid": "8.3.4", "history": "5.0.1", "path-to-regexp": "6.2.0", "uuid": "8.3.2" }, "licenses": [ { "type": "MIT", "url": "https://github.com/tripolskypetr/react-declarative#license" } ] }