Преглед изворни кода

Remove that shitty extraverse package and add dependencies for event scheduling

Matt Coles пре 9 година
родитељ
комит
0b94d573ee
2 измењених фајлова са 6 додато и 3 уклоњено
  1. 0 1
      index.js
  2. 6 2
      package.json

+ 0 - 1
index.js

@@ -16,7 +16,6 @@ app.use(function(req, res, next) {
16 16
 app.use(bodyParser.json()); // for parsing application/json
17 17
 app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlencoded
18 18
 app.use('/', route_manager);
19
-app.use('/source', require('extraverse')('/source', { ignore: ['config'] }));
20 19
 
21 20
 app.listen(3000, function () {
22 21
     console.log('Example app listening on port 3000!');

+ 6 - 2
package.json

@@ -6,13 +6,17 @@
6 6
   "scripts": {
7 7
     "test": "node index.js"
8 8
   },
9
+  "repository": {
10
+    "type": "git",
11
+    "url": "https://github.com/Alpha-Atom/ip-project-server.git"
12
+  },
9 13
   "author": "Matt",
10 14
   "license": "MIT",
11 15
   "dependencies": {
12 16
     "bcrypt-nodejs": "0.0.3",
13 17
     "body-parser": "^1.15.0",
14 18
     "express": "^4.13.4",
15
-    "extraverse": "^1.0.27",
16
-    "ioredis": "^1.15.1"
19
+    "ioredis": "^1.15.1",
20
+    "node-schedule": "^1.1.0"
17 21
   }
18 22
 }