-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/origin/develop'
- Loading branch information
Showing
63 changed files
with
9,447 additions
and
757 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,6 +1,6 @@ | ||
{ | ||
"presets": [ | ||
"es2015" | ||
"@babel/preset-env" | ||
], | ||
"retainLines": false | ||
} |
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,16 +1,16 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "4" | ||
- "5" | ||
- "6" | ||
- "8" | ||
- "10" | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
before_install: | ||
- npm install -g gulp | ||
script: | ||
- npm test | ||
|
||
after_success: | ||
- gulp docu | ||
- npm run docu |
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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fixes #{issusenumber} | ||
|
||
describe shortly what you did and what is missing before we can merge |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,17 @@ | ||
var | ||
const | ||
gulp = require('gulp'), | ||
babel = require('gulp-babel'), | ||
del = require('del'); | ||
|
||
gulp.task('cleanLib', function () { | ||
return del('lib/*'); | ||
}); | ||
gulp.task('clean', () => del('lib/*')); | ||
|
||
gulp.task('copyTypings', ['cleanLib'], function () { | ||
return gulp.src('src/**/*.d.ts') | ||
.pipe(gulp.dest('lib')); | ||
}); | ||
gulp.task('copyTypings', () => gulp.src('src/**/*.d.ts').pipe(gulp.dest('lib'))); | ||
|
||
gulp.task('copyJsons', ['cleanLib'], function () { | ||
return gulp.src('src/**/*.json') | ||
.pipe(gulp.dest('lib')); | ||
}); | ||
gulp.task('copyJsons', () => gulp.src('src/**/*.json').pipe(gulp.dest('lib'))); | ||
|
||
gulp.task('build', ['copyJsons', 'copyTypings', 'lint', 'test'], function () { | ||
return gulp.src('src/**/*.js') | ||
.pipe(babel({ | ||
presets: ['es2015'] | ||
})) | ||
.pipe(gulp.dest('lib')); | ||
}); | ||
gulp.task('build', gulp.series(['clean', 'copyJsons', 'copyTypings', 'lint', 'test'], () => gulp.src('src/**/*.js') | ||
.pipe(babel({ | ||
presets: ['@babel/env'] | ||
})) | ||
.pipe(gulp.dest('lib')))); | ||
|
This file was deleted.
Oops, something went wrong.
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,13 +1,11 @@ | ||
var | ||
const | ||
gulp = require('gulp'), | ||
del = require('del'), | ||
run = require('gulp-run'); | ||
|
||
|
||
gulp.task('docu', ['cleanDocuOut'], function () { | ||
run('jsdoc src -r -d docu --readme ./README.md -c ./build/jsdoc.conf.json').exec().pipe(gulp.dest('output')); | ||
}); | ||
gulp.task('cleanDocuOut', () => del('docu/*')); | ||
|
||
gulp.task('cleanDocuOut', function () { | ||
return del('docu/*'); | ||
}); | ||
gulp.task('docu', gulp.series(['cleanDocuOut'], () => { | ||
run('jsdoc src -r -d docu --readme ./README.md -c ./build/jsdoc.conf.json').exec().pipe(gulp.dest('output')); | ||
})); |
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,10 +1,8 @@ | ||
var | ||
gulp = require('gulp'), | ||
eslint = require('gulp-eslint'); | ||
const | ||
gulp = require('gulp'), | ||
eslint = require('gulp-eslint'); | ||
|
||
gulp.task('lint', function () { | ||
return gulp.src(['./gulpfile.js', './src/**/*.js', './test/unit/**/*.js', './build/*.js']) | ||
.pipe(eslint()) | ||
.pipe(eslint.format()) | ||
.pipe(eslint.failAfterError()); | ||
}); | ||
gulp.task('lint', () => gulp.src(['./gulpfile.js', './src/**/*.js', './test/unit/**/*.js', './build/*.js']) | ||
.pipe(eslint()) | ||
.pipe(eslint.format()) | ||
.pipe(eslint.failAfterError())); |
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,24 +1,15 @@ | ||
var | ||
const | ||
gulp = require('gulp'), | ||
mocha = require('gulp-mocha'), | ||
babelRegister = require('babel-register'), | ||
del = require('del'); | ||
|
||
|
||
var mochaOpts = { | ||
const mochaOpts = { | ||
reporter: 'spec', | ||
// our code is written in ES2015, transpile with babel before running mocha tests | ||
// note, when you run mocha from the command line : mocha --compilers js:babel-register | ||
compilers: { | ||
js: babelRegister | ||
} | ||
compilers: ['js:@babel/register'] | ||
}; | ||
|
||
gulp.task('test', ['cleanTestOut'], function () { | ||
return gulp.src('./test/unit/**/*.js', {read: false}) | ||
.pipe(mocha(mochaOpts)); | ||
}); | ||
gulp.task('cleanTestOut', () => del('test/out/*')); | ||
|
||
gulp.task('cleanTestOut', function () { | ||
return del('test/out/*'); | ||
}); | ||
gulp.task('test', gulp.series(['cleanTestOut'], () => gulp.src('./test/unit/**/*.js', {read: false}) | ||
.pipe(mocha(mochaOpts)))); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Greenkeeper | ||
Greenkeeper will automatically generate pull requests if a dependency update is available. | ||
|
||
For more information visit [greenkeeper.io](https://www.greenkeeper.io) | ||
|
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
Oops, something went wrong.