Skip to content

Instantly share code, notes, and snippets.

@jnpkr
Created July 21, 2016 16:08
Show Gist options
  • Save jnpkr/6feb7c6311dd0bf2cc35b49be02d4865 to your computer and use it in GitHub Desktop.
Save jnpkr/6feb7c6311dd0bf2cc35b49be02d4865 to your computer and use it in GitHub Desktop.
Basic Boostrap
{
"name": "bstest",
"authors": [
"Jon Parker"
],
"description": "",
"main": "",
"license": "MIT",
"homepage": "",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"bootstrap-sass": "^3.3.6"
}
}
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass', function () {
return gulp.src('./styles.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./'));
});
gulp.task('default', ['sass'], function () {
gulp.watch('./styles.scss', ['sass']);
});
{
"name": "bstest",
"version": "1.0.0",
"description": "",
"main": "gulpfile.js",
"dependencies": {
"gulp-sass": "^2.3.2",
"gulp": "^3.9.1"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-sass": "^2.3.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
@import "bower_components/bootstrap-sass/assets/stylesheets/bootstrap";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment