diff options
author | gumi <git@gumi.ca> | 2018-04-09 14:27:24 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-04-09 14:27:24 -0400 |
commit | 662044418fcda97669c9401c6e6a7275e7e71b93 (patch) | |
tree | 85ddeb563f891a32920ff02036d1db103fafe18b /package.json | |
parent | 6fbea1b71025c16f537546459f739d73b1c3f3f9 (diff) | |
download | apiv1-662044418fcda97669c9401c6e6a7275e7e71b93.tar.gz apiv1-662044418fcda97669c9401c6e6a7275e7e71b93.tar.bz2 apiv1-662044418fcda97669c9401c6e6a7275e7e71b93.tar.xz apiv1-662044418fcda97669c9401c6e6a7275e7e71b93.zip |
add rate limiting
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/package.json b/package.json index b8d511f..c43e10c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "config": { "port": 8080, "timezone": "UTC", - "sql": { "host": "localhost", "user": "db user", @@ -15,12 +14,10 @@ "database": "db", "table": "table" }, - "recaptcha": { "secret": "recaptcha secret key" }, - - "tmwa" : { + "tmwa": { "name": "The Mana World Legacy Server", "url": "tmwa://server.themanaworld.org:6901" } @@ -35,12 +32,16 @@ "main": "server.js", "private": true, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "test": "node_modules/nsp/bin/nsp check", "start": "node server.js" }, "dependencies": { "body-parser": "^1.18.2", "express": "^4.16.3", - "mysql": "^2.15.0" + "mysql": "^2.15.0", + "safe-regex": "^1.1.0" + }, + "devDependencies": { + "nsp": "^3.2.1" } } |