Run style checks before publishing.

This commit is contained in:
Jordan Eldredge
2016-02-09 18:29:43 -08:00
committed by John-David Dalton
parent 08c7bf3c85
commit c91196d240

View File

@@ -40,6 +40,7 @@
"doc:fp": "node lib/doc/build --fp github",
"doc:fp:site": "node lib/doc/build --fp site",
"doc:site": "node lib/doc/build site",
"prepublish": "npm run style",
"pretest": "npm run build",
"style": "npm run style:main & npm run style:fp & npm run style:perf & npm run style:test",
"style:fp": "jscs fp/*.js lib/**/*.js",