|
99 | 99 | "lint-fix": "eslint --fix --cache ./", |
100 | 100 | "build": "babel src/ -d lib/ --copy-files", |
101 | 101 | "watch": "babel --watch src/ -d lib/ --copy-files", |
102 | | - "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.0} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=replicaset} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start", |
103 | | - "testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.0} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=replicaset} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine", |
| 102 | + "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} mongodb-runner start", |
| 103 | + "testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} TESTING=1 jasmine", |
104 | 104 | "test": "npm run testonly", |
105 | | - "posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.0} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=replicaset} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner stop", |
106 | | - "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.0} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=replicaset} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 nyc jasmine", |
| 105 | + "posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} mongodb-runner stop", |
| 106 | + "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=mmapv1} TESTING=1 nyc jasmine", |
107 | 107 | "start": "node ./bin/parse-server", |
108 | 108 | "prettier": "prettier --write {src,spec}/{**/*,*}.js", |
109 | 109 | "prepare": "npm run build", |
|
0 commit comments