Last active
August 25, 2016 19:46
-
-
Save dan-f/041903733e3af2b2962f3cd7e0be0e39 to your computer and use it in GitHub Desktop.
basic npm scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"build": "echo 'TODO: implement build script' && exit 1", | |
"lint": "echo 'TODO: implement lint script' && exit 1", | |
"test": "echo 'TODO: implement test script' && exit 1", | |
"pretest": "npm run lint", | |
"preversion": "npm test", | |
"postversion": "git push --follow-tags", | |
"prepublish": "npm run build" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment