Преглед на файлове

chore: added lint stage to npm test

Signed-off-by: Sebastian Haas <sebastian@haas.tech>
Sebastian Haas преди 8 години
родител
ревизия
0168a4d85f
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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"
   },