-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
29 lines (29 loc) · 1.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "mongodb-jest-testing",
"version": "1.0.0",
"description": "Tests with jest and mongodb",
"main": "mongodb-methods.ts",
"scripts": {
"build": "tsc",
"test:mock": "jest ./mock-method/*.ts --config ./jest.config.js",
"test:docker": "npm run start-docker && sleep 3 && (jest ./docker-method/*.ts --config ./jest.config.js || true) && npm run stop-docker",
"start-docker": "docker-compose -f ./docker-method/docker-compose.yaml up -d",
"stop-docker": "docker-compose -f ./docker-method/docker-compose.yaml down",
"test:memory": "jest ./mongodb-memory-method/*.ts --config ./jest.config.js"
},
"dependencies": {
"mongodb": "^4.1.2"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/mongodb": "^4.0.7",
"jest": "^27.2.2",
"mongodb-memory-server": "^7.4.1",
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"repository": "https://github.com/gkampitakis/mongodb-jest-testing.git",
"author": "Georgios Kampitakis <gkabitakis@gmail.com>",
"license": "MIT"
}