-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
81 lines (81 loc) · 2.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
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
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@shelf/jest-mongodb",
"version": "4.3.2",
"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": "[email protected]",
"url": "shelf.io"
},
"files": [
"jest-preset.js",
"lib/"
],
"scripts": {
"build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'",
"build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib",
"lint": "eslint . --ext .js,.ts,.json --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"prepack": "yarn build",
"test": "jest",
"test:repl": "MONGO_MEMORY_SERVER_FILE=jest-mongodb-config-repl.js jest",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write"
],
"*.{ts,js,json}": [
"eslint --fix"
]
},
"babel": {
"extends": "@shelf/babel-config/backend"
},
"prettier": "@shelf/prettier-config",
"jest": {
"preset": "./jest-preset.js"
},
"dependencies": {
"debug": "4.3.4",
"mongodb-memory-server": "9.2.0"
},
"devDependencies": {
"@babel/cli": "7.24.8",
"@babel/core": "7.25.2",
"@shelf/babel-config": "1.2.0",
"@shelf/eslint-config": "2.27.1",
"@shelf/prettier-config": "1.0.0",
"@shelf/tsconfig": "0.1.0",
"@types/jest": "29.5.12",
"@types/node": "16",
"eslint": "8.57.0",
"husky": "9.0.11",
"jest": "29.7.0",
"jest-environment-node": "29.6.4",
"lint-staged": "13.3.0",
"mongodb": "6.3.0",
"prettier": "2.8.8",
"typescript": "5.5.4"
},
"peerDependencies": {
"jest-environment-node": "28.x || 29.x",
"mongodb": "3.x.x || 4.x || 5.x || 6.x"
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
}
}