Skip to content

Instantly share code, notes, and snippets.

@RB-Lab
Created November 30, 2015 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RB-Lab/7241e13c1f43721e9bd3 to your computer and use it in GitHub Desktop.
Save RB-Lab/7241e13c1f43721e9bd3 to your computer and use it in GitHub Desktop.
{
"scripts": {
"clean": "rimraf lib",
"test": "karma start --single-run",
"tdd": "karma start",
"check": "npm run lint && npm test",
"build": "babel --ignore __tests__ src --out-dir lib",
"lint": "eslint src",
"preversion": "npm run clean && npm run check",
"version": "npm run build",
"postversion": "git push && git push --tags && npm run clean",
"prepublish": "npm run clean && npm run build"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment