Drop support for Node < 4

This commit is contained in:
Zoltan Kochan committed 2016-08-10 21:06:20 +03:00
1 parent b9b1f0fa52
commit cd682be26b
4 files changed
+15 -29

No files matched your search

+1 -3
View File
@@ -1,6 +1,5 @@
language: node_js
node_js:
- 0.10
- 4
- 6
cache:
@@ -8,8 +7,7 @@ cache:
- node_modules
sudo: false
script:
- npm run test:babel
- rm -rf .tmp
- npm test
- if [[ $TRAVIS_NODE_VERSION == "4" ]]; then ./node_modules/.bin/docpress build; fi
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then ./node_modules/.bin/git-update-ghpages -e; fi
+1
View File
@@ -2,6 +2,7 @@
> Unreleased
- **Breaking** - the API expects `opts.storePath` instead of `opts.store_path`.
- **Breaking** - drop support for node < 4.
- [#21] - Support installing from files. ([#257], [@zkochan])
- [#258] - Improve support for Windows. ([#259], [@zkochan])
- [#262] - Improve support for build scripts that use npm config variables. ([@zkochan])
+1 -3
View File
@@ -1,6 +1,5 @@
environment:
matrix:
- nodejs_version: 0.10
- nodejs_version: 4
- nodejs_version: 6
install:
@@ -14,5 +13,4 @@ version: '{build}'
test_script:
- node --version
- npm --version
- npm run test:babel
- rm -rf .tmp
- npm test
+12 -23
View File
@@ -17,18 +17,18 @@
"bluebird": "3.4.1",
"byline": "5.0.0",
"camelcase-keys": "3.0.0",
"caw": "1.2.0",
"caw": "2.0.0",
"chalk": "1.1.3",
"commondir": "1.0.1",
"cross-spawn": "^4.0.0",
"debug": "2.2.0",
"got": "5.4.1",
"got": "6.3.0",
"gunzip-maybe": "1.3.1",
"lockfile": "1.0.1",
"meow": "3.7.0",
"mkdirp": "0.5.1",
"mz": "2.4.0",
"node-gyp": "3.3.1",
"node-gyp": "3.4.0",
"node-uuid": "1.4.7",
"normalize-path": "2.0.1",
"npm-package-arg": "4.2.0",
@@ -48,23 +48,19 @@
"throat": "3.0.0"
},
"devDependencies": {
"babel-cli": "6.10.1",
"babel-plugin-transform-es2015-arrow-functions": "6.8.0",
"babel-plugin-transform-es2015-literals": "6.8.0",
"docpress": "0.6.13",
"eslint": "2.13.0",
"eslint": "3.2.2",
"eslint-config-standard": "5.3.5",
"eslint-plugin-promise": "2.0.0",
"eslint-plugin-standard": "1.3.2",
"eslint-plugin-promise": "2.0.1",
"eslint-plugin-standard": "2.0.0",
"git-update-ghpages": "1.3.0",
"in-publish": "2.0.0",
"isexe": "1.1.2",
"istanbul": "^0.4.4",
"nixt": "0.5.0",
"npm": "3.10.2",
"npm": "3.10.5",
"sepia": "2.0.1",
"tap-spec": "4.1.1",
"tape": "4.5.1"
"tape": "4.6.0"
},
"directories": {
"test": "test"
@@ -77,24 +73,17 @@
"license": "MIT",
"main": "index.js",
"preferGlobal": true,
"engines": {
"node": ">=4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rstacruz/pnpm.git"
},
"scripts": {
"build": "if [ ! -d lib~ ]; then mv lib lib~; babel --source-maps inline -D lib~ -d lib; fi",
"cover": "istanbul cover test/index.js",
"lint": "eslint bin/ test/ lib/",
"test": "npm run lint && node test | tap-spec",
"posttest": "rimraf .tmp",
"test:babel": "babel-node test | tap-spec",
"prepublish": "in-publish && npm run build || not-in-publish",
"postpublish": "rm -rf lib; mv lib~ lib"
},
"babel": {
"plugins": [
"transform-es2015-arrow-functions",
"transform-es2015-literals"
]
"posttest": "rimraf .tmp"
}
}