forked from not-an-aardvark/snoowrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Babel 7 and TypeScript support (not-an-aardvark#200)
* Added TS entrypoint in `package.json` * Added JS script for copying over d.ts files * Added npm script for type-checking TS files * Added npm script for generating .d.ts files from .ts files * Added TS-ESLint plugin and parser * Added TS definition files from DefinitelyTyped * Updated to Babel 7 - including plugins * Updated compile script to type-check, compile, and copy d.ts files * Updated ESLint to work with TS
- Loading branch information
Eric
authored
Aug 2, 2019
1 parent
957964c
commit 0ca7de3
Showing
27 changed files
with
9,847 additions
and
123 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,14 +1,15 @@ | ||
{ | ||
"ignore": ["**/*.d.ts"], | ||
"plugins": [ | ||
"lodash", | ||
"transform-async-to-generator", | ||
"transform-es2015-arrow-functions", | ||
"transform-es2015-block-scoping", | ||
"transform-es2015-destructuring", | ||
"transform-es2015-modules-commonjs", | ||
"transform-es2015-parameters", | ||
"transform-es2015-spread", | ||
"transform-es2015-template-literals", | ||
"transform-object-rest-spread" | ||
"@babel/plugin-transform-typescript", | ||
"@babel/plugin-transform-async-to-generator", | ||
"@babel/plugin-transform-arrow-functions", | ||
"@babel/plugin-transform-block-scoping", | ||
"@babel/plugin-transform-destructuring", | ||
"@babel/plugin-transform-modules-commonjs", | ||
"@babel/plugin-transform-parameters", | ||
"@babel/plugin-transform-spread", | ||
"@babel/plugin-transform-template-literals", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
] | ||
} |
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.