diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-18 12:53:56 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-18 12:53:56 +0100 |
commit | 39e2593a2ca08c548fbcf92e88b772bb051dd589 (patch) | |
tree | 308541cca197a349bb8f71a2c7d93b8bfa3de2bd /package.json | |
parent | 9f050bec89ab1f8c7121132b82ca13a02a1b45b4 (diff) | |
download | svg.js-39e2593a2ca08c548fbcf92e88b772bb051dd589.tar.gz svg.js-39e2593a2ca08c548fbcf92e88b772bb051dd589.zip |
added linter which can be run with `npm run lint`
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/package.json b/package.json index 5bc5c80..2296853 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,8 @@ "build": "gulp", "build:test": "gulp unify", "test": "karma start .config/karma.conf.js --single-run", - "test:quick": "karma start .config/karma.quick.js" + "test:quick": "karma start .config/karma.quick.js", + "lint": "standard --verbose | snazzy" }, "devDependencies": { "coveralls": "^2.11.15", @@ -78,6 +79,17 @@ "karma-firefox-launcher": "^1.0.0", "karma-jasmine": "^1.0.2", "karma-phantomjs-launcher": "^1.0.2", - "request": "^2.78.0" + "request": "^2.78.0", + "snazzy": "^6.0.0", + "standard": "^9.0.1" + }, + "standard": { + "ignore": [ + "/dist", + "/src/umd.js" + ], + "globals": [ + "SVG" + ] } } |