Skip to content

Commit

Permalink
Merge pull request #146 from angular-redux/chore/update-npm-scripts
Browse files Browse the repository at this point in the history
feat(scripts): Use NPM path resolution over custom paths to binaries
  • Loading branch information
AntJanus authored Aug 8, 2017
2 parents 722a53e + 85f7820 commit 90abd7d
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,9 +5,9 @@
"main": "./lib/index.js",
"scripts": {
"build": "npm run build:lib && npm run build:min && npm run build:max",
"build:lib": "rm -rf lib && `npm bin`/babel src --out-dir lib",
"build:min": "./node_modules/.bin/webpack --optimize-minimize lib/index.js dist/ng-redux.min.js",
"build:max": "./node_modules/.bin/webpack lib/index.js dist/ng-redux.js",
"build:lib": "rm -rf lib && babel src --out-dir lib",
"build:min": "webpack --optimize-minimize lib/index.js dist/ng-redux.min.js",
"build:max": "webpack lib/index.js dist/ng-redux.js",
"test": "mocha --compilers js:babel-register --recursive"
},
"repository": {
Expand Down

0 comments on commit 90abd7d

Please sign in to comment.