-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
130 lines (130 loc) · 3.11 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
{
"name": "codeowners-generator",
"repository": "git@github.com:gagoar/codeowners-generator.git",
"license": "MIT",
"version": "2.4.1",
"description": "CODEOWNERS generator for mono-repos",
"files": [
"build",
"dist"
],
"main": "build/index.js",
"bin": {
"codeowners-generator": "dist/cli.js"
},
"scripts": {
"test": "jest",
"build-cli": "esbuild --bundle src/bin/cli.ts --platform=node --target=node12 --main-fields=main --outdir=dist/",
"build": "esbuild --bundle index.ts --platform=node --target=node12 --main-fields=main --outdir=build/",
"lint": "eslint src/* --ext .ts",
"execute": "tsx src/bin/cli.ts",
"prepare": "husky install",
"prettier": "prettier --ignore-path .gitignore --check ."
},
"engines": {
"node": ">10.0.0"
},
"keywords": [
"cli",
"CODEOWNERS",
"monorepo"
],
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"*.ts": [
"eslint --fix",
"bash -c \"npm run build\""
]
},
"prettier": {
"singleQuote": true,
"semi": true,
"printWidth": 120
},
"eslintConfig": {
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"rules": {
"no-debugger": "error",
"no-process-env": "off",
"import/prefer-default-export": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true
}
],
"new-cap": [
"error",
{
"capIsNewExceptions": [
"Injectable",
"Inject"
]
}
],
"prefer-destructuring": [
"error",
{
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": true,
"object": false
}
},
{
"enforceForRenamedProperties": false
}
]
}
},
"author": "Gago <xeroice@gmail.com>",
"dependencies": {
"commander": "7.2.0",
"common-tags": "1.8.2",
"cosmiconfig": "7.1.0",
"debug": "4.3.4",
"fast-glob": "3.2.12",
"ignore": "5.2.4",
"is-glob": "4.0.3",
"lodash.groupby": "4.6.0",
"ora": "5.4.1"
},
"devDependencies": {
"@swc/core": "^1.3.41",
"@swc/jest": "^0.2.24",
"@types/common-tags": "1.8.1",
"@types/debug": "4.1.12",
"@types/is-glob": "4.0.2",
"@types/jest": "29.5.8",
"@types/lodash.groupby": "4.6.7",
"@types/node": "16.18.61",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"esbuild": "0.14.53",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"husky": "8.0.3",
"jest": "^29.0.0",
"jest-mock-process": "^2.0.0",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"tslib": "2.4.0",
"tsx": "^3.12.5",
"typescript": "4.7.4"
}
}