Skip to content

Commit

Permalink
Revert "drop node@4 support"
Browse files Browse the repository at this point in the history
This reverts commit 21495be.
  • Loading branch information
mightyaleksey committed Oct 30, 2018
1 parent 21495be commit 726f513
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- "4"
- "6"
- "node"
27 changes: 20 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
{
"name": "icss-utils",
"version": "4.0.0",
"version": "3.0.1",
"description": "ICSS utils for postcss ast",
"main": "src/index.js",
"engines": {
"node": ">= 6"
},
"main": "lib/index.js",
"files": [
"src"
"lib"
],
"scripts": {
"build": "babel --out-dir lib src",
"test": "jest --coverage",
"precommit": "lint-staged",
"prepublish": "yarn test"
"prepublish": "yarn test && yarn run build"
},
"lint-staged": {
"*.js": [
Expand All @@ -30,6 +28,18 @@
},
"extends": "eslint:recommended"
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": 4
}
}
]
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/css-modules/icss-utils.git"
Expand All @@ -50,6 +60,9 @@
"postcss": "^7.0.5"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-preset-env": "^1.5.2",
"eslint": "^4.0.0",
"husky": "^0.13.4",
"jest": "^20.0.4",
Expand Down

0 comments on commit 726f513

Please sign in to comment.