Skip to content

Commit b27aab9

Browse files
David BraunDavid Braun
authored andcommitted
Fix babel part of build script.
1 parent dff2fc8 commit b27aab9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
lib
12
node_modules

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "immutable-proxy",
33
"version": "0.0.1",
44
"description": "access immutable values more easily",
5-
"main": "index.js",
5+
"main": "lib/index.js",
66
"peerDependencies": {
77
"immutable": "^3.7.6"
88
},
@@ -19,7 +19,7 @@
1919
},
2020
"scripts": {
2121
"test": "mocha tests --compilers js:babel-register --recursive --harmony_shipping ",
22-
"build": "babel src/index.js --out-file index.js && npm run build-umd && npm run build-min",
22+
"build": "babel src -d lib && npm run build-umd && npm run build-min",
2323
"build-umd": "NODE_ENV=production webpack src/index.js umd/index.js",
2424
"build-min": "NODE_ENV=production webpack -p src/index.js umd/index.min.js"
2525
},

0 commit comments

Comments
 (0)