From c6ac965fb7d6b5680f32f41db6e9157fe9abad59 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 1 Apr 2018 11:00:30 -0400 Subject: use the built-in npm-config system instead of a custom one --- package.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 2c2a535..a59d006 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,21 @@ "description": "TMW RESTful API", "author": "The Mana World", "license": "CC0-1.0", + "config": { + "port": 8080, + + "sql": { + "host": "localhost", + "user": "db user", + "password": "db password", + "database": "db", + "table": "table" + }, + + "recaptcha": { + "secret": "recaptcha secret key" + } + }, "repository": { "type": "git", "url": "https://github.com/themanaworld/api.git" -- cgit v1.2.3-70-g09d2