Remove unneeded files

master
Jeff Moe 6 years ago
parent e62b3c5bcf
commit 0d0d8fa35b

1
.gitignore vendored

@ -1 +0,0 @@
node_modules

@ -1,11 +0,0 @@
sudo: false
language: node_js
node_js:
- "node"
install: npm install
script:
- npm test
- gulp
cache:
directories:
- node_modules

@ -1,48 +0,0 @@
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var pkg = require('./package.json');
// Copy third party libraries from /node_modules into /vendor
gulp.task('vendor', function() {
// Bootstrap
gulp.src([
'./node_modules/bootstrap/dist/**/*',
'!./node_modules/bootstrap/dist/css/bootstrap-grid*',
'!./node_modules/bootstrap/dist/css/bootstrap-reboot*'
])
.pipe(gulp.dest('./vendor/bootstrap'))
// jQuery
gulp.src([
'./node_modules/jquery/dist/*',
'!./node_modules/jquery/dist/core.js'
])
.pipe(gulp.dest('./vendor/jquery'))
// jQuery Easing
gulp.src([
'node_modules/jquery.easing/*.js'
])
.pipe(gulp.dest('vendor/jquery-easing'))
})
// Default task
gulp.task('default', ['vendor']);
// Configure the browserSync task
gulp.task('browserSync', function() {
browserSync.init({
server: {
baseDir: "./"
}
});
});
// Dev task
gulp.task('dev', ['browserSync'], function() {
gulp.watch('./css/*.css', browserSync.reload);
gulp.watch('./js/*.js', browserSync.reload);
gulp.watch('./*.html', browserSync.reload);
});
Loading…
Cancel
Save