Skip to content

Commit

Permalink
chore: Upgrade to node 10 (#1731)
Browse files Browse the repository at this point in the history
chore: Upgrade to node 10
  • Loading branch information
wagnerand authored Oct 28, 2019
2 parents 7f6fbd9 + 1c08248 commit 884106c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
["@babel/env", {
"targets": {"node": "8"}
"targets": {"node": "10"}
}],
"@babel/flow"
],
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ os:
- windows

node_js:
- '8'
- '10'
- '12'

# Skip node_js 6 on travis windows workers (as it often fails because
# travis fails to init the node_js 6 environment).
matrix:
fast_finish: true
exclude:
- node_js: '8'
- node_js: '10'
os: windows

jobs:
include:
- stage: npm audit and lint github PR title
## Keep this in sync with the last version listed in the node_js property.
node_js: '10'
node_js: '12'
os: linux
script:
- npm run audit-deps
- npm run travis-pr-title-lint
- stage: deploy on npm
## Keep this in sync with the last version listed in the node_js property.
node_js: '10'
node_js: '12'
os: linux
script: echo "Deploying to npm..."
## Make sure we have a production build.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ version on the command line with this:
## Installation from source

You'll need:
* [Node.js](https://nodejs.org/en/), 8.0.0 or higher
* [npm](https://www.npmjs.com/), 5.0.0 or higher is recommended
* [Node.js](https://nodejs.org/en/), 10.0.0 or higher
* [npm](https://www.npmjs.com/), 5.6.0 or higher is recommended

Optionally, you may like:
* [nvm](https://github.com/creationix/nvm), which helps manage node versions
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "A command line tool to help build, run, and test web extensions",
"main": "dist/web-ext.js",
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
"node": ">=10.0.0",
"npm": ">=5.6.0"
},
"engine-strict": true,
"bin": {
Expand Down

0 comments on commit 884106c

Please sign in to comment.