Skip to content

Commit

Permalink
chore: Update eslint and require node 8+
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Update eslint to version 5 and require node 8+
  • Loading branch information
zimme committed Jun 17, 2019
1 parent 813f7fe commit 489a0b3
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,24 @@
"description": "CLI for prettier-eslint",
"main": "dist/no-main.js",
"engines": {
"node": ">=4"
"node": ">=8"
},
"bin": {
"prettier-eslint": "dist/index.js"
},
"scripts": {
"start": "nps",
"test": "nps test",
"precommit":
"lint-staged && opt --in pre-commit --exec \"npm start validate\""
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\""
},
"files": ["dist"],
"files": [
"dist"
],
"keywords": [],
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"maintainers": ["Simon Fridlund <[email protected]>"],
"maintainers": [
"Simon Fridlund <[email protected]>"
],
"license": "MIT",
"dependencies": {
"arrify": "^1.0.1",
Expand All @@ -27,12 +30,12 @@
"camelcase-keys": "^4.1.0",
"chalk": "2.3.0",
"common-tags": "^1.4.0",
"eslint": "^4.5.0",
"find-up": "^2.1.0",
"get-stdin": "^5.0.1",
"glob": "^7.1.1",
"ignore": "^3.2.7",
"indent-string": "^3.1.0",
"eslint": "^5.0.0",
"lodash.memoize": "^4.1.2",
"loglevel-colored-level-prefix": "^1.0.0",
"messageformat": "^1.0.2",
Expand Down Expand Up @@ -65,7 +68,10 @@
"yargs-parser": "8.0.0"
},
"lint-staged": {
"*.+(js|json|md)": ["node ./dist/index --write", "git add"]
"*.+(js|json|md)": [
"node ./dist/index --write",
"git add"
]
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 489a0b3

Please sign in to comment.