1 | {
|
2 | "name": "@shelf/jest-mongodb",
|
3 | "version": "2.2.1",
|
4 | "private": false,
|
5 | "description": "Run your tests using Jest & MongoDB in Memory server",
|
6 | "keywords": [
|
7 | "jest",
|
8 | "jest environment",
|
9 | "jest preset",
|
10 | "mongodb",
|
11 | "mongodb local"
|
12 | ],
|
13 | "repository": "shelfio/jest-mongodb",
|
14 | "license": "MIT",
|
15 | "author": {
|
16 | "name": "Vlad Holubiev",
|
17 | "email": "vlad@shelf.io",
|
18 | "url": "shelf.io"
|
19 | },
|
20 | "scripts": {
|
21 | "lint": "eslint . --fix --ext .js,.json,.ts --quiet",
|
22 | "test": "jest",
|
23 | "test:repl": "MONGO_MEMORY_SERVER_FILE=jest-mongodb-config-repl.js jest"
|
24 | },
|
25 | "husky": {
|
26 | "hooks": {
|
27 | "pre-commit": "lint-staged",
|
28 | "post-commit": "git update-index --again"
|
29 | }
|
30 | },
|
31 | "lint-staged": {
|
32 | "*.{html,md,yml}": [
|
33 | "prettier --write",
|
34 | "git add"
|
35 | ],
|
36 | "*.{js,json}": [
|
37 | "eslint --fix",
|
38 | "git add"
|
39 | ]
|
40 | },
|
41 | "prettier": "@shelf/prettier-config",
|
42 | "jest": {
|
43 | "preset": "./jest-preset.js"
|
44 | },
|
45 | "dependencies": {
|
46 | "debug": "4.3.2",
|
47 | "mongodb-memory-server": "7.6.3",
|
48 | "uuid": "8.3.2"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@shelf/eslint-config": "1.5.0",
|
52 | "@shelf/prettier-config": "1.0.0",
|
53 | "eslint": "8.10.0",
|
54 | "husky": "4.3.8",
|
55 | "jest": "27.5.1",
|
56 | "lint-staged": "12.3.5",
|
57 | "mongodb": "4.2.2",
|
58 | "prettier": "2.5.1"
|
59 | },
|
60 | "peerDependencies": {
|
61 | "mongodb": "3.x.x || 4.x"
|
62 | },
|
63 | "engines": {
|
64 | "node": ">=12"
|
65 | },
|
66 | "publishConfig": {
|
67 | "access": "public"
|
68 | }
|
69 | }
|