Skip to content

Commit

Permalink
Merge branch 'master' into 820-add-prepublish-script
Browse files Browse the repository at this point in the history
  • Loading branch information
developit authored Aug 24, 2017
2 parents 7e40d23 + 4ea1bc7 commit 5381232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/donation-message.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("\u001b[35m\u001b[1mLove Preact? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/preact/donate\u001b[0m")
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"prepublishOnly": "cp package.json .package.json; node config/prepublish.js",
"smart-release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
"release": "cross-env npm run smart-release",
"postinstall": "npm run -s donate",
"donate": "echo \"\u001b[35m\u001b[1mLove Preact? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/preact/donate\u001b[39m\""
"postinstall": "node ./config/donation-message.js"
},
"eslintConfig": {
"extends": "./config/eslint-config.js"
Expand Down

0 comments on commit 5381232

Please sign in to comment.