-
-
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.
Merge pull request #14 from brozeph/v1.0.0
V1.0.0
- Loading branch information
Showing
13 changed files
with
9,920 additions
and
100 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env" | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-runtime" | ||
], | ||
"sourceMaps": true | ||
} |
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,4 +1,5 @@ | ||
.DS_Store | ||
.nyc_output | ||
npm-debug.log | ||
lib-cov | ||
node_modules | ||
|
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,51 @@ | ||
src | ||
test | ||
|
||
# Compiled source # | ||
################### | ||
*.com | ||
*.class | ||
*.dll | ||
*.exe | ||
*.o | ||
*.so | ||
|
||
# Packages # | ||
############ | ||
# it's better to unpack these files and commit the raw source | ||
# git has its own built in compression methods | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# Logs and databases # | ||
###################### | ||
*.log | ||
*.sql | ||
*.sqlite | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store? | ||
ehthumbs.db | ||
Icon? | ||
Thumbs.db | ||
|
||
# Everything else # | ||
###################### | ||
.nyc_output | ||
.babelrc | ||
.coveralls.yml | ||
.gitignore | ||
.travis.yml | ||
.vscode | ||
gulpfile.babel.js | ||
lib-cov | ||
node-chess.tmproj #textmate project file | ||
node_modules | ||
reports |
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,4 +1,4 @@ | ||
language: node_js | ||
node_js: | ||
- 4 | ||
- 5 | ||
- 8 | ||
- 10 |
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,36 @@ | ||
import { dest, series, src } from 'gulp'; | ||
import babel from 'gulp-babel'; | ||
import coveralls from 'gulp-coveralls'; | ||
import del from 'gulp-clean'; | ||
import eslint from 'gulp-eslint'; | ||
import sourcemaps from 'gulp-sourcemaps'; | ||
|
||
function build () { | ||
return src('src/**/*.js') | ||
.pipe(sourcemaps.init()) | ||
.pipe(babel()) | ||
.pipe(sourcemaps.write('.')) | ||
.pipe(dest('dist')); | ||
} | ||
|
||
function clean () { | ||
return src(['dist', 'reports'], { allowEmpty : true, read : false }) | ||
.pipe(del()); | ||
} | ||
|
||
function lint () { | ||
return src(['gulpfile.babel.js', 'src/**/*.js', 'test/**/*.js']) | ||
.pipe(eslint()) | ||
.pipe(eslint.format()) | ||
.pipe(eslint.failAfterError()); | ||
} | ||
|
||
function reportCoverage () { | ||
return src(['reports/lcov.info']).pipe(coveralls()); | ||
} | ||
|
||
exports.build = build; | ||
exports.clean = clean; | ||
exports.default = series(clean, lint, build); | ||
exports.lint = lint; | ||
exports.reportCoverage = reportCoverage; |
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
Oops, something went wrong.