@krakenjs/cross-domain-safe-weakmap

v2.0.3
Cross domain safe WeakMap.
template

setup

npm install && npm run flow-typed

lint

eslint src/ test/ *.js

flow-typed

rm -rf ./flow-typed && flow-typed install

flow

flow

karma

cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start

babel

babel src/ --out-dir dist/module

webpack

babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress

test

npm run lint && npm run flow-typed && npm run flow && npm run karma

build

npm run test && npm run babel && npm run webpack

prerelease

npm run clean && npm run build && git add dist && git commit -m 'ci: check in dist folder' || echo 'Nothing to distribute'

release

standard-version

postrelease

git push && git push --follow-tags && npm publish

clean

rimraf dist coverage

reinstall

rimraf flow-typed && rimraf node_modules && npm install && flow-typed install

debug

cross-env NODE_ENV=debug

prepare

husky install
npm i @krakenjs/[email protected]

Metadata

Downloads