Skip to content

Commit

Permalink
Move the ES modules build where it belongs (#3670)
Browse files Browse the repository at this point in the history
  • Loading branch information
taion authored and timdorr committed Jul 26, 2016
1 parent a3507b7 commit 38b45b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"files": [
"*.md",
"docs",
"es6",
"es",
"lib",
"umd"
],
"main": "lib/index",
"jsnext:main": "es6/index",
"jsnext:main": "es/index",
"repository": "reactjs/react-router",
"homepage": "https://github.com/reactjs/react-router#readme",
"bugs": "https://github.com/reactjs/react-router/issues",
"scripts": {
"build": "npm run build-cjs && npm run build-es",
"build-cjs": "rimraf lib && cross-env BABEL_ENV=cjs babel ./modules -d lib --ignore '__tests__'",
"build-es": "rimraf es6 && cross-env BABEL_ENV=es babel ./modules -d es6 --ignore '__tests__'",
"build-es": "rimraf es && cross-env BABEL_ENV=es babel ./modules -d es --ignore '__tests__'",
"build-umd": "cross-env BABEL_ENV=cjs NODE_ENV=development webpack modules/index.js umd/ReactRouter.js",
"build-min": "cross-env BABEL_ENV=cjs NODE_ENV=production webpack -p modules/index.js umd/ReactRouter.min.js",
"lint": "eslint modules examples *.js",
Expand Down

0 comments on commit 38b45b3

Please sign in to comment.