/
package.json
87 lines (87 loc) · 2.01 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
{
"name": "@consensys/configure-database",
"version": "0.0.3",
"description": "Codefi database configuration script",
"license": "Apache",
"main": "dist/index.js",
"files": [
"src",
"dist",
"cli.js"
],
"scripts": {
"build": "tsc",
"test": "jest src",
"test:cov": "jest src --coverage",
"lint": "eslint '{src,apps,libs,test}/**/*.ts'",
"prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"prettier:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"release": "standard-version"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^25.1.4",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"dotenv": "^8.2.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^6.10.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest-create-mock-instance": "^1.1.0",
"lint-staged": "^10.0.9",
"prettier": "^1.19.1",
"standard-version": "^8.0.0",
"ts-jest": "^26.0.0",
"typescript": "^4.0.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testRegex": ".test.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"transformIgnorePatterns": [
"/dist/",
"/coverage",
"/node_modules/"
],
"collectCoverageFrom": [
"src/**/*.{ts,js}",
"!**/*Module.ts"
],
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"statements": 0,
"branches": 0,
"functions": 0,
"lines": 0
}
},
"coverageDirectory": "./coverage"
},
"lint-staged": {
"**/*.{js,ts}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm test"
}
},
"dependencies": {
"@types/pg": "^7.14.4",
"pg": "^8.3.0"
},
"bin": "./cli.js"
}