@webboot/cli
v0.0.1-alpha.9
Published
generate, verify, sign and release subresource integrity hashes for your static page.
Downloads
3
Maintainers
Readme
@webboot/cli
webboot command line interface.
install
// globally installed cli
npm install -g @webboot/cli
// locally in your app
npm install --save-dev --save-exact @webboot/cli
usage
after installing globally, webboot
will be available as an executable on the PATH.
if installed as local app npm dependency, webboot
will be available in package.json npm run scripts,
and installed in node_modules/.bin/webboot.
## cli
./docs is the default directory to build hashes for.
generate
generate sri-hashes.json
webboot generate --dir docs
verify
verify sri-hashes.json
webboot verify --dir docs
sign
sign sri-hashes.json
webboot sign --dir docs
release
release sri-hashes.json to the webboot network
webboot release --dir docs
changelog
0.0.1-alpha.0
preview release.
0.0.1-alpha.1
use npm packages for @webboot dependencies
0.0.1-alpha.2
update dependencies
0.0.1-alpha.3
update dependencies
0.0.1-alpha.4
bump required node version to 14.2.0
0.0.1-alpha.5
- update dependencies
0.0.1-alpha.6
- update deps
- tasks/prepare: better pgp key import messages
0.0.1-alpha.7
- update dependencies
0.0.1-alpha.8
- update dependencies
- update docs
0.0.1-alpha.9
- update dependencies
- update some flows to give better messages
- update cli flags, add --dry-run, --api-url
0.0.1 - unreleased
first release