-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
257 lines (257 loc) · 9.31 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
"name": "patternugit",
"displayName": "Patternugit",
"version": "2.2.0",
"description": "Preconfigured pattern for your repository with universal cases for markdown files of documentations and other actions/scripts",
"main": "prepare-template.js",
"private": true,
"scripts": {
"linter:monorepo": "npx eslint . && npx ts-standard \"**/*.{ts,tsx}\" && npx standard \"**/*{js,jsx}\" && npx textlint **/*.md && npx stylelint . && npx prettier . -l",
"linter:monorepo-fix": "npx prettier . --write && npx eslint . --fix && npx ts-standard \"**/*.{ts,tsx}\" --fix && npx standard \"**/*{js,jsx}\" --fix && npx textlint **/*.md --fix && npx stylelint . --fix",
"lint": "node ./script/lint.js && npm run lint:docs",
"lint:js": "node ./script/lint.js --js",
"lint:clang-format": "python3 script/pytohn/run_clang_format.py -r -c shell/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
"lint:clang-tidy": "python3 ./script/python/run_clang_tidy.py",
"lint:cpp": "node ./script/lint.js --cc",
"lint:objc": "node ./script/lint.js --objc",
"lint:py": "node ./script/lint.js --py",
"lint:gn": "node ./script/lint.js --gn",
"lint:sh": ".shfmt -l -w *.sh",
"lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run ct-typescript-definitions && npm run lint:ts-check-js-in-markdown && npm run lint:docs-fiddles && npm run lint:docs-relative-links && npm run lint:markdown",
"lint:docs-fiddles": "standard \"docs/fiddles/**/*.js\"",
"lint:docs-relative-links": "electron-lint-markdown-links --root docs \"**/*.md\"",
"lint:markdown": "node ./script/lint.js --md",
"lint:ts-check-js-in-markdown": "electron-lint-markdown-ts-check --root docs \"**/*.md\" --ignore \"breaking-changes.md\"",
"lint:js-in-markdown": "electron-lint-markdown-standard --root docs \"**/*.md\"",
"create-api-json": "node script/js/create-api-json.js",
"ct-typescript-definitions": "npm run create-api-json && electron-typescript-definitions",
"gn-typescript-definitions": "npm run ct-typescript-definitions && shx cp prepare-template.d.ts",
"pre-flight": "pre-flight",
"gn-check": "node ./script/js/gn-check.js",
"gn-format": "python3 script/python/run-gn-format.py",
"preversion": "npm i --force",
"precommit": "lint-staged",
"preinstall": "node -e 'process.exit(0)'",
"pretest": "npm run ct-typescript-definitions",
"prepack": "check-for-leaks",
"prepare": "husky .husky/ && cd scripts/python && python3 -m venv venv && pip install -r requirements.txt",
"prepare:python": "cd scripts/python && python3 -m venv venv && pip install -r requirements.txt",
"prepare:python-root": "python3 scripts/python/clonevenv.py",
"prepare:template": "ts-node prepare-template.ts",
"update-analytics": "ts-node scripts/js/analytics-workflow.ts",
"test": "npm run linter:monorepo && node ./script/spec-runner.js",
"buildtsc": "tsc",
"build": "tsc -noEmit -skipLibCheck prepare-template.ts && node esbuild.config.mjs production",
"pack": "python scripts/python/pack.py",
"sync-release-table": "cd scripts/python && python3 -m venv venv && python update_versions_table.py",
"release": "standard-version && npm run sync-release-table",
"release:patch": "standard-version --release-as patch && npm run sync-release-table",
"release:minor": "standard-version --release-as minor && npm run sync-release-table",
"release:major": "standard-version --release-as major && npm run sync-release-table",
"release:first": "standard-version --first-release && npm run sync-release-table",
"prerelease": "npm run release -- --prerelease",
"prerelease:alpha": "npm run release -- --prerelease alpha",
"generate-version-json": "node scripts/js/generate-version-json.js",
"push-lfs": "git lfs push --all origin"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Falcion/Patternugit.git"
},
"markdown": "github",
"os": [
"linux",
"win32",
"win64"
],
"directories": {
"doc": "docs",
"lib": "lib"
},
"keywords": [
"github",
"documentation",
"repository",
"repository-template",
"github-template",
"workflows-to-access",
"workflows-reusable"
],
"author": {
"email": "[email protected]",
"name": "Falcion",
"url": "https://github.com/Falcion"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Falcion/Patternugit/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/Falcion/Patternugit#readme",
"badges": [
{
"description": "contributors",
"href": "https://github.com/Falcion/Patternugit/graphs/contributors",
"url": "https://img.shields.io/github/contributors/Falcion/Patternugit"
},
{
"description": "stargazers",
"href": "https://github.com/Falcion/Patternugit/stargazers",
"url": "https://img.shields.io/github/stars/Falcion/Patternugit"
},
{
"description": "forks",
"href": "https://github.com/Falcion/Patternugit/forks",
"url": "https://img.shields.io/github/forks/Falcion/Patternugit"
},
{
"description": "issues",
"href": "https://github.com/Falcion/Patternugit/issues",
"url": "https://img.shields.io/github/issues/Falcion/Patternugit"
},
{
"description": "last-commit",
"href": "https://github.com/Falcion/Patternugit/commits",
"url": "https://img.shields.io/github/last-commit/Falcion/Patternugit"
}
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Creates an environment for your projects"
},
"virtualWorkspaces": true
},
"readme": "https://github.com/Falcion/Patternugit#readme",
"release": {
"tagFormat": "v${version}",
"dryRun": true,
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"main-update",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"packageManager": "[email protected]",
"module": "patternugit",
"dist": {
"tarball": "https://api.github.com/repos/Falcion/Patternugit/tarball/main"
},
"engines": {
"npm": ">=10.0.0",
"node": ">=21.1.0"
},
"dependencies": {
"builtin-modules": "^4.0.0",
"chalk": "^5.3.0",
"check-for-leaks": "^1.2.1",
"colors": "^1.4.0",
"dictionary-en": "^4.0.0",
"dotenv": "^16.4.5",
"dugite": "^2.7.1",
"esbuild": "^0.24.0",
"esbuild-plugin-glsl": "^1.2.2",
"esbuild-plugin-node-externals": "^1.0.1",
"esbuild-sass-plugin": "^3.3.1",
"fs-extra": "^11.2.0",
"husky": "^9.1.7",
"lint": "^1.1.2",
"markdownlint-cli2": "^0.17.0",
"minimist": "^1.2.8",
"prettier": "^3.3.3",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"remark-preset-lint-markdown-style-guide": "^6.0.0",
"semver": "^7.6.3",
"shx": "^0.3.4",
"standard-version": "^9.5.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.9",
"@changesets/cli": "^2.27.10",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@electron/lint-roller": "^3.0.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@jscpd/badge-reporter": "^4.0.1",
"@npmcli/package-json": "^6.0.1",
"@types/fs-extra": "^11.0.4",
"@types/minimist": "^1.2.5",
"@types/node": "^22.10.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.15.0",
"check-for-leaks": "^1.2.1",
"colors": "^1.4.0",
"dotenv": "^16.4.5",
"editorconfig": "^2.0.0",
"esbuild": "^0.24.0",
"esbuild-plugin-glsl": "^1.2.2",
"esbuild-plugin-node-externals": "^1.0.1",
"esbuild-sass-plugin": "^3.3.1",
"eslint": "^9.15.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin": "^1.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsonc": "^2.18.2",
"eslint-plugin-markdownlint": "^0.6.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"fs-extra": "^11.2.0",
"github-wiki-sidebar": "^2.0.1",
"globals": "^15.12.0",
"husky": "^9.1.7",
"jscpd": "^4.0.5",
"lint": "^1.1.2",
"lint-staged": "^15.2.10",
"markdownlint": "^0.37.0",
"markdownlint-cli": "^0.43.0",
"markdownlint-cli2": "^0.17.0",
"minimist": "^1.2.8",
"pre-flight": "^2.0.0",
"prettier": "^3.3.3",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"remark-preset-lint-markdown-style-guide": "^6.0.0",
"semver": "^7.6.3",
"shellcheck": "^3.0.0",
"shx": "^0.3.4",
"standard": "^17.1.2",
"standard-version": "^9.5.0",
"stylelint": "^16.10.0",
"textlint": "^14.3.0",
"textlint-rule-date-weekday-mismatch": "^1.0.6",
"textlint-rule-editorconfig": "^1.0.3",
"textlint-rule-footnote-order": "^1.0.3",
"textlint-rule-no-curly-quotes": "^1.0.0",
"textlint-rule-no-todo": "^2.0.1",
"textlint-rule-period-in-header": "^0.1.2",
"textlint-rule-spelling": "^0.3.0",
"textlint-rule-terminology": "^5.2.12",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-standard": "^12.0.2",
"typescript": "^5.7.2"
},
"standard": {
"ignore": [
"**/out/",
"**/lib/*",
"**/venv/"
]
}
}