forked from ilovepixelart/ts-patch-mongoose
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.74 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 2.74 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "ts-patch-mongoose",
"version": "2.5.6",
"description": "Patch history & events for mongoose models",
"author": "Alex Eagle",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/ilovepixelart/ts-patch-mongoose.git"
},
"bugs": {
"url": "https://github.com/ilovepixelart/ts-patch-mongoose/issues"
},
"homepage": "https://github.com/ilovepixelart/ts-patch-mongoose#readme",
"directories": {
"examples": "examples"
},
"keywords": [
"backend",
"mongoose",
"plugin",
"mongo",
"schema",
"db",
"nosql",
"ts",
"typescript",
"swc",
"patch",
"history",
"event",
"emit",
"create",
"update",
"delete",
"audit",
"log"
],
"engines": {
"node": ">=16"
},
"files": [
"dist",
"src",
"tests",
".swcrc",
"tsconfig.json",
"jest.config.ts",
"jest-mongodb-config.ts",
".eslintrc",
".eslintignore"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/types/plugin.d.ts",
"default": "./dist/esm/plugin.js"
},
"require": {
"types": "./dist/cjs/types/plugin.d.ts",
"default": "./dist/cjs/plugin.js"
}
}
},
"main": "dist/cjs/plugin.js",
"module": "dist/esm/plugin.js",
"types": "dist/cjs/types/plugin.d.ts",
"scripts": {
"lint": "eslint . --ext .js,.ts",
"lint:fix": "eslint . --fix --ext .js,.ts",
"test": "jest --config jest.config.ts --detectOpenHandles --coverage",
"test:open": "npm run test && open-cli coverage/lcov-report/index.html",
"clean": "rm -rf ./dist",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p config/tsconfig.cjs.json",
"build:esm": "tsc -p config/tsconfig.esm.json && bash/esm.sh",
"release": "npm install && npm run lint && npm run build && np"
},
"dependencies": {
"fast-json-patch": "3.1.1",
"lodash": "4.17.21",
"omit-deep": "0.3.0",
"power-assign": "0.2.10",
"semver": "7.6.0"
},
"devDependencies": {
"@shelf/jest-mongodb": "4.2.0",
"@stylistic/eslint-plugin": "1.7.0",
"@swc/cli": "0.3.10",
"@swc/core": "1.4.11",
"@swc/helpers": "0.5.7",
"@swc/jest": "0.2.36",
"@swc/register": "0.1.10",
"@types/jest": "29.5.12",
"@types/lodash": "4.17.0",
"@types/node": "20",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"eslint": "8.57.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-sonarjs": "0.24.0",
"jest": "29.7.0",
"merge": "2.1.1",
"mongoose": "8.2.3",
"open-cli": "8.0.0",
"typescript": "5.4.3"
},
"peerDependencies": {
"mongoose": ">=6.6.0 < 9"
}
}