|
127 | 127 | "test:mongodb:6.0.2": "npm run test:mongodb --dbversion=6.0.2", |
128 | 128 | "test:mongodb:7.0.1": "npm run test:mongodb --dbversion=7.0.1", |
129 | 129 | "test:postgres:testonly": "cross-env PARSE_SERVER_TEST_DB=postgres PARSE_SERVER_TEST_DATABASE_URI=postgres://postgres:password@localhost:5432/parse_server_postgres_adapter_test_database npm run testonly", |
130 | | - "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner start -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017", |
131 | | - "testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 jasmine", |
| 130 | + "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=6.0.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner start -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} --runnerDir ./_mongodb_runner -- --port 27017", |
| 131 | + "testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=6.0.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 jasmine", |
132 | 132 | "test": "npm run testonly", |
133 | | - "posttest": "cross-env mongodb-runner stop --all", |
134 | | - "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 nyc jasmine", |
| 133 | + "posttest": "cross-env mongodb-runner stop --all --runnerDir ./_mongodb_runner", |
| 134 | + "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=6.0.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 nyc jasmine", |
135 | 135 | "start": "node ./bin/parse-server", |
136 | 136 | "prettier": "prettier --write {src,spec}/{**/*,*}.js", |
137 | 137 | "prepare": "npm run build", |
138 | 138 | "postinstall": "node -p 'require(\"./postinstall.js\")()'", |
139 | | - "madge:circular": "node_modules/.bin/madge ./src --circular" |
| 139 | + "madge:circular": "node_modules/.bin/madge ./src --circular", |
140 | 140 | }, |
141 | 141 | "engines": { |
142 | 142 | "node": ">=18.0.0 <19.0.0 || >=19.0.0 <20.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0" |
|
0 commit comments