Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JohnAlbin/normalize-scss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnAlbin <virtually.johnalbin@gmail.com>2017-12-05 19:36:18 +0300
committerJohnAlbin <virtually.johnalbin@gmail.com>2017-12-05 19:36:18 +0300
commitd5e3d7dcb87f8898223573e7d85eb102275d7a68 (patch)
tree2fee9ab63d745fc99d3aea31e24daa816e573a35
parent90c5d18e601f079c4e514ded011a14b479513784 (diff)
Drop Node.js v0.12 support
-rw-r--r--.travis.yml6
-rwxr-xr-xbin/is-modern-node16
-rw-r--r--package.json13
3 files changed, 8 insertions, 27 deletions
diff --git a/.travis.yml b/.travis.yml
index d03d3aa..8e631e9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,9 +3,7 @@
sudo: false
language: node_js
node_js:
- - '0.12'
- '4'
- - '5'
- '6'
-# Skip npm posttest script on Node 0.12.
-script: ./bin/is-modern-node && npm test || npm run test-only
+ - '8'
+ - '9'
diff --git a/bin/is-modern-node b/bin/is-modern-node
deleted file mode 100755
index 83ff398..0000000
--- a/bin/is-modern-node
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env node
-
-/* eslint-disable no-process-exit */
-
-'use strict';
-
-// Checks for "v4." or greater.
-function isModernNode() {
- return /^v([4-9]|\d{2,})\.\S+$/.test(process.version);
-}
-
-if (!isModernNode()) {
- console.error('Node.js ' + process.version + 'detected; alternate script will be run.');
- // Return a non-zero (false) value to the shell.
- process.exit(1);
-}
diff --git a/package.json b/package.json
index 8885f5e..30cf27a 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"url": "git://github.com/JohnAlbin/normalize-scss.git"
},
"author": "John Albin Wilkins <virtually.johnalbin@gmail.com> (http://john.albin.net/)",
+ "license": "(MIT OR GPL-2.0)",
"keywords": [
"eyeglass-module",
"sass",
@@ -30,17 +31,15 @@
},
"scripts": {
"test": "mocha",
- "posttest": "eslint test",
- "test-only": "mocha"
+ "posttest": "eslint test"
},
- "license": "(MIT OR GPL-2.0)",
"devDependencies": {
- "chai": "^3.5.0",
+ "chai": "^4.1.2",
"chroma-sass": "^1.2.3",
- "eslint": "^3.8.0",
+ "eslint": "^4.12.1",
"eyeglass": "^1.1.2",
- "mocha": "^3.1.2",
- "sassy-test": "^3.0.0",
+ "mocha": "^4.0.0",
+ "sassy-test": "^4.0.0",
"typey": "^1.0.0"
}
}