Skip to content

Commit 591d5c9

Browse files
committed
Build everything into the package root
1 parent b376797 commit 591d5c9

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
node_modules
2-
lib
31
umd

.npmignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.babelrc
2+
.eslintrc
3+
.gitignore
4+
.npmignore
5+
karma.conf.js
6+
logo
7+
modules
8+
scripts
9+
tests.webpack.js
10+
webpack.config.js

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@
88
"Michael Jackson",
99
"Ryan Florence"
1010
],
11-
"main": "lib",
12-
"files": [
13-
"lib",
14-
"umd",
15-
"server"
16-
],
1711
"scripts": {
1812
"start": "echo 'Make sure to `cd website && npm install`' && cd website && npm start",
19-
"build-lib": "rimraf lib && babel ./modules -d lib --ignore '__tests__'",
13+
"build-lib": "babel ./modules -d . --ignore '__tests__'",
2014
"build-umd": "webpack modules/index.js umd/react-router.js",
2115
"build-min": "webpack -p modules/index.js umd/react-router.min.js",
2216
"build": "node ./scripts/build.js",
@@ -62,7 +56,6 @@
6256
"react-addons-test-utils": "^15.3.1",
6357
"react-dom": "^15.1.0",
6458
"readline-sync": "^1.4.4",
65-
"rimraf": "^2.5.2",
6659
"webpack": "^1.13.1",
6760
"webpack-dev-server": "^1.14.1"
6861
},

0 commit comments

Comments
 (0)