rmapi-js
v3.1.0 remarkable
doc
pnpify typedoc
fmt
pnpify prettier --cache --write 'src/*.ts' '*.json'
lint
pnpify tsc && yarn lint:es && yarn lint:doc
test
jest --coverage
build
pnpify tsc -p tsconfig.build.json && esbuild src/index.ts --bundle --minify --platform=node --outfile=bundle/rmapi-js.cjs.min.js && yarn esbuild src/index.ts --bundle --minify --platform=browser --outfile=bundle/rmapi-js.iife.min.js && yarn esbuild src/index.ts --bundle --minify --platform=neutral --outfile=bundle/rmapi-js.esm.min.js --main-fields=module,main
lint:es
pnpify eslint --cache 'src/*.ts'
prepack
yarn lint && yarn test && yarn build
lint:doc
pnpify typedoc --emit none