Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit f1d4e45

Browse files
committed
Adds linting command to npm
1 parent 38937da commit f1d4e45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"build-min": "NODE_ENV=production COMPRESS=1 webpack --output-file react-bootstrap-datetimepicker.min.js",
1515
"examples": "webpack-dev-server --config ./examples/webpack.config.js",
1616
"test-watch": "./node_modules/.bin/grunt watch 2>&1 >/dev/null & karma start karma.dev.js",
17-
"test": "./node_modules/.bin/grunt build && karma start karma.ci.js"
17+
"test": "./node_modules/.bin/grunt build && karma start karma.ci.js",
18+
"lint": "eslint ."
1819
},
1920
"keywords": [
2021
"react",
@@ -36,6 +37,7 @@
3637
"babel-runtime": "^5.6.18",
3738
"envify": "~3.2.0",
3839
"eslint": "^0.24.1",
40+
"eslint-plugin-react": "^2.7.0",
3941
"grunt": "~0.4.2",
4042
"grunt-amd-wrap": "^1.0.1",
4143
"grunt-browserify": "~1.3.0",

0 commit comments

Comments
 (0)