Commit 83c694ef authored by Dan Allen's avatar Dan Allen

apply format script to build files

parent 72a2b42d
......@@ -5,7 +5,7 @@ const gulp = require('gulp')
const lint = require('./tasks/lint-task')
const test = require('./tasks/test-task')
gulp.task('lint', () => lint(['{lib*,test}/**/*.js', 'packages/*/{lib,test}/**/*.js']))
gulp.task('lint', () => lint(['gulpfile.js', '{lib*,tasks,test}/**/*.js', 'packages/*/{lib,test}/**/*.js']))
gulp.task('test', ['lint'], () => test(['test/**/*-test.js', 'packages/*/test/**/*-test.js']))
gulp.task('test-only', () => test(['test/**/*-test.js', 'packages/*/test/**/*-test.js']))
gulp.task('default', ['test'])
......@@ -15,7 +15,7 @@
"test": "nyc --reporter=html --reporter=text mocha",
"test-watch": "nodemon --exec 'nyc --reporter=lcov --reporter=text mocha || true'",
"lint": "standard '{lib*,test}/**/*.js' 'packages/*/{lib,test}/**/*.js' | snazzy",
"format": "prettier-standard '{lib*,test}/**/*.js' 'packages/*/{lib,test}/**/*.js'"
"format": "prettier-standard gulpfile.js '{lib*,tasks,test}/**/*.js' 'packages/*/{lib,test}/**/*.js'"
},
"devDependencies": {
"array-to-stream": "^1.0.2",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment