diff --git a/.travis.yml b/.travis.yml index 8541217e5..e8b1675b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,42 +40,6 @@ jobs: - stage: platform-test node_js: "10" os: osx - - stage: platform-test - node_js: "9" - os: linux - - stage: platform-test - node_js: "9" - os: osx - - stage: platform-test - node_js: "8" - os: linux - - stage: platform-test - node_js: "8" - os: osx - - stage: platform-test - node_js: "7" - os: linux - - stage: platform-test - node_js: "7" - os: osx - - stage: platform-test - node_js: "6" - os: linux - - stage: platform-test - node_js: "6" - os: osx - - stage: platform-test - node_js: "4" - os: linux - - stage: platform-test - node_js: "4" - os: osx - - stage: platform-test - node_js: "0.12" - os: linux - - stage: platform-test - node_js: "0.10" - os: linux addons: apt: diff --git a/appveyor.yml b/appveyor.yml index 96f90fe4f..77ed5c04a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,39 +34,6 @@ environment: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true matrix: - - nodejs_version: 0.10 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 0.12 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 1 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 2 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 3 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 4 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 5 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 6 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - - nodejs_version: 7 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - - nodejs_version: 8 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - - nodejs_version: 9 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - nodejs_version: 10 GYP_MSVS_VERSION: 2017 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 @@ -149,27 +116,6 @@ environment: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true matrix: - - nodejs_version: 0.10 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 0.12 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 4 - GYP_MSVS_VERSION: 2013 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - - nodejs_version: 6 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - - nodejs_version: 7 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - - nodejs_version: 8 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - - nodejs_version: 9 - GYP_MSVS_VERSION: 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - nodejs_version: 10 GYP_MSVS_VERSION: 2017 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 diff --git a/package.json b/package.json index fc00cb5c7..31c69f735 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "url": "http://andrew.github.com" }, "engines": { - "node": ">=0.10.0" + "node": ">= 10.12.0" }, "main": "lib/index.js", "nodeSassConfig": { @@ -30,10 +30,10 @@ "coverage": "node scripts/coverage.js", "install": "node scripts/install.js", "postinstall": "node scripts/build.js", - "lint": "node_modules/.bin/eslint bin/node-sass lib scripts test", - "test": "node_modules/.bin/mocha test/{*,**/**}.js", + "lint": "eslint bin/node-sass lib scripts test", + "test": "mocha test/{*,**/**}.js", "build": "node scripts/build.js --force", - "prepublish": "not-in-install && node scripts/prepublish.js || in-install" + "prepublishOnly": "node scripts/prepublish.js" }, "files": [ "bin", @@ -59,12 +59,11 @@ "gaze": "^1.0.0", "get-stdin": "^4.0.1", "glob": "^7.0.3", - "in-publish": "^2.0.0", "lodash": "^4.17.15", "meow": "^3.7.0", "mkdirp": "^0.5.1", "nan": "^2.13.2", - "node-gyp": "^3.8.0", + "node-gyp": "^7.0.0", "npmlog": "^4.0.0", "request": "^2.88.0", "sass-graph": "2.2.5",