Skip to content

Commit

Permalink
Chore: Add new npm scripts (#42) (#43)
Browse files Browse the repository at this point in the history
- build
- test:unit
- test:integration
- format
- format:check
  • Loading branch information
mertssmnoglu authored Jun 8, 2024
1 parent ccc06b4 commit 547e936
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
"description": "Provides a Mongo store for the express-rate-limit middleware.",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"lint": "eslint .",
"test": "mocha test/**/*spec.ts",
"coverage": "nyc npm test"
"test:unit": "mocha test/unit/*spec.ts",
"test:integration": "mocha test/integration/*spec.ts",
"coverage": "nyc npm test",
"format:check": "prettier --check .",
"format": "prettier --write ."
},
"keywords": [
"express-rate-limit",
Expand Down

0 comments on commit 547e936

Please sign in to comment.