-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPDATED: The UrbanJS Tools is upgraded to version 0.2.3.
- Loading branch information
Showing
3 changed files
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
'use strict'; | ||
|
||
const path = require('path'); | ||
const gulp = require('gulp'); | ||
const urbanjs = require('urbanjs-tools'); | ||
|
||
// Disable some UrbanJS features not used in this project. | ||
urbanjs.initialize(gulp, { | ||
eslint: { | ||
configFile: path.join(__dirname, './.eslintrc') | ||
}, | ||
jest: false, | ||
jsdoc: false, | ||
retire: false, | ||
webpack: false | ||
}); | ||
|
||
// Although UrbanJS provides a default 'pre-commit' task, it is overridden here to remove the 'test' subtask from it. | ||
gulp.task('pre-commit', ['analyse']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters