Skip to content

Commit 4a9aefc

Browse files
xdammandevelopit
authored andcommitted
inline postinstall message (preactjs#661)
1 parent e5c7f1d commit 4a9aefc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
"lint": "eslint devtools src test",
2828
"prepublish": "npm run build",
2929
"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",
30-
"release": "cross-env npm run smart-release"
30+
"release": "cross-env npm run smart-release",
31+
"postinstall": "npm run -s donate",
32+
"donate": "echo \"\n *** Thanks for downloading Preact! ***\nPlease consider donating to our open collective\n\n => https://opencollective.com/preact/donate\n\""
3133
},
3234
"eslintConfig": {
3335
"extends": "./config/eslint-config.js"

0 commit comments

Comments
 (0)