78 lines
1.8 KiB
JSON
78 lines
1.8 KiB
JSON
{
|
|
"name": "react-router",
|
|
"version": "4.3.1",
|
|
"description": "Declarative routing for React",
|
|
"repository": "ReactTraining/react-router",
|
|
"license": "MIT",
|
|
"authors": [
|
|
"Michael Jackson",
|
|
"Ryan Florence"
|
|
],
|
|
"files": [
|
|
"MemoryRouter.js",
|
|
"Prompt.js",
|
|
"Redirect.js",
|
|
"Route.js",
|
|
"Router.js",
|
|
"StaticRouter.js",
|
|
"Switch.js",
|
|
"es",
|
|
"index.js",
|
|
"generatePath.js",
|
|
"matchPath.js",
|
|
"withRouter.js",
|
|
"umd"
|
|
],
|
|
"main": "index.js",
|
|
"module": "es/index.js",
|
|
"sideEffects": false,
|
|
"peerDependencies": {
|
|
"react": ">=15"
|
|
},
|
|
"dependencies": {
|
|
"history": "^4.7.2",
|
|
"hoist-non-react-statics": "^2.5.0",
|
|
"invariant": "^2.2.4",
|
|
"loose-envify": "^1.3.1",
|
|
"path-to-regexp": "^1.7.0",
|
|
"prop-types": "^15.6.1",
|
|
"warning": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-eslint": "^8.2.3",
|
|
"babel-jest": "^23.0.1",
|
|
"babel-plugin-dev-expression": "^0.2.1",
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
|
|
"babel-preset-es2015": "^6.14.0",
|
|
"babel-preset-react": "^6.5.0",
|
|
"babel-preset-stage-1": "^6.5.0",
|
|
"eslint": "^4.19.1",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-react": "^7.9.1",
|
|
"gzip-size": "^4.1.0",
|
|
"jest": "^23.1.0",
|
|
"pretty-bytes": "^5.0.0",
|
|
"raf": "^3.4.0",
|
|
"react": "^16.4.0",
|
|
"react-addons-test-utils": "^15.6.2",
|
|
"react-dom": "^16.4.0",
|
|
"rollup": "^0.60.0",
|
|
"rollup-plugin-babel": "^3.0.4",
|
|
"rollup-plugin-commonjs": "^9.1.3",
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
|
"rollup-plugin-replace": "^2.0.0",
|
|
"rollup-plugin-uglify": "^3.0.0"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"raf/polyfill"
|
|
]
|
|
}
|
|
} |