summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-04-09 14:27:24 -0400
committergumi <git@gumi.ca>2018-04-09 14:27:24 -0400
commit662044418fcda97669c9401c6e6a7275e7e71b93 (patch)
tree85ddeb563f891a32920ff02036d1db103fafe18b /package.json
parent6fbea1b71025c16f537546459f739d73b1c3f3f9 (diff)
downloadapi-662044418fcda97669c9401c6e6a7275e7e71b93.tar.gz
api-662044418fcda97669c9401c6e6a7275e7e71b93.tar.bz2
api-662044418fcda97669c9401c6e6a7275e7e71b93.tar.xz
api-662044418fcda97669c9401c6e6a7275e7e71b93.zip
add rate limiting
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
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"
}
}