Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit c17331d

Browse files
author
williamd5
committed
fix entry point and add scripts
1 parent 46c50f7 commit c17331d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"name": "cldn-ratelimit",
33
"version": "1.0.0",
44
"description": "Simple ratelimiter for Node.js",
5-
"main": "index.js",
5+
"main": "lib/RateLimit.js",
6+
"type": "module",
67
"scripts": {
7-
"test": "c8 mocha"
8+
"_test": "mocha",
9+
"test": "c8 npm run _test",
10+
"coverage": "c8 --reporter=html npm run _test",
11+
"build": "tsc"
812
},
913
"repository": {
1014
"type": "git",

0 commit comments

Comments
 (0)