Skip to content

Commit 01e02b8

Browse files
committed
build: drop support node 4,5
1 parent 8731a25 commit 01e02b8

File tree

5 files changed

+11
-54
lines changed

5 files changed

+11
-54
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ node_js:
55
- v8
66
- v7
77
- v6
8-
- v5
9-
- v4
108

119
after_success:
1210
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'

appveyor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ environment:
55
- nodejs_version: "8"
66
- nodejs_version: "7"
77
- nodejs_version: "6"
8-
- nodejs_version: "5"
9-
- nodejs_version: "4"
108

119
version: "{build}"
1210
build: off

package-lock.json

Lines changed: 3 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"posthtml": "lib/cli.js"
1616
},
1717
"engines": {
18-
"node": ">=4"
18+
"node": ">=6"
1919
},
2020
"scripts": {
2121
"prepush": "npm t",
@@ -37,7 +37,6 @@
3737
"cli"
3838
],
3939
"dependencies": {
40-
"@babel/runtime": "^7.0.0",
4140
"deep-assign": "^2.0.0",
4241
"fast-glob": "^2.1.0",
4342
"get-cff": "^0.1.2",
@@ -52,7 +51,6 @@
5251
"@babel/cli": "^7.0.0",
5352
"@babel/core": "^7.0.0",
5453
"@babel/node": "^7.0.0",
55-
"@babel/plugin-transform-runtime": "^7.0.0",
5654
"@babel/preset-env": "^7.0.0",
5755
"@babel/register": "^7.0.0",
5856
"@commitlint/cli": "^7.1.1",
@@ -90,11 +88,11 @@
9088
},
9189
"readme": "posthtml/posthtml-cli/readme",
9290
"husky": {
93-
"hooks": {
94-
"pre-push": "npm t",
95-
"pre-commit": "clinton && lint-staged",
96-
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
97-
}
91+
"hooks": {
92+
"pre-push": "npm t",
93+
"pre-commit": "clinton && lint-staged",
94+
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
95+
}
9896
},
9997
"lint-staged": {
10098
"{src,test}/**/*.js": "eslint",
@@ -111,7 +109,7 @@
111109
"@babel/preset-env",
112110
{
113111
"targets": {
114-
"node": 4
112+
"node": 6
115113
}
116114
}
117115
],
@@ -122,9 +120,6 @@
122120
"mangle": false
123121
}
124122
]
125-
],
126-
"plugins": [
127-
"@babel/plugin-transform-runtime"
128123
]
129124
},
130125
"posthtml": {

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
```bash
1111
$ npm install --global posthtml-cli
1212
```
13-
> **Note:** This project is compatible with node v4+
13+
> **Note:** This project is compatible with node v6+
1414
1515
## Usage
1616
```bash

0 commit comments

Comments
 (0)