kss-bootstrap
Advanced tools
Comparing version 0.0.6 to 0.1.0
var gulp = require('gulp'); | ||
// Deploy to GitHub Pages | ||
gulp.task('deploy', function () { | ||
var deploy = require("gulp-gh-pages"); | ||
gulp.src("./out/**/*") | ||
.pipe(deploy()); | ||
// Clean existing out directory | ||
gulp.task('clean', function() { | ||
require('del')("out"); | ||
}); | ||
// Build the styleguide with KSS. | ||
gulp.task('kss', function() { | ||
var exec = require('child_process').execFile; | ||
var kssnode = "./node_modules/.bin/kss-node"; | ||
var args = ["styleguide", "out", "--template=bootstrap"]; | ||
exec(kssnode, args, function(error, stdout, stderr) { | ||
console.log(error); | ||
console.log(stdout); | ||
console.log(stderr); | ||
}); | ||
}); | ||
// HTML Hint | ||
@@ -19,6 +29,13 @@ gulp.task('htmlhint', function () { | ||
// Deploy to GitHub Pages | ||
gulp.task('deploy', function () { | ||
var deploy = require("gulp-gh-pages"); | ||
gulp.src("./out/**/*") | ||
.pipe(deploy()); | ||
}); | ||
// Test | ||
gulp.task('test', ['htmlhint']); | ||
gulp.task('test', ['kss', 'htmlhint']); | ||
// Default | ||
gulp.task('default', ['test']); |
{ | ||
"name": "kss-bootstrap", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"description": "A KSS template and style guide for Bootstrap.", | ||
@@ -20,15 +20,14 @@ "author": "Rob Loach (http://github.com/robloach)", | ||
], | ||
"dependencies": { | ||
"kss": "~1.2.0" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.8.8", | ||
"gulp-gh-pages": "^0.3.4", | ||
"gulp-htmlhint": "0.0.9" | ||
"kss": "git://github.com/kss-node/kss-node.git#v2.0.0-alpha.1", | ||
"gulp": "~3.8.8", | ||
"gulp-gh-pages": "~0.3.4", | ||
"gulp-htmlhint": "~0.0.9", | ||
"del": "~0.1.3" | ||
}, | ||
"scripts": { | ||
"pretest": "node_modules/.bin/kss-node styleguide out -t bootstrap", | ||
"test": "node_modules/.bin/gulp", | ||
"deploy": "node_modules/.bin/gulp deploy" | ||
"pretest": "./node_modules/.bin/gulp clean", | ||
"test": "./node_modules/.bin/gulp", | ||
"deploy": "./node_modules/.bin/gulp deploy" | ||
} | ||
} |
@@ -13,2 +13,6 @@ # KSS Bootstrap [![Build Status](https://travis-ci.org/RobLoach/kss-bootstrap.svg?branch=master)](https://travis-ci.org/RobLoach/kss-bootstrap) | ||
## Dependencies | ||
* [kss-node](https://github.com/kss-node/kss-node) `>=2.0.0-alpha.1` | ||
## Build | ||
@@ -29,4 +33,4 @@ | ||
* `styleguide` is the directory to which KSS Styleguide to use | ||
* `bootstrap` is the directory of which KSS template to use | ||
* `out` represents where the rendered styleguide should be output | ||
* `bootstrap` is the directory of which KSS template to use | ||
@@ -33,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
0
40
40
95364
5
2182
1
- Removedkss@~1.2.0
- Removedamdefine@1.0.1(transitive)
- Removedansi-regex@0.2.1(transitive)
- Removedansi-styles@1.1.0(transitive)
- Removedapparatus@0.0.10(transitive)
- Removedasn1@0.1.11(transitive)
- Removedassert-plus@0.1.5(transitive)
- Removedasync@0.2.100.9.2(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedaws-sign2@0.5.0(transitive)
- Removedboom@0.4.2(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedchalk@0.5.1(transitive)
- Removedclean-css@2.2.23(transitive)
- Removedcombined-stream@0.0.7(transitive)
- Removedcommander@0.6.12.2.02.3.0(transitive)
- Removedcryptiles@0.2.2(transitive)
- Removedcss-parse@1.7.0(transitive)
- Removedctype@0.5.3(transitive)
- Removeddebug@2.0.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddelayed-stream@0.0.5(transitive)
- Removeddiff@1.0.8(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedescape-string-regexp@1.0.21.0.5(transitive)
- Removedfor-each@0.3.4(transitive)
- Removedforever-agent@0.5.2(transitive)
- Removedform-data@0.1.4(transitive)
- Removedformatio@1.0.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedget-stdin@3.0.2(transitive)
- Removedglob@3.2.3(transitive)
- Removedgopd@1.2.0(transitive)
- Removedgraceful-fs@2.0.33.0.12(transitive)
- Removedgrowl@1.8.1(transitive)
- Removedhandlebars@2.0.0(transitive)
- Removedhas-ansi@0.1.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhawk@1.1.1(transitive)
- Removedhoek@0.9.1(transitive)
- Removedhttp-signature@0.10.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arguments@1.2.0(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.1.0(transitive)
- Removedis-regex@1.2.1(transitive)
- Removedis-typed-array@1.1.15(transitive)
- Removedjade@0.26.3(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedkss@1.2.0(transitive)
- Removedless@1.7.5(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedmarked@0.3.19(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedmime@1.2.11(transitive)
- Removedmime-types@1.0.2(transitive)
- Removedminimatch@0.2.14(transitive)
- Removedminimist@0.0.81.2.8(transitive)
- Removedmkdirp@0.3.00.3.50.5.00.5.6(transitive)
- Removedmocha@1.21.5(transitive)
- Removedms@0.6.2(transitive)
- Removednan@1.3.0(transitive)
- Removednatives@1.1.6(transitive)
- Removednatural@0.1.29(transitive)
- Removednode-sass@0.9.6(transitive)
- Removednode-sass-middleware@0.3.1(transitive)
- Removednode-uuid@1.4.8(transitive)
- Removednode-watch@0.3.5(transitive)
- Removedoauth-sign@0.3.0(transitive)
- Removedobject-assign@1.0.0(transitive)
- Removedoptimist@0.3.7(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedqs@1.0.2(transitive)
- Removedrequest@2.40.0(transitive)
- Removedsafe-regex-test@1.1.0(transitive)
- Removedsamsam@1.1.3(transitive)
- Removedsax@0.5.8(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedshelljs@0.3.0(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedsinon@1.10.3(transitive)
- Removedsntp@0.2.4(transitive)
- Removedsource-map@0.1.43(transitive)
- Removedstringstream@0.0.6(transitive)
- Removedstrip-ansi@0.3.0(transitive)
- Removedstylus@0.48.1(transitive)
- Removedsupports-color@0.2.0(transitive)
- Removedsylvester@0.0.21(transitive)
- Removedtldts@6.1.76(transitive)
- Removedtldts-core@6.1.76(transitive)
- Removedtough-cookie@5.1.0(transitive)
- Removedtunnel-agent@0.4.3(transitive)
- Removeduglify-js@2.3.6(transitive)
- Removedunderscore@1.13.7(transitive)
- Removedutil@0.12.5(transitive)
- Removedwhich-typed-array@1.1.18(transitive)
- Removedwordwrap@0.0.3(transitive)
- Removedwrench@1.5.9(transitive)
- Removedyargs@1.3.3(transitive)