Browse Source

chore: added lint stage to npm test

Signed-off-by: Sebastian Haas <sebastian@haas.tech>
Sebastian Haas 8 years ago
parent
commit
0168a4d85f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -6,7 +6,8 @@
   "typings": "dist/src/OSMD/OSMD",
   "scripts": {
     "docs": "typedoc --mode file --out build/docs --module commonjs --target ES5 --name opensheetmusicdisplay ./src",
-    "test": "grunt test",
+    "lint": "grunt lint",
+    "test": "npm run lint && grunt test",
     "postinstall": "grunt typings",
     "prepublish": "grunt build:dist"
   },