rate-limit-redis
v3.1.0clean
del-cli dist/ coverage/ *.log *.tmp *.tgz *.bak
build:cjs
esbuild --bundle --platform=node --format=cjs --outfile=dist/index.cjs --footer:js="module.exports = RedisStore; module.exports.default = RedisStore;" src/index.ts
build:esm
esbuild --bundle --platform=node --format=esm --outfile=dist/index.mjs src/index.ts
build:types
dts-bundle-generator --out-file=dist/index.d.ts src/index.ts
compile
run-s clean build:*
lint:code
xo
lint:rest
prettier --check --ignore-path=.gitignore .
lint
run-s lint:*
autofix:code
xo --fix
autofix:rest
prettier --write --ignore-path=.gitignore .
autofix
run-s autofix:*
test:lib
cross-env NODE_OPTIONS="--experimental-vm-modules" jest --passWithNoTests
test
run-s lint test:*
pre-commit
lint-staged
prepare
run-s compile && husky install config/husky
npm i [email protected]
Metadata
- MIT
- >= 14.5.0
- Wyatt Johnson
- released 9/1/2023