@agoric/make-hardener

v0.1.3
Create a 'hardener' which freezes the API surface of a set of objects
deepFreeze harden Object.freeze freeze

build

yarn build:types && yarn build:dist

build:dist

rollup --config rollup.config.js

build:types

tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types

clean

rm -rf dist

cover

nyc ava

lint

eslint '**/*.js'

lint-fix

eslint --fix '**/*.js'

lint:js

eslint '**/*.js'

lint:types

tsc --build jsconfig.json

prepublish

yarn clean && yarn build

test

ava
npm i @agoric/make-hardener

Metadata

Downloads