Skip to content

Commit

Permalink
Test and lint the code before versioning or publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
stwa committed May 8, 2019
1 parent c30ba4d commit a2c4894
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"format": "prettier --write 'src/**/*.js'",
"lint": "eslint src",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm test && npm run lint",
"test": "jest"
},
"sideEffects": false,
Expand Down

0 comments on commit a2c4894

Please sign in to comment.