Skip to content

Commit

Permalink
Update dependencies and fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Raphaël Morineau <[email protected]>
  • Loading branch information
Sharlaan committed Jan 4, 2019
1 parent 05587ec commit cfc9ed9
Show file tree
Hide file tree
Showing 3 changed files with 3,128 additions and 2,270 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

language: node_js

node_js: lts
node_js: lts/*

cache: yarn

Expand All @@ -17,6 +17,7 @@ script:

after_success:
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- yarn clean
- yarn build

deploy:
Expand Down
26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,17 @@
"fix": "yarn lint --fix",
"format": "prettier-eslint --write \"src/**/*@(.css|.js)\" \"demo/src/**/*@(.css|.js)\"",
"lint": "eslint src demo/src",
"precommit": "yarn fix && lint-staged",
"prepush": "yarn test:coverage",
"start": "nwb serve-react-demo",
"test": "nwb test-react",
"test:coverage": "nwb test-react --coverage",
"test:watch": "nwb test-react --server"
},
"husky": {
"hooks": {
"pre-commit": "yarn fix && lint-staged",
"pre-push": "yarn test:coverage"
}
},
"lint-staged": {
"*.{js,css}": [
"yarn format",
Expand All @@ -62,16 +66,16 @@
"react-dom": ">= 15 < 16.3"
},
"devDependencies": {
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-config-sharlaan": "^2.3.6",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"material-ui": "^0.20.1",
"nwb": "^0.22.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint-config-sharlaan": "^2.3.9",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"material-ui": "< 1",
"nwb": "^0.23.0",
"prop-types": "^15.6.2",
"react": "~16.2.0",
"react-dom": "~16.2.0",
"react": "< 16.3",
"react-dom": "< 16.3",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1"
}
Expand Down
Loading

0 comments on commit cfc9ed9

Please sign in to comment.