2023-03-18 23:40:40 +01:00
|
|
|
{
|
|
|
|
|
"name": "@xaymar/ratelimiter",
|
2023-03-19 00:27:48 +01:00
|
|
|
"author": "Michael Fabian 'Xaymar' Dirks <info@xaymar.com>",
|
2023-03-18 23:40:40 +01:00
|
|
|
"description": "A simple but effective way to rate limit Tasks in JavaScript.",
|
2023-03-19 00:27:48 +01:00
|
|
|
"license": "GPLv3",
|
|
|
|
|
"repository": "https://github.com/Xaymar/js-ratelimiter",
|
2023-03-19 02:14:40 +01:00
|
|
|
"version": "0.3.0",
|
2023-03-19 00:27:48 +01:00
|
|
|
"funding": {
|
|
|
|
|
"type": "patreon",
|
|
|
|
|
"url": "https://www.patreon.com/xaymar"
|
|
|
|
|
},
|
2023-03-18 23:40:40 +01:00
|
|
|
"main": "generated/ratelimiter.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"lint": "npx eslint ./source --ext .ts,.mts",
|
|
|
|
|
"fix": "npx eslint ./source --ext .ts,.mts --fix",
|
|
|
|
|
"compile": "npx tsc",
|
|
|
|
|
"build": "npm run fix && npm run compile",
|
|
|
|
|
"prepublish": "npm run build",
|
2023-03-19 01:51:44 +01:00
|
|
|
"test": "node ./tests/test.js"
|
2023-03-18 23:40:40 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/express": "^4.17.17",
|
|
|
|
|
"@types/node": "^18.15.3",
|
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
|
|
|
"@typescript-eslint/parser": "^5.43.0",
|
|
|
|
|
"eslint": "^8.27.0",
|
|
|
|
|
"typescript": "^4.9.3"
|
|
|
|
|
}
|
|
|
|
|
}
|