-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 1.86 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
{
"name": "solution",
"version": "1.0.0",
"description": "Pipedrive task",
"main": "index.js",
"scripts": {
"build": "rm -rf dist && tsc",
"build:watch": "rm -rf dist && tsc -w",
"dev": "ts-node-dev --inspect=0.0.0.0:${DEBUG_PORT:-3001} -- src/bin/index.ts",
"format": "prettier --write '**/*.{ts,json}'",
"lint": "eslint . --ext .ts",
"lint-staged": "lint-staged",
"test": "jest",
"test:coverage": "jest --coverage"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/pg": "^8.6.5",
"koa": "2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-router": "10.0.0",
"pg": "^8.7.3"
},
"devDependencies": {
"@types/koa": "2.11.6",
"@types/koa-bodyparser": "^4.3.7",
"@types/koa-router": "7.4.1",
"@types/node": "^18.0.6",
"@types/supertest": "2.0.10",
"@typescript-eslint/eslint-plugin": "4.12.0",
"@typescript-eslint/parser": "4.12.0",
"eslint": "7.17.0",
"husky": "4.3.7",
"jest": "26.6.3",
"lint-staged": "10.5.3",
"prettier": "2.2.1",
"supertest": "6.0.1",
"ts-jest": "26.4.4",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tslint": "6.1.3",
"typescript": "^4.7.4"
},
"engines": {
"node": ">=14"
},
"jest": {
"preset": "ts-jest",
"testMatch": [
"<rootDir>/test/**/*.test.ts?(x)"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"prettier": {
"bracketSpacing": true,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && tsc --noEmit && npm run test:coverage"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}