Skip to content

Commit 21495be

Browse files
committed
drop node@4 support
1 parent 228271a commit 21495be

File tree

2 files changed

+7
-21
lines changed

2 files changed

+7
-21
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
language: node_js
22
node_js:
3-
- "4"
43
- "6"
54
- "node"

package.json

+7-20
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"name": "icss-utils",
3-
"version": "3.0.1",
3+
"version": "4.0.0",
44
"description": "ICSS utils for postcss ast",
5-
"main": "lib/index.js",
5+
"main": "src/index.js",
6+
"engines": {
7+
"node": ">= 6"
8+
},
69
"files": [
7-
"lib"
10+
"src"
811
],
912
"scripts": {
10-
"build": "babel --out-dir lib src",
1113
"test": "jest --coverage",
1214
"precommit": "lint-staged",
13-
"prepublish": "yarn test && yarn run build"
15+
"prepublish": "yarn test"
1416
},
1517
"lint-staged": {
1618
"*.js": [
@@ -28,18 +30,6 @@
2830
},
2931
"extends": "eslint:recommended"
3032
},
31-
"babel": {
32-
"presets": [
33-
[
34-
"env",
35-
{
36-
"targets": {
37-
"node": 4
38-
}
39-
}
40-
]
41-
]
42-
},
4333
"repository": {
4434
"type": "git",
4535
"url": "git+https://github.com/css-modules/icss-utils.git"
@@ -60,9 +50,6 @@
6050
"postcss": "^7.0.5"
6151
},
6252
"devDependencies": {
63-
"babel-cli": "^6.24.1",
64-
"babel-jest": "^20.0.3",
65-
"babel-preset-env": "^1.5.2",
6653
"eslint": "^4.0.0",
6754
"husky": "^0.13.4",
6855
"jest": "^20.0.4",

0 commit comments

Comments
 (0)