Adds standalone parse server, configurable by environment, and that can start with npm start

This commit is contained in:
Florent Vilmart
2016-02-03 17:00:10 -05:00
parent 39fb0d02dd
commit 098d671004
3 changed files with 84 additions and 1 deletions

View File

@@ -31,9 +31,13 @@
"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",
"posttest": "mongodb-runner stop"
"posttest": "mongodb-runner stop",
"start": "./bin/parse-server"
},
"engines": {
"node": ">=4.1"
},
"bin": {
"parse-server": "./bin/parse-server"
}
}