/
package.json
56 lines (56 loc) · 1.6 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
{
"name": "@consensys/error-handler",
"version": "1.0.0",
"description": "This package is a simple wrapper of common exceptions of NestJS and a central place to our filters",
"main": "dist/index.js",
"files": [
"src",
"dist"
],
"scripts": {
"build": "tsc",
"test": "echo 0 # No test here",
"test:cov": "echo 0 # No test here",
"prettier": "prettier --write '{src,apps,libs,test}/**/*.ts'",
"prettier:check": "prettier --check '{src,apps,libs,test}/**/*.ts'",
"lint": "eslint --cache '{src,apps,libs,test}/**/*.ts'",
"lint:fix": "eslint --cache --fix '{src,apps,libs,test}/**/*.ts'",
"release": "standard-version"
},
"license": "Apache",
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@types/express": "^4.17.3",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^4.2.5",
"lint-staged": "^10.3.0",
"prettier": "^2.3.2",
"standard-version": "^9.0.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@consensys/observability": "workspace:*",
"@nestjs/common": "^8.0.0",
"@nestjs/core": "^8.0.0",
"reflect-metadata": "^0.1.13"
},
"lint-staged": {
"**/*.{js,ts}": [
"npm run lint:fix --",
"npm run prettier"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm test"
}
}
}