Addon configuration properties before and after in package.json

Closes #2583 and #2536 

Let me know if you want any changes.