Skip to content

Commit 4491321

Browse files
committed
add jshint devDep and 'run lint' script
1 parent 6c279ee commit 4491321

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"bundle": "node tasks/bundle.js",
4848
"build": "npm run preprocess && npm run bundle",
4949
"watch": "node tasks/watch_plotly.js",
50+
"lint": "cd src && jshint . || true",
5051
"test-jasmine": "karma start test/jasmine/karma.conf.js",
5152
"test-image": "echo TODO",
5253
"test": "npm run test-jasmine && npm test-image",
@@ -98,6 +99,7 @@
9899
"browserify-transform-tools": "^1.5.0",
99100
"ecstatic": "^1.2.0",
100101
"jasmine-core": "^2.3.4",
102+
"jshint": "^2.8.0",
101103
"karma": "^0.13.15",
102104
"karma-browserify": "^4.4.0",
103105
"karma-chrome-launcher": "^0.2.1",

0 commit comments

Comments
 (0)