lint
eslint --ext .ts,.tsx,.js,.jsx src/ perf/
perf
node perf/runner.js
test
web-test-runner
build
rollup --config rollup.config.js && CJS=1 rollup --config rollup.config.js
format
prettier --write '{doc,src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{js,jsx,json,ts,tsx,html,css,md}'
prepack
npm run prepublishOnly
prepare
rm -f node_modules/fetch-mock/esm/client.d.ts && tool/get-deps.sh
test:watch
web-test-runner --watch
build:watch
rollup --config rollup.config.js --watch
check-format
prettier --check '{doc,src,sample,perf}/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{js,jsx,json,ts,tsx,html,css,md}'
prepublishOnly
npm run lint && tool/get-deps.sh && npm run test && rm -rf out && npm run build