-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moving from 'es' build to more standard 'esm' build - Moving from mocha and sinon to jest - Removing automated code coverage for simplicity (can just use jest for now) - Upgrading to latest flow - Upgrading to latest for all dependencies
- Loading branch information
1 parent
a48573c
commit f46d680
Showing
32 changed files
with
7,233 additions
and
630 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,3 +1,22 @@ | ||
{ | ||
"presets": ["./.babelrc.js"] | ||
} | ||
"presets": [ | ||
"flow", | ||
["env", { "modules": false, "loose": true }] | ||
], | ||
"comments": false, | ||
"plugins": [ | ||
"transform-object-rest-spread" | ||
], | ||
"env": { | ||
"cjs": { | ||
"plugins": [ | ||
"transform-es2015-modules-commonjs" | ||
] | ||
}, | ||
"test": { | ||
"plugins": [ | ||
"transform-es2015-modules-commonjs" | ||
] | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ie >= 11 | ||
last 1 Edge version | ||
last 1 Firefox version | ||
last 1 Chrome version | ||
last 1 Safari version | ||
last 1 iOS version | ||
last 1 Android version | ||
last 1 ChromeAndroid version |
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
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,15 +1,5 @@ | ||
[ignore] | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[options] | ||
|
||
# Opting in to 'Strict Checking of Function Call Arity' | ||
# https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/ | ||
experimental.strict_call_arity=true | ||
|
||
# Provides a way to suppress flow errors in the following line. | ||
# Example: // $FlowFixMe: This following line is borked because of reasons. | ||
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe | ||
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe | ||
suppress_comment= \\(.\\|\n\\)*\\$ExpectEror |
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 |
---|---|---|
|
@@ -10,7 +10,8 @@ node_modules/ | |
|
||
# generated files | ||
lib/ | ||
es/ | ||
.nyc_output/ | ||
coverage.lcov | ||
coverage/ | ||
esm/ | ||
|
||
# editors | ||
.idea | ||
.vscode |
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,8 +1,7 @@ | ||
language: node_js | ||
cache: yarn | ||
node_js: | ||
- "6.9" | ||
- '8.4' | ||
script: | ||
- "yarn run test" | ||
after_success: | ||
- "yarn run coverage" | ||
- yarn run validate | ||
- yarn run test |
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,108 @@ | ||
// flow-typed signature: d8044ea585ac81bc8bde751918bbb405 | ||
// flow-typed version: <<STUB>>/babel-cli_v6.26.0/flow_v0.68.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* 'babel-cli' | ||
* | ||
* Fill this stub out by replacing all the `any` types. | ||
* | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module 'babel-cli' { | ||
declare module.exports: any; | ||
} | ||
|
||
/** | ||
* We include stubs for each file inside this npm package in case you need to | ||
* require those files directly. Feel free to delete any files that aren't | ||
* needed. | ||
*/ | ||
declare module 'babel-cli/bin/babel-doctor' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/bin/babel-external-helpers' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/bin/babel-node' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/bin/babel' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/_babel-node' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/babel-external-helpers' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/babel-node' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/babel/dir' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/babel/file' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/babel/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module 'babel-cli/lib/babel/util' { | ||
declare module.exports: any; | ||
} | ||
|
||
// Filename aliases | ||
declare module 'babel-cli/bin/babel-doctor.js' { | ||
declare module.exports: $Exports<'babel-cli/bin/babel-doctor'>; | ||
} | ||
declare module 'babel-cli/bin/babel-external-helpers.js' { | ||
declare module.exports: $Exports<'babel-cli/bin/babel-external-helpers'>; | ||
} | ||
declare module 'babel-cli/bin/babel-node.js' { | ||
declare module.exports: $Exports<'babel-cli/bin/babel-node'>; | ||
} | ||
declare module 'babel-cli/bin/babel.js' { | ||
declare module.exports: $Exports<'babel-cli/bin/babel'>; | ||
} | ||
declare module 'babel-cli/index' { | ||
declare module.exports: $Exports<'babel-cli'>; | ||
} | ||
declare module 'babel-cli/index.js' { | ||
declare module.exports: $Exports<'babel-cli'>; | ||
} | ||
declare module 'babel-cli/lib/_babel-node.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/_babel-node'>; | ||
} | ||
declare module 'babel-cli/lib/babel-external-helpers.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/babel-external-helpers'>; | ||
} | ||
declare module 'babel-cli/lib/babel-node.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/babel-node'>; | ||
} | ||
declare module 'babel-cli/lib/babel/dir.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/babel/dir'>; | ||
} | ||
declare module 'babel-cli/lib/babel/file.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/babel/file'>; | ||
} | ||
declare module 'babel-cli/lib/babel/index.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/babel/index'>; | ||
} | ||
declare module 'babel-cli/lib/babel/util.js' { | ||
declare module.exports: $Exports<'babel-cli/lib/babel/util'>; | ||
} |
Oops, something went wrong.