Skip to content

Commit

Permalink
fix(CI): Avoid package.json regressions when installing on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ketch committed Jul 31, 2019
1 parent c4da990 commit fcb0614
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
- npm run build
- npm run test
- npm run docs
# Clear package.json overrides made when installing @stencila/dev-config
- git checkout package.json

after_success:
- bash <(curl -s https://codecov.io/bash) -cF ts
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@
}
},
"eslintConfig": {
"extends": "@stencila/eslint-config"
"extends": "@stencila/eslint-config",
"env": {
"node": true,
"jest": true
}
},
"eslintIgnore": [
"built",
Expand All @@ -111,11 +115,13 @@
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "make checkBindings",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"prettier": "@stencila/dev-config/prettier-config.json",
"release": {
"extends": "@stencila/semantic-release-config"
"extends": "@stencila/semantic-release-config",
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
}

0 comments on commit fcb0614

Please sign in to comment.