]> source.dussan.org Git - jquery.git/commitdiff
Build: add scripts.precommit script
authorOleg Gaidarenko <markelog@gmail.com>
Thu, 28 Jan 2016 23:41:04 +0000 (02:41 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Thu, 28 Jan 2016 23:41:04 +0000 (02:41 +0300)
It was losted while merging gh-2881

package.json

index e515cff442ad135732a454e9e4d047a9e17e0383..ba85bf3b6687041f5c8bd0276d86e9bd01092693 100644 (file)
@@ -59,7 +59,8 @@
   "scripts": {
     "build": "npm install && grunt",
     "start": "grunt watch",
-    "test": "grunt && grunt test"
+    "test": "grunt && grunt test",
+    "precommit": "grunt precommit_lint"
   },
   "commitplease": {
     "components": [