-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.45 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "get-safe-instance",
"description": "An object wrapper to make its async operations error proof",
"version": "1.0.4",
"author": {
"name": "Thiago O Santos <tos.oliveira@gmail.com>"
},
"engines": {
"node": ">=10"
},
"files": [
"dist"
],
"main": "dist/index.js",
"scripts": {
"doc": "rm -rf docs && npx typedoc && git add . && git commit -m \"chore: generating docs [skip ci]\"",
"lint": "npm run lint:format && npm run lint:style",
"lint:fix": "npm run lint:format:fix && npm run lint:style:fix",
"build": "tsc -p tsconfig.build.json",
"test": "jest test/unit",
"test:watch": "jest test/unit --watch",
"test:coverage": "jest test/unit --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest test/e2e",
"clear": "npm run clear:build && npm run clear:modules",
"clear:build": "del-cli ./dist",
"clear:modules": "del-cli ./node_modules",
"prebuild": "npm run clear:build && del-cli tsconfig.tsbuildinfo",
"preaction:verify:update-modules": "npm run action:verify:update-modules:check",
"action:verify:update-modules": "npm run action:verify:update-modules:reinstall && npm run action:verify:update-modules:clean",
"action:verify:update-modules:clean": "del-cli .check",
"lint:format": "prettier --check \"{src,test}/**/*.ts\" \"*.js\"",
"lint:format:fix": "prettier --write \"{src,test}/**/*.ts\" \"*.js\"",
"lint:style": "eslint \"**/*.[tj]s\"",
"lint:style:fix": "eslint \"**/*.[tj]s\" --fix",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"preset": "ts-jest",
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"./src/**/*.ts"
],
"testEnvironment": "node",
"setupFilesAfterEnv": [
"./test/jest-setup.ts"
],
"moduleNameMapper": {
"^src/(.*)": "<rootDir>/src/$1",
"^test/(.*)": "<rootDir>/test/$1"
}
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/codibre/get-safe-instance.git"
},
"homepage": "https://github.com/codibre/get-safe-instance#readme",
"bugs": {
"url": "https://github.com/codibre/get-safe-instance/issues"
},
"keywords": [
"redis",
"error",
"treatment",
"resilience"
],
"license": "MIT",
"devDependencies": {
"@codibre/confs": "^1.1.2",
"@nestjs/cli": "^9.3.0",
"@remembered/redis": "^1.9.0",
"@types/eslint": "^8.44.3",
"@types/jest": "^27.4.1",
"@types/opossum": "^8.1.4",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"del-cli": "^3.0.1",
"eslint": "^8.51.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"husky": "^7.0.4",
"jest": "^29.5.0",
"jest-callslike": "^0.2.1",
"jest-extended": "^2.0.0",
"opossum": "^8.1.2",
"prettier": "^3.0.3",
"redis-semaphore": "^5.5.0",
"remembered": "^0.11.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.2.7",
"ts-node": "^10.6.0",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.12.1",
"typescript": "^5.2.2"
},
"peerDependencies": {
"opossum": ">=4.2.4"
}
}