Skip to content

Commit

Permalink
Change prepare script to prepublishOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
tjaneczko committed Aug 14, 2018
1 parent 8512a0e commit c3ccd89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- `prepare` task to build the library
- `prepublishOnly` task to build the library
- `files` specifier in `package.json` to restrict which files are packaged

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"jsdoc": "jsdoc src -c jsdoc.conf.json --readme ./README.md",
"jsdoc:md": "jsdoc2md --files src/index.js > docs/API.md",
"jsdoc:all": "npm run jsdoc && npm run jsdoc:md",
"prepare": "npm run build"
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit c3ccd89

Please sign in to comment.