Skip to content

Commit

Permalink
Added postinstall message
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Nov 13, 2019
1 parent 7ce8c08 commit b9b6ddd
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 @@ -32,5 +32,6 @@
"node": ">=0.10.0"
},
"scripts": {
"postinstall": "node -e \"console.log('Thank you for installing \\u001b[35mEJS\\u001b[0m: built with the \\u001b[32mJake\\u001b[0m JavaScript build tool (\\u001b[32mhttps://jakejs.com/\\u001b[0m)\\n');\""
}
}

2 comments on commit b9b6ddd

@dmwmt
Copy link

@dmwmt dmwmt commented on b9b6ddd Nov 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason of adding this?
While I totally understand your right to add whatever you think should be added to the project, please consider making it optional as it pollutes the logs and doesn't bring any useful information.
Here's a good example of how it can be done in a less intrusive way:
https://github.com/opencollective/opencollective-postinstall

@mde
Copy link
Owner Author

@mde mde commented on b9b6ddd Nov 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most discreet post-install added in https://github.com/mde/ejs/releases/tag/v2.7.3. Thanks for the info.

Please sign in to comment.