diff --git a/.jshintignore b/.jshintignore new file mode 100644 index 0000000..8b7e536 --- /dev/null +++ b/.jshintignore @@ -0,0 +1 @@ +spec/asyncAwaitSpec.js diff --git a/package.json b/package.json index 4997a3e..d0d3ca0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "devDependencies": { "jasmine": "2.4.1", "jshint": "2.5.0", - "selenium-webdriver": "2.53.3", + "selenium-webdriver": "^3.0.0-beta-3", "typescript": "^2.0.0" }, "repository": { @@ -23,7 +23,9 @@ }, "main": "index.js", "scripts": { - "pretest": "node_modules/.bin/jshint index.js spec --exclude spec/asyncAwaitSpec.js; tsc -t ES2015 spec/asyncAwaitSpec.ts", + "jshint": "jshint index.js spec", + "tsc": "tsc -t ES2015 spec/asyncAwaitSpec.ts", + "pretest": "npm run jshint && npm run tsc", "test": "scripts/test.sh" }, "license": "MIT",