@krakenjs/cross-domain-safe-weakmap
v3.0.0-alpha.2 template
build
npm run test && npm run babel && npm run webpack && npm run build:types
build:flow
find ./dist -type f -not -path './node_modules/*' -name '*.d.ts' -exec sh -c 'flowgen --add-flow-header $1 -o ${1%.*.*}.js.flow' _ '{}' \;
build:tsc
tsc src/* --outDir ./dist/esm --declaration --emitDeclarationOnly --strict
build:types
npm run build:tsc && npm run build:flow
webpack
cross-env NODE_ENV=production babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress
babel
cross-env NODE_ENV=production babel src/ --out-dir ./dist/esm/ --extensions .ts,.tsx
tsc
tsc
format
prettier --write --ignore-unknown .
format:check
prettier --check .
test
npm run format:check && npm run lint && npm run tsc --no-emit && npm run vitest
lint
eslint --ext ts,tsx,js,jsx src/ test/
clean
rimraf dist coverage
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
debug
cross-env NODE_ENV=debug
prepare
husky install
vitest
vitest run --dom --coverage
vitest:watch
vitest watch --dom --coverage --ui
npm i @krakenjs/[email protected]
Metadata
- Apache-2.0
- Whatever
- Unknown
- released 11/22/2022