Skip to content

Commit

Permalink
feat(nodejs): bring support for nodejs v8
Browse files Browse the repository at this point in the history
  • Loading branch information
sharvit committed Jul 27, 2019
1 parent a28b121 commit 20cd71c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
language: node_js
jobs:
include:
- stage: lint
node_js: 12
script:
- yarn lint:commit-travis
- yarn lint
- stage: test
node_js: 10
node_js: 8
script:
- yarn test
- yarn build
- stage: test
node_js: 12
- node_js: 10
script:
- yarn test
- yarn build
- node_js: 12
script:
- yarn lint:commit-travis
- yarn lint
- yarn test
- yarn build
after_success: yarn coveralls
- stage: release
if: branch = master AND type = push
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://sharvit.github.io"
},
"engines": {
"node": ">=10"
"node": ">=8"
},
"scripts": {
"build": "yarn build:clean && yarn build:babel && yarn build:templates",
Expand All @@ -34,7 +34,6 @@
"@octokit/rest": "^16.28.6",
"chalk": "^2.3.0",
"command-exists": "^1.2.4",
"commitizen": "^4.0.3",
"find-up": "^4.0.0",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
Expand All @@ -43,6 +42,10 @@
"uuid": "^3.3.2",
"yeoman-generator": "^4.0.1"
},
"optionalDependencies": {
"commitizen": "^4.0.3",
"cz-conventional-changelog": "3.0.2"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
Expand All @@ -56,7 +59,6 @@
"babel-plugin-add-module-exports": "^1.0.2",
"commitlint-config-cz": "^0.12.0",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "3.0.2",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-standard": "^13.0.1",
Expand Down

0 comments on commit 20cd71c

Please sign in to comment.