Skip to content

Commit 25c0f3f

Browse files
committed
chore: require Node 10
BREAKING CHANGE: A minimum of Node.js 10.3.0 is required.
1 parent 0319fc6 commit 25c0f3f

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [8.x, 10.x, 12.x]
13+
node-version: [10.x, 12.x]
1414
steps:
1515
- name: Use Node.js ${{ matrix.node-version }}
1616
uses: actions/setup-node@v1

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"license": "MIT",
88
"main": "dist/index.js",
99
"types": "dist/index.d.ts",
10+
"engines": {
11+
"node": ">=10.3.0"
12+
},
1013
"bin": {
1114
"cordova-res": "./bin/cordova-res"
1215
},
@@ -55,7 +58,7 @@
5558
"@types/elementtree": "^0.1.0",
5659
"@types/fs-extra": "^8.0.0",
5760
"@types/jest": "^24.0.12",
58-
"@types/node": "~8.10.56",
61+
"@types/node": "~10.17.13",
5962
"@types/sharp": "^0.24.0",
6063
"husky": "^4.0.9",
6164
"jest": "^23.6.0",

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"outDir": "./dist",
1212
"pretty": true,
1313
"strict": true,
14-
"target": "es2017",
14+
"target": "es2019",
1515
"lib": [
16-
"es2017"
16+
"es2019"
1717
]
1818
},
1919
"include": [

0 commit comments

Comments
 (0)