-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
11 changed files
with
35 additions
and
170 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,2 +1 @@ | ||
github: paulmillr | ||
# custom: https://paulmillr.com/funding/ |
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: Node CI | ||
name: Run node.js tests | ||
on: | ||
- push | ||
- pull_request | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# build | ||
|
||
The directory is used to build a single file `noble-ciphers.js` which contains everything. | ||
The directory is used to build a single file which contains everything. | ||
|
||
The output file uses iife wrapper and can be used in browsers as-is. | ||
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. |
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,25 +1,12 @@ | ||
{ | ||
"extends": "@paulmillr/jsbt/tsconfigs/esm.json", | ||
"compilerOptions": { | ||
"target": "es2020", | ||
"lib": ["es2020"], | ||
"strict": true, | ||
"sourceMap": true, | ||
"allowSyntheticDefaultImports": false, | ||
"allowUnreachableCode": false, | ||
"esModuleInterop": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noUncheckedIndexedAccess": false, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"outDir": "esm", | ||
"baseUrl": ".", | ||
"paths": { | ||
"@noble/ciphers/crypto": ["src/crypto.ts"] | ||
}, | ||
"module": "Node16", | ||
"outDir": "esm", | ||
"moduleResolution": "Node16" | ||
} | ||
}, | ||
"include": ["src"], | ||
"include": ["index.ts", "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,12 @@ | ||
{ | ||
"extends": "./tsconfig.esm.json", | ||
"extends": "@paulmillr/jsbt/tsconfigs/cjs.json", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"moduleResolution": "node10", | ||
"outDir": ".", | ||
"declaration": true, | ||
"declarationMap": true | ||
} | ||
"baseUrl": ".", | ||
"paths": { | ||
"@noble/ciphers/crypto": ["src/crypto.ts"] | ||
} | ||
}, | ||
"include": ["index.ts", "src"], | ||
"exclude": ["node_modules", "lib"] | ||
} |