-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
139 lines (139 loc) · 3.2 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "canarist",
"version": "2.0.0",
"bin": "dist/bin.js",
"author": "Björn Brauer <bjoern.brauer@new-work.se>",
"license": "MIT",
"engines": {
"node": ">=10.13.0"
},
"scripts": {
"build": "tsc",
"test": "jest",
"posttest": "yarn test:integration",
"pretest:integration": "yarn build",
"test:integration": "jest --config '{\"preset\":\"ts-jest\"}' src/__tests__/_integration-test.ts",
"fmt": "prettier --write --ignore-path .gitignore '**/*.{ts,md}'",
"prepare": "husky install"
},
"lint-staged": {
".{ts,md}": [
"prettier --write"
]
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverage": true,
"projects": [
{
"displayName": "test",
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/dist/",
"<rootDir>/src/__tests__/_"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/__tests__/_"
]
},
{
"displayName": "lint",
"runner": "jest-runner-eslint",
"testMatch": [
"<rootDir>/src/**/*.ts"
]
}
]
},
"prettier": {
"singleQuote": true
},
"eslintConfig": {
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:node/recommended"
],
"settings": {
"node": {
"tryExtensions": [
".js",
".json",
".ts"
],
"convertPath": {
"src/**/*.ts": [
"^src/(.+?)\\.ts$",
"dist/$1.js"
]
}
}
},
"rules": {
"node/no-unsupported-features/es-syntax": [
"error",
{
"ignores": [
"modules"
]
}
]
}
},
"renovate": {
"extends": [
"config:base",
":semanticCommits",
":preserveSemverRanges",
":maintainLockFilesWeekly",
":automergeLinters",
":automergeTesters",
":automergeTypes"
]
},
"dependencies": {
"cosmiconfig": "^7.0.1",
"debug": "^4.3.3",
"fast-glob": "^3.2.11",
"git-url-parse": "^11.6.0",
"lodash.mergewith": "^4.6.2",
"minimist": "^1.2.5",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/git-url-parse": "^9.0.1",
"@types/jest": "^29.0.0",
"@types/lodash.mergewith": "^4.6.6",
"@types/minimist": "^1.2.2",
"@types/node": "^20.0.0",
"@types/rimraf": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^29.0.0",
"jest-runner-eslint": "^2.0.0",
"lint-staged": "^12.3.3",
"prettier": "^2.5.1",
"ts-jest": "^29.0.0",
"typescript": "^4.5.5"
}
}