Skip to content

Commit 85f7820

Browse files
committed
feat(scripts): Use NPM path resolution over custom paths to binaries
1 parent 722a53e commit 85f7820

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"main": "./lib/index.js",
66
"scripts": {
77
"build": "npm run build:lib && npm run build:min && npm run build:max",
8-
"build:lib": "rm -rf lib && `npm bin`/babel src --out-dir lib",
9-
"build:min": "./node_modules/.bin/webpack --optimize-minimize lib/index.js dist/ng-redux.min.js",
10-
"build:max": "./node_modules/.bin/webpack lib/index.js dist/ng-redux.js",
8+
"build:lib": "rm -rf lib && babel src --out-dir lib",
9+
"build:min": "webpack --optimize-minimize lib/index.js dist/ng-redux.min.js",
10+
"build:max": "webpack lib/index.js dist/ng-redux.js",
1111
"test": "mocha --compilers js:babel-register --recursive"
1212
},
1313
"repository": {

0 commit comments

Comments
 (0)