generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
200 lines (200 loc) · 5.27 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "@tomgrv/devcontainer-features",
"version": "1.0.0",
"description": "Configure dev environment with devcontainer, gitflow, gitversion, git aliases & hooks. Can be used a devcontainer features",
"keywords": [
"dev",
"git",
"hooks",
"commitlint",
"commitizen",
"lint-staged",
"prettier",
"devmoji",
"git-precommit-checks",
"husky",
"conventional-changelog",
"gitversion",
"gitflow",
"changelog",
"semver"
],
"homepage": "https://github.com/tomgrv/devcontainer-features#readme",
"bugs": {
"url": "https://github.com/tomgrv/devcontainer-features/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomgrv/devcontainer-features.git"
},
"funding": {
"type": "individual",
"url": "https://buymeacoffee.com/tomgrv"
},
"author": "tomgrv",
"type": "module",
"bin": "./local-install.sh",
"scripts": {
"lint": "npx --yes lint-staged",
"release": "npx --yes commit-and-tag-version --no-verify --",
"test": "echo \"Warning: no test specified\"",
"update": "npm-check-updates -i -u",
"update-all": "npm run update -ws --root"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"never",
[
"start-case",
"pascal-case",
"upper-case"
]
],
"scope-enum": [
2,
"always",
[
"deps",
"release",
"security",
"i18n",
"config",
"add",
"remove",
"breaking",
"modules",
"packages",
"ui-ux",
"api",
"model"
]
]
}
},
"lint-staged": {
"*.php": [
"composer lint"
],
"*.{js,jsx,ts,tsx,md,html,css,json,vue, yaml, yml, sh}": [
"npx --yes prettier --write"
],
"composer.lock": [
"composer validate --ansi --strict"
],
"package.json": [
"npx --yes sort-package-json"
],
"src/**/*.json": [
"npx --yes sort-package-json"
],
".devcontainer/*": [
"cp -u -t ./stubs/.devcontainer "
]
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
},
"local": [
"gitutils",
"githooks"
]
},
"prettier": {
"insertPragma": true,
"plugins": [
"prettier-plugin-sh"
],
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5"
},
"peerDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/core": "^19.2.2",
"@commitlint/cz-commitlint": "^19.2.0",
"commit-and-tag-version": "^12.4.1",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^2.1.1",
"devmoji": "^2.3.0",
"git-precommit-checks": "3.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5"
},
"commit-and-tag-version": {
"bumpFiles": [
{
"filename": "composer.json",
"type": "json"
},
{
"filename": "package.json",
"type": "json"
},
{
"filename": "VERSION",
"type": "plain-text"
}
],
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
],
"scripts": {
"prebump": "gitversion -config .gitversion -showvariable MajorMinorPatch"
}
},
"git-precommit-checks": {
"rules": [
{
"message": "You've got leftover conflict markers",
"regex": "/^[<>|=]{4,}/m"
},
{
"filter": "(^package\\.json|\\.git-precommit-checks.json)$",
"message": "You have unfinished devs",
"nonBlocking": "true",
"regex": "(?:FIXME|TODO)"
}
]
}
}