From ad97240d379fa1ed6c115ebf27a3c1123502007b Mon Sep 17 00:00:00 2001 From: Is Isilon Date: Tue, 1 Mar 2016 17:04:55 +0800 Subject: [PATCH] Autogen service options --- package.json | 9 +++- public/index.html | 69 ++++++++++++++----------- public/js/main.js | 117 +++++++++++++++++++++++++----------------- public/js/test.js | 3 +- public/js/testData.js | 19 +++++++ public/test.html | 2 +- 6 files changed, 136 insertions(+), 83 deletions(-) diff --git a/package.json b/package.json index 1ea7d47..ca1922d 100644 --- a/package.json +++ b/package.json @@ -8,15 +8,20 @@ "test": "public/test.html", "build-css": "lessc ./src/less/main.less > public/css/style.css", "build": "npm run build-css", - "start": "node server.js" + "start": "node server.js", + "debug": "NODE_ENV=dev DEBUG=* nodemon server", + "production": "NODE_ENV=production npm start" }, "author": "blackmia,wassname", "license": "MIT", "devDependencies": { "chai": "^3.5.0", "cors": "^2.7.1", + "debug": "^2.2.0", "express": "^4.13.4", "lessc": "latest", - "mocha": "^2.4.5" + "mocha": "^2.4.5", + "morgan": "^1.6.1", + "winston": "^2.1.1" } } diff --git a/public/index.html b/public/index.html index f77934d..7383976 100644 --- a/public/index.html +++ b/public/index.html @@ -72,7 +72,7 @@ lying internet
+ + +
+ + +
+
+ + +
+ + + +
+ +
+
@@ -389,34 +413,6 @@ lying internet
-
- - -
-
- - -
- - - - - -
- -
@@ -471,11 +467,11 @@ lying internet - + - + @@ -488,6 +484,17 @@ lying internet Fork me on GitHub + + - +