CB-11977 : updated engines and enginescript for common, fetch, and serve This closes #520
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/c940ab89 Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/c940ab89 Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/c940ab89 Branch: refs/heads/common-2.0.x Commit: c940ab897a9d8d707a7cbe2c8af0313c48d5b7b6 Parents: 6b22991 Author: Audrey So <[email protected]> Authored: Fri Mar 10 09:57:59 2017 -0800 Committer: Steve Gill <[email protected]> Committed: Fri Mar 10 11:58:17 2017 -0800 ---------------------------------------------------------------------- cordova-common/package.json | 3 ++- cordova-fetch/package.json | 5 +++-- cordova-serve/package.json | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/c940ab89/cordova-common/package.json ---------------------------------------------------------------------- diff --git a/cordova-common/package.json b/cordova-common/package.json index 24d8902..5e1b022 100644 --- a/cordova-common/package.json +++ b/cordova-common/package.json @@ -14,8 +14,9 @@ }, "main": "cordova-common.js", "engines": { - "node": ">=0.9.9" + "node": ">=4.0.0" }, + "engineStrict": true, "scripts": { "test": "npm run jshint && npm run jasmine", "jshint": "jshint src && jshint spec", http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/c940ab89/cordova-fetch/package.json ---------------------------------------------------------------------- diff --git a/cordova-fetch/package.json b/cordova-fetch/package.json index 11176bd..de3d20c 100644 --- a/cordova-fetch/package.json +++ b/cordova-fetch/package.json @@ -37,7 +37,8 @@ "jasmine": "jasmine spec/fetch.spec.js" }, "engines": { - "node": ">= 0.12.0", + "node": ">=4.0.0", "npm": ">= 2.5.1" - } + }, + "engineStrict": true } http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/c940ab89/cordova-serve/package.json ---------------------------------------------------------------------- diff --git a/cordova-serve/package.json b/cordova-serve/package.json index fc3727d..b3daede 100644 --- a/cordova-serve/package.json +++ b/cordova-serve/package.json @@ -32,7 +32,8 @@ "jshint": "node node_modules/jshint/bin/jshint src" }, "engines": { - "node": ">= 0.12.0", + "node": ">=4.0.0", "npm": ">= 2.5.1" - } + }, + "engineStrict": true } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
