-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
91 lines (91 loc) · 2.31 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
{
"name": "type-mongodb",
"version": "2.0.0-beta.12",
"description": "A simple decorator based MongoDB ODM.",
"repository": "https://github.com/j/type-mongodb",
"keywords": [
"orm",
"odm",
"mongo",
"mongodb",
"ts",
"typescript",
"javascript",
"entity",
"ddd",
"data-mapper",
"type-mongodb"
],
"author": "Jordan <[email protected]>",
"license": "MIT",
"files": [
"lib/**/*"
],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"build": "npm run clean && tsc --project tsconfig.build.json",
"clean": "rimraf lib",
"watch": "tsc --project tsconfig.build.json --watch",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"pretty": "prettier '{src,tests}/**/*.ts' --write",
"prepublishOnly": "npm run build",
"release:next": "npm publish --access public --tag next",
"release": "release-it",
"test": "MONGODB_URI=mongodb://localhost:27017,localhost:27018,localhost:27019/test?replicaSet=replicaset jest --runInBand --verbose --coverage --forceExit --detectOpenHandles",
"test:ci": "npm run test -- --ci",
"prepare": "husky install"
},
"devDependencies": {
"@types/jest": "^29.2.3",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"jest": "^29.3.1",
"mongodb": "^4.12.1",
"mongodb-runner": "^4.9.0",
"prettier": "^2.8.0",
"pretty-quick": "^3.1.3",
"reflect-metadata": "^0.1.13",
"release-it": "^15.5.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.3",
"uuid": "^9.0.0"
},
"optionalDependencies": {
"uuid": ">=8.0.0"
},
"peerDependencies": {
"mongodb": "^4.1.0",
"reflect-metadata": "^0.1.13"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testMatch": [
"<rootDir>/tests/**/*.test.ts"
],
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
"tsconfig.test.json"
]
},
"collectCoverageFrom": [
"<rootDir>/src/**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node"
}
}