Skip to content

Commit

Permalink
More build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Nov 22, 2024
1 parent ca022b3 commit 1811d8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Audited & minimal JS implementation of Salsa20, ChaCha and AES.
- 💼 AES: ECB, CBC, CTR, CFB, GCM, SIV (nonce misuse-resistant), AESKW, AESKWP
- 💃 Salsa20, ChaCha, XSalsa20, XChaCha, ChaCha8, ChaCha12, Poly1305
- 🥈 Two AES implementations: pure JS or friendly wrapper around webcrypto
- 🪶 53KB (9KB gzipped) for everything, 7KB (3KB gzipped) for ChaCha build
- 🪶 29KB (11KB gzipped) for everything, 7KB (3KB gzipped) for ChaCha build

Take a glance at [GitHub Discussions](https://github.com/paulmillr/noble-ciphers/discussions) for questions and support.

Expand Down
3 changes: 2 additions & 1 deletion build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"build:release": "npx esbuild --bundle input.js --outfile=`npx jsbt outfile` --global-name=`npx jsbt global`",
"build:min": "npx esbuild --minify --bundle input.js --outfile=`npx jsbt outfile` --global-name=`npx jsbt global`"
"build:min": "npx esbuild --minify --bundle input.js --outfile=`npx jsbt outfile` --global-name=`npx jsbt global`",
"build:gzip": "gzip -c8 `npx jsbt outfile` > `npx jsbt outfile`.gz"
}
}

0 comments on commit 1811d8c

Please sign in to comment.