From 472cd053aab1432d19f9deebb6141567bbe91ff6 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 8 Jul 2014 10:25:57 +0100 Subject: Use jshint and fix errors --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 5585196..71cf5db 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "license-sniffer": "~0.1.0", "duck": "~0.1.11", "uglify-js": "~2.4.8", - "temp": "~0.7.0" + "temp": "~0.7.0", + "jshint": "^2.5.2" }, "browser": { "./lib/unzip.js": "./browser/unzip.js" @@ -38,6 +39,7 @@ "mammoth": "bin/mammoth" }, "scripts": { + "pretest": "jshint lib tests", "test": "mocha tests --recursive" }, "licenses": [ -- cgit v1.2.3