chore: add build configuration
Showing
.gitignore
0 → 100755
modules/.babelrc
0 → 100755
File moved
File moved
modules/__tests__/.eslintrc
0 → 100755
modules/__tests__/MemoryRouter-test.js
0 → 100755
modules/__tests__/Redirect-test.js
0 → 100755
modules/__tests__/Route-test.js
0 → 100755
This diff is collapsed.
Click to expand it.
modules/__tests__/Router-test.js
0 → 100755
modules/__tests__/StaticRouter-test.js
0 → 100755
modules/__tests__/Switch-test.js
0 → 100755
modules/__tests__/SwitchMount-test.js
0 → 100755
modules/__tests__/generatePath-test.js
0 → 100755
modules/__tests__/integration-test.js
0 → 100755
modules/__tests__/matchPath-test.js
0 → 100755
modules/__tests__/withRouter-test.js
0 → 100755
modules/index.js
0 → 100644
modules/matchPath.js
0 → 100755
package-lock.json
0 → 100755
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
package.json
0 → 100755
{ | ||
"name": "react-router", | ||
"version": "4.3.0-rc.3", | ||
"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, | ||
"scripts": { | ||
"build": "node ./tools/build.js", | ||
"watch": "babel ./modules -d . --ignore __tests__ --watch", | ||
"prepublishOnly": "node ./tools/build.js", | ||
"clean": "git clean -fdX .", | ||
"lint": "eslint modules", | ||
"test": "jest" | ||
}, | ||
"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": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^8.2.3", | ||
"babel-jest": "^22.4.3", | ||
"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.11.0", | ||
"eslint-plugin-react": "^7.7.0", | ||
"gzip-size": "^4.1.0", | ||
"jest": "^22.4.3", | ||
"pretty-bytes": "^4.0.2", | ||
"raf": "^3.4.0", | ||
"react": "^16.3.2", | ||
"react-addons-test-utils": "^15.6.2", | ||
"react-dom": "^16.3.2", | ||
"rollup": "^0.58.2", | ||
"rollup-plugin-babel": "^3.0.4", | ||
"rollup-plugin-commonjs": "^9.1.0", | ||
"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" | ||
] | ||
}, | ||
"keywords": [ | ||
"react", | ||
"router", | ||
"route", | ||
"routing", | ||
"history", | ||
"link" | ||
] | ||
} |
rollup.config.js
0 → 100755
tools/babel-preset.js
0 → 100755
tools/build.js
0 → 100755
Please
register
or
sign in
to comment