This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 786
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package now consists of ES2015 and commonjs (#1576)
* pull rollup, adjust prettier execution, use husky for git hooks * differentiate cjs from mjs * esm looks correct * simply use lib to build our final package - no need to copy to another folder * add package prep as postcompile for easier testing of package creation * changelog * no longer need to ignore npm * re-establish rollup to create file for bundlesize check and ignore it for final package * use `bundlesize` dir to better signal the intent (not a final package file)
- Loading branch information
Showing
9 changed files
with
183 additions
and
146 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,21 +1 @@ | ||
example | ||
src | ||
test | ||
appveyor.yml | ||
tsconfig.json | ||
tslint.json | ||
typings.json | ||
ambient.d.ts | ||
coverage | ||
scripts | ||
.prettierrc | ||
.github | ||
.travis.yml | ||
.vscode | ||
.idea | ||
CONTRIBUTING.md | ||
dangerfile.ts | ||
renovate.json | ||
ROADMAP.md | ||
rollup.* | ||
yarn.lock | ||
bundlesize |
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es5", | ||
"lib": ["es2015", "dom"], | ||
"moduleResolution": "node", | ||
"sourceMap": true, | ||
"noImplicitAny": false, | ||
"outDir": "lib", | ||
"allowSyntheticDefaultImports": false, | ||
"experimentalDecorators": true, | ||
"pretty": true, | ||
"removeComments": true, | ||
"jsx": "react", | ||
"skipLibCheck": true, | ||
"noUnusedLocals": true | ||
}, | ||
"include": ["./typings/**/*", "./src/**/*", "./test/**/*"], | ||
"exclude": ["./node_modules", "./dist", "./lib"] | ||
} |
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.