Merge pull request #574 from danvk/test-warnings
[dygraphs.git] / package.json
index de85acc..82d961b 100644 (file)
     "obvious-closure-library": "^20140401.0.2",
     "parse-data-uri": "^0.2.0",
     "phantomjs": "^1.9.7-8",
+    "pre-commit": "^1.0.6",
     "source-map": "^0.4.2",
     "uglify-js": "^2"
   },
   "scripts": {
-    "test": "make test"
-  }
+    "test": "make test",
+    "tests-ok": "./scripts/check-no-only.sh"
+  },
+  "pre-commit": [
+    "tests-ok"
+  ]
 }