Skip to content

Commit

Permalink
chore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Feb 8, 2016
1 parent 2209f28 commit 0684cc7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 56 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@
"bootstrap": "^4.0.0-alpha.2",
"browser-sync": "^2.10.0",
"del": "^2.2.0",
"eslint": "^1.8.0",
"eslint-config-standard": "^4.4.0",
"eslint": "^2.0.0-rc.0",
"eslint-config-standard": "^5.1.0",
"eslint-plugin-promise": "^1.0.8",
"eslint-plugin-standard": "^1.3.1",
"gulp": "^3.9.0",
"gulp-batch": "^1.0.5",
"gulp-eslint": "^1.1.1",
"gulp-eslint": "^2.0.0-rc-3",
"gulp-load-plugins": "^1.1.0",
"gulp-util": "^3.0.7",
"gulp-watch": "^4.3.5",
"harp": "^0.20.0",
"jquery": "^2.1.4",
"lodash": "^3.10.1",
"lodash": "^4.3.0",
"mkdirp": "^0.5.1",
"platform": "^1.3.1",
"pre-commit": "^1.1.2",
Expand Down
45 changes: 0 additions & 45 deletions site/package.json

This file was deleted.

6 changes: 3 additions & 3 deletions tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ gulp.task('webpack:prod', () => {
.pipe(gulp.dest('site/'))
})

gulp.task('harp:compile', done => {
gulp.task('harp:compile', (done) => {
harp.compile('./site', '../www', done)
})

gulp.task('copy:site', done => {
gulp.task('copy:site', (done) => {
return gulp.src(['./www/**/*'])
.pipe(gulp.dest('./releases'))
})

gulp.task('build', done => {
gulp.task('build', (done) => {
runSequence(
['clean', 'dist'],
'webpack:prod',
Expand Down
4 changes: 2 additions & 2 deletions tasks/dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function writeSiteFiles (type, done) {
fs.stat(join(RELEASE_PATH, type), (err, stats) => {
if (err) return done(err)

if (stats.isDirectory() && !_.contains(['fonts'], type)) {
if (stats.isDirectory() && !_.includes(['fonts'], type)) {
getVersion(type, (err, version) => {
if (err) return done(err)

Expand All @@ -64,7 +64,7 @@ gulp.task('clean:release:site', () => {
])
})

gulp.task('dist', ['clean:release:site'], done => {
gulp.task('dist', ['clean:release:site'], (done) => {
fs.readdir(RELEASE_PATH, (err, types) => {
if (err) return fail(err.msg)

Expand Down
4 changes: 2 additions & 2 deletions tasks/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ const _ = require('lodash')

const config = require('./config')

const tmpFiles = p => {
const tmpFiles = (p) => {
const file = _.last(p.split('/'))
const emacsTmp = !!file.match(/^\.#/)
const flycheck = !!file.match(/^flycheck/)

return emacsTmp || flycheck
}

const makeGlob = ext => `site/public/**/*.${ext}`
const makeGlob = (ext) => `site/public/**/*.${ext}`

const styles = [
'css',
Expand Down

0 comments on commit 0684cc7

Please sign in to comment.