{"action":"opened","issue":{"url":"https://api.github.com/repos/bitcoinjs/pushdata-bitcoin/issues/6","repository_url":"https://api.github.com/repos/bitcoinjs/pushdata-bitcoin","labels_url":"https://api.github.com/repos/bitcoinjs/pushdata-bitcoin/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/pushdata-bitcoin/issues/6/comments","events_url":"https://api.github.com/repos/bitcoinjs/pushdata-bitcoin/issues/6/events","html_url":"https://github.com/bitcoinjs/pushdata-bitcoin/issues/6","id":395747959,"node_id":"MDU6SXNzdWUzOTU3NDc5NTk=","number":6,"title":"prepublish deprecated","user":{"login":"MSFTserver","id":18357967,"node_id":"MDQ6VXNlcjE4MzU3OTY3","avatar_url":"https://avatars1.githubusercontent.com/u/18357967?v=4","gravatar_id":"","url":"https://api.github.com/users/MSFTserver","html_url":"https://github.com/MSFTserver","followers_url":"https://api.github.com/users/MSFTserver/followers","following_url":"https://api.github.com/users/MSFTserver/following{/other_user}","gists_url":"https://api.github.com/users/MSFTserver/gists{/gist_id}","starred_url":"https://api.github.com/users/MSFTserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSFTserver/subscriptions","organizations_url":"https://api.github.com/users/MSFTserver/orgs","repos_url":"https://api.github.com/users/MSFTserver/repos","events_url":"https://api.github.com/users/MSFTserver/events{/privacy}","received_events_url":"https://api.github.com/users/MSFTserver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T22:30:21Z","updated_at":"2019-01-03T22:30:21Z","closed_at":null,"author_association":"NONE","body":"prepublish script has been deprecated going forward we should use either of the new scripts\n\n`prepare` - Run both BEFORE the package is packed and published, on local `npm install` without any arguments, and when installing git dependencies\n\n`prepublishOnly` - Run BEFORE the package is prepared and packed, ONLY on `npm publish`\n\n\n### Deprecation Note\nSince npm 1.1.71, the npm CLI has run the prepublish script for both `npm publish` and `npm install`, because it’s a convenient way to prepare a package for use (some common use cases are described in the section below). It has also turned out to be, in practice, very confusing. As of npm 4.0.0, a new event has been introduced, `prepare`, that preserves this existing behavior. A newevent, `prepublishOnly` has been added as a transitional strategy to allow users to avoid the confusing behavior of existing npm versions and only run on `npm publish` (for instance, running the tests one last time to ensure they’re in good shape).\n\n_Sent from my Galaxy Note5 using [FastHub](https://play.google.com/store/apps/details?id=com.fastaccess.github)_"}}
{"actor":{"display_login":"MSFTserver"}}