-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.24 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.24 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
{
"name": "ts-patch-mongoose",
"version": "4.0.0",
"description": "Patch history & events for mongoose models",
"author": "ilovepixelart",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://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",
"keywords": [
"backend",
"mongoose",
"plugin",
"mongo",
"schema",
"db",
"nosql",
"ts",
"typescript",
"patch",
"history",
"event",
"emit",
"create",
"update",
"delete",
"audit",
"log"
],
"engines": {
"node": ">=20"
},
"files": [
"dist"
],
"type": "module",
"exports": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"biome": "npx @biomejs/biome check",
"biome:fix": "npx @biomejs/biome check --write .",
"test": "vitest run --coverage",
"test:open": "vitest run --coverage && open-cli coverage/lcov-report/index.html",
"type:check": "tsc --noEmit",
"type:check:tests": "tsc --noEmit -p tests/tsconfig.json",
"build": "pkgroll --clean-dist",
"release": "npm install && npm run biome && npm run type:check && npm run type:check:tests && npm run build && np --no-publish"
},
"devDependencies": {
"@biomejs/biome": "2.4.11",
"@types/node": "25.6.0",
"@vitest/coverage-v8": "4.1.4",
"fast-check": "4.6.0",
"mongodb-memory-server": "11.0.1",
"mongoose": "9.4.1",
"np": "11.0.3",
"open-cli": "9.0.0",
"pkgroll": "2.27.0",
"simple-git-hooks": "2.13.1",
"typescript": "5.9.3",
"vitest": "4.1.4"
},
"peerDependencies": {
"mongoose": ">=6.6.0 < 10"
},
"simple-git-hooks": {
"pre-commit": "npm run type:check",
"pre-push": "npm run biome:fix"
},
"np": {
"publish": false
},
"overrides": {
"tmp": "0.2.5"
}
}