Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependencies and tests #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ gulpfile.js
*.sublime-workspace
.sass-cache/
.DS_Store
.nyc_output
yarn.lock
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "gulp-json-sass",
"description": "Gulp plugin for turning JSON files into files of scss/sass variable definitions.",
"version": "0.0.2",
"version": "0.0.3",
"scripts": {
"test": "npm run coverage && npm run rm",
"coverage": "istanbul cover test/*.js",
"coverage": "nyc npm run tape",
"tape": "tape 'test/*.js'",
"rm": "rimraf ./coverage"
},
"repository": {
Expand All @@ -25,15 +26,16 @@
"main": "index.js",
"license": "MIT",
"devDependencies": {
"gulp": "^3.8.6",
"gulp": "^4.0.2",
"gulp-concat": "^2.3.4",
"gulp-ruby-sass": "^0.7.1",
"tape": "^2.14.0",
"through2": "^0.5.1"
"gulp-sass": "^4.0.2",
"nyc": "^14.1.1",
"tape": "^4.10.2",
"through2": "^3.0.1"
},
"dependencies": {
"chalk": "^0.5.1",
"gulp-match": "^0.2.0",
"chalk": "^2.4.2",
"gulp-match": "^1.0.3",
"gulp-util": "^3.0.0",
"through": "^2.3.4"
}
Expand Down
4 changes: 2 additions & 2 deletions test/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var sass = require('gulp-ruby-sass'),
var sass = require('gulp-sass'),
jsonSass = require('../'),
gutil = require('gulp-util'),
path = require('path')
Expand Down Expand Up @@ -58,6 +58,7 @@ function runTests(t, opt) {
.pipe(sass())
.on('error', function sassCompilationFail() {
failedSassCompilation = true;
t.end();
})
.on('end', function sassCompilationEnd() {
if (opt.sassShouldCompile && !failedSassCompilation) {
Expand Down Expand Up @@ -149,4 +150,3 @@ for (var i = 0; i < sasses.length; i++) {
});

}