Skip to content

Commit

Permalink
[bugfix] prevent npm < 3 missing "eslint-plugin-import" by add it as …
Browse files Browse the repository at this point in the history
…peer dependency and update dependencies
  • Loading branch information
Simon Mollweide committed Nov 29, 2016
1 parent a98da56 commit f1c202b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
},
"main": "configurations/es6-browser.js",
"scripts": {
"lint": "eslint ./test",
"test": "eslint ./test"
"lint": "npm run lint:js",
"lint:js": "node_modules/.bin/eslint **/*.jsx **/*.js",
"test": "npm run lint"
},
"keywords": [
"code checker",
Expand All @@ -33,11 +34,13 @@
"react",
"jsx"
],
"peerDependencies": {
"eslint": "^3.0.0",
"eslint-plugin-import": "^2.0.0"
},
"dependencies": {
"eslint": "^3.5.0",
"eslint-find-rules": "^1.13.2",
"eslint-plugin-import": "^1.15.0",
"eslint-plugin-jsx-a11y": "^2.2.2",
"eslint-plugin-react": "^6.3.0"
"eslint-find-rules": "^1.14.3",
"eslint-plugin-jsx-a11y": "^3.0.1",
"eslint-plugin-react": "^6.7.1"
}
}

0 comments on commit f1c202b

Please sign in to comment.