forked from shelfio/jest-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.44 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "@shelf/jest-mongodb",
"version": "2.2.0",
"private": false,
"description": "Run your tests using Jest & MongoDB in Memory server",
"keywords": [
"jest",
"jest environment",
"jest preset",
"mongodb",
"mongodb local"
],
"repository": "shelfio/jest-mongodb",
"license": "MIT",
"author": {
"name": "Vlad Holubiev",
"email": "vlad@shelf.io",
"url": "shelf.io"
},
"scripts": {
"lint": "eslint . --fix --ext .js,.json,.ts --quiet",
"test": "jest",
"test:repl": "MONGO_MEMORY_SERVER_FILE=jest-mongodb-config-repl.js jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write",
"git add"
],
"*.{js,json}": [
"eslint --fix",
"git add"
]
},
"prettier": "@shelf/prettier-config",
"jest": {
"preset": "./jest-preset.js"
},
"dependencies": {
"debug": "4.3.2",
"mongodb-memory-server": "7.6.3",
"uuid": "8.3.2"
},
"devDependencies": {
"@shelf/eslint-config": "1.5.0",
"@shelf/prettier-config": "1.0.0",
"eslint": "8.10.0",
"husky": "4.3.8",
"jest": "27.5.1",
"lint-staged": "12.3.5",
"mongodb": "4.2.2",
"prettier": "2.5.1"
},
"peerDependencies": {
"mongodb": "3.x.x || 4.x"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public"
}
}