react-router-4-compat
Version:
A wrapped version of react router 4 which compatible with react router 3
94 lines (93 loc) • 2.92 kB
JSON
{
"name": "react-router-4-compat",
"version": "1.0.8",
"description": "A wrapped version of react router 4 which compatible with react router 3",
"main": "cjs/index.js",
"module": "es/index.js",
"files": [
"cjs",
"es",
"umd"
],
"repository": {
"type": "git",
"url": "https://github.com/vipcxj/react-router-4-compat.git"
},
"license": "MIT",
"author": "Xiaojing Chen <vipcxj@126.com> (https://github.com/vipcxj)",
"bugs": {
"url": "https://github.com/vipcxj/react-router-4-compat/issues"
},
"scripts": {
"build": "node ./tools/build.js",
"prepublishOnly": "node ./tools/build.js",
"clean": "git clean -fdX .",
"lint": "eslint src stories",
"test": "jest",
"precommit": "npm run lint",
"storybook": "start-storybook -p 6006"
},
"peerDependencies": {
"react": ">=15",
"react-router": ">=4",
"prop-types": ">= 15"
},
"dependencies": {
"hoist-non-react-statics": "^2.5.0",
"react-async-wrapper": "^1.0.2",
"invariant": "^2.2.4"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.46",
"@babel/core": "^7.0.0-beta.46",
"@babel/helper-plugin-utils": "^7.0.0-beta.46",
"@babel/plugin-external-helpers": "^7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.46",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.46",
"@babel/polyfill": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"@babel/preset-react": "^7.0.0-beta.46",
"@storybook/addon-info": "^3.4.2",
"@storybook/react": "^3.4.2",
"@types/lodash": "^4.14.108",
"@types/prop-types": "^15.5.2",
"@types/react": "^16.3.12",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"gzip-size": "^4.1.0",
"history": "^4.7.2",
"lodash": "^4.17.5",
"pretty-bytes": "^4.0.2",
"prop-types": "^15.6.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"rollup": "^0.58.2",
"rollup-analyzer-plugin": "^1.1.1",
"rollup-plugin-babel": "^4.0.0-beta.4",
"rollup-plugin-closure-compiler-js": "^1.0.6",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.1.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^3.0.0"
},
"keywords": [
"react",
"react-router",
"react-router-4",
"react-router-3",
"react-router-v4",
"react-router-v3"
]
}