-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.92 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.92 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
{
"name": "@piggly/mongodb",
"version": "0.2.0",
"description": "An wrapper for MongoDB using @piggly/ddd-toolkit library as dependency.",
"scripts": {
"clean": "rimraf dist",
"pre:commit": "npm run lint && npm run format && npm run check",
"prebuild": "npm run lint && npm run format && npm run check",
"build": "npm run clean && npm run build:types && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && node ./fixESM.cjs",
"build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json",
"check": "tsc --noEmit -p tsconfig.json",
"format": "prettier --write \"./src/**/*.ts\"",
"lint": "eslint --fix ./src/**",
"test": "cross-env NODE_ENV=test jest --coverage --watchAll",
"test:once": "cross-env NODE_ENV=test jest --passWithNoTests",
"test:debug": "cross-env NODE_ENV=test node --inspect ./node_modules/.bin/jest --runInBand",
"preversion": "npm run build",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"keywords": [
"ddd",
"model-driven-design",
"design-driven-design",
"tools",
"framework",
"mongodb",
"database"
],
"author": {
"name": "Caique Araujo",
"email": "caique@piggly.com.br",
"url": "https://github.com/caiquearaujo"
},
"license": "MIT",
"homepage": "https://github.com/piggly-dev/js-mongodb#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/piggly-dev/js-mongodb.git"
},
"bugs": {
"url": "https://github.com/piggly-dev/js-mongodb/issues"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@types/module-alias": "^2.0.4",
"@types/node": "^22.13.9",
"@typescript-eslint/eslint-plugin": "^8.26.0",
"@typescript-eslint/parser": "^8.26.0",
"@zerollup/ts-transform-paths": "^1.7.18",
"cross-env": "^7.0.3",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.2",
"eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-perfectionist": "^4.9.0",
"eslint-plugin-prettier": "^5.2.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.11",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.8.1",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0"
},
"peerDependencies": {
"@piggly/ddd-toolkit": ">=4.0",
"@piggly/event-bus": ">=2.1",
"debug": ">=4.4",
"mongodb": ">=6.14",
"zod": ">=3.24"
}
}