Browse Source

enhance(dependencies): Drop node 7 support

And declare minimum versions in package.json.

Node 7 was a dev release and is defunct now that 8 is LTS and 9 is the
current dev release. If we wanted to support earlier versions, we should
go all the way back to the prior LTS release series, 6, but I don't see
a reason to do that for new software.

Bump to npm 5 because that is the version that was released with node 8:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.0.0

This was prompted by the fact that current versions of yarn have dropped node 7
support.
https://yarnpkg.com/en/
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
274768d3c2
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 2
      .babelrc
  2. 2
      README.md
  3. 4
      package.json

2
.babelrc

@ -2,7 +2,7 @@
"presets": [
["env", {
"targets": {
"node": 7,
"node": 8,
"browsers": "electron 1.7"
},
"useBuiltIns": true

2
README.md

@ -15,7 +15,7 @@ Join us on [slack](https://join.slack.com/t/zaphq/shared_invite/enQtMjkyNTAxNDA3
## Requirements
* **Node.js version >= 7, npm version >= 4 and [yarn](https://yarnpkg.com/lang/en/docs/install/)**
* **Node.js version >= 8, npm version >= 5 and [yarn](https://yarnpkg.com/lang/en/docs/install/)**
## Install

4
package.json

@ -33,6 +33,10 @@
"install-grpc": "cd app && npm run install-grpc"
},
"browserslist": "electron 1.7",
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"build": {
"productName": "ZapDesktop",
"appId": "org.develar.ZapDesktop",

Loading…
Cancel
Save