New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kss-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kss-bootstrap - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

.editorconfig

29

gulpfile.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc