-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 1.87 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "mongovalid",
"version": "0.1.2",
"license": "MIT",
"author": "sks147",
"main": "dist/index.js",
"module": "dist/mongovalid.esm.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/sks147/mongovalid.git"
},
"homepage": "https://github.com/sks147/mongovalid",
"keywords": [
"mongodb",
"validation",
"schema",
"typescript",
"database",
"nosql",
"orm",
"odm",
"data-validation",
"type-safety"
],
"files": [
"dist",
"src"
],
"scripts": {
"analyze": "size-limit --why",
"build": "dts build",
"lint": "dts lint",
"lint-fix": "dts lint --fix",
"prepare": "dts build",
"size": "size-limit",
"start": "dts watch",
"test": "dts test",
"coverage": "dts test --coverage",
"doc": "typedoc src/index.ts src/types/* src/constants/*"
},
"husky": {
"hooks": {
"pre-commit": "dts lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"useTabs": true,
"tabWidth": 4
},
"jest": {
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"engines": {
"node": ">=12"
},
"size-limit": [
{
"path": "dist/mongovalid.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/mongovalid.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^11.1.4",
"@tsconfig/recommended": "^1.0.7",
"dts-cli": "^2.0.5",
"husky": "^9.1.4",
"size-limit": "^11.1.4",
"tslib": "^2.6.3",
"typedoc": "0.26.5",
"typescript": "^5.5.4"
},
"dependencies": {
"mongodb": "6.8.0"
}
}