Add push parameter checking and query installation

This commit is contained in:
wangmengyan95
2016-02-02 19:51:40 -08:00
parent 72fa1f28a8
commit a683befee0
4 changed files with 325 additions and 11 deletions

View File

@@ -19,6 +19,7 @@
"mongodb": "~2.1.0",
"multer": "^1.1.0",
"parse": "^1.7.0",
"moment": "^2.11.1",
"request": "^2.65.0"
},
"devDependencies": {
@@ -30,7 +31,7 @@
},
"scripts": {
"pretest": "MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} mongodb-runner start",
"test": "TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources -x **/spec/** ./node_modules/.bin/jasmine",
"test": "NODE_ENV=test TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources -x **/spec/** ./node_modules/.bin/jasmine",
"posttest": "mongodb-runner stop",
"start": "./bin/parse-server"
},