-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
40 additions
and
48 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,4 +1,4 @@ | ||
name: Publish Package to npm | ||
name: Publish package to npm | ||
on: | ||
release: | ||
types: [created] | ||
|
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,7 @@ | ||
# build | ||
|
||
The directory is used to build a single file which contains everything. | ||
|
||
The single file uses iife wrapper and can be used in browsers as-is. | ||
|
||
Don't use it unless you can't use NPM/ESM, which support tree shaking. |
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 +1 @@ | ||
export { addr, Transaction, messenger } from 'micro-eth-signer'; | ||
export { addr, Transaction, messenger } from 'lib'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,23 +1,5 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2020", | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"sourceMap": false, | ||
"allowSyntheticDefaultImports": false, | ||
"allowUnreachableCode": false, | ||
"esModuleInterop": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noUncheckedIndexedAccess": false, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"baseUrl": "src", | ||
|
||
"module": "es2020", | ||
"outDir": "lib/esm", | ||
"moduleResolution": "bundler" | ||
}, | ||
"extends": "@paulmillr/jsbt/tsconfigs/esm.json", | ||
"include": ["src"], | ||
"exclude": ["node_modules", "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
{ | ||
"extends": "./tsconfig.esm.json", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"moduleResolution": "node10", | ||
"outDir": "lib", | ||
"declaration": true, | ||
"declarationMap": true | ||
} | ||
"extends": "@paulmillr/jsbt/tsconfigs/cjs.json", | ||
"include": ["src"], | ||
"exclude": ["node_modules", "lib"] | ||
} |