Skip to content

Commit

Permalink
Allow library to be installed with yarn / npm
Browse files Browse the repository at this point in the history
The `prepublish` script does not run on `yarn` / `npm` install, so use a `postinstall` instead.
  • Loading branch information
Alex Weisberger authored Nov 13, 2017
1 parent 7354c66 commit ba274a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"main": "build/ng-infinite-scroll.js",
"browser": "build/ng-infinite-scroll.js",
"scripts": {
"postinstall": "grunt",
"prepublish": "grunt",
"test": "grunt test:protractor-local"
},
Expand Down

0 comments on commit ba274a7

Please sign in to comment.