-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
245 lines (245 loc) 路 15.1 KB
/
Copy pathpackage.json
File metadata and controls
245 lines (245 loc) 路 15.1 KB
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
{
"name": "ps-color-scripts-enhanced",
"version": "0.0.0",
"private": true,
"description": "Private development tooling for the ColorScripts-Enhanced PowerShell module and its bundled ANSI-art collection.",
"keywords": [
"powershell",
"ansi",
"colorscripts",
"terminal",
"cli",
"ascii-art",
"shell",
"windows",
"macos",
"linux",
"cross-platform"
],
"homepage": "https://github.com/Nick2bad4u/ps-color-scripts-enhanced#readme",
"bugs": {
"url": "https://github.com/Nick2bad4u/ps-color-scripts-enhanced/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Nick2bad4u/ps-color-scripts-enhanced.git"
},
"license": "Unlicense",
"author": "Nick2bad4u",
"type": "commonjs",
"main": "scripts/Convert-AnsiToColorScript.js",
"directories": {
"doc": "docs",
"test": "tests",
".github": ".github",
"ColorScripts-Enhanced": "ColorScripts-Enhanced",
"ansi-files": "assets/ansi-files",
"oversized-colorscripts": "docs/oversized-colorscripts",
"types": "types"
},
"scripts": {
"ansi:audit": "node ./scripts/Audit-AnsiArchives.js",
"ansi:audit:offline": "node ./scripts/Audit-AnsiArchives.js --offline",
"ansi:checkpoint:check": "node ./scripts/Build-AnsiArchiveCurationCheckpoint.js",
"ansi:checkpoint:update": "node ./scripts/Build-AnsiArchiveCurationCheckpoint.js --write",
"ansi:content-audit": "node ./scripts/Audit-ColorScriptContent.js",
"ansi:content-review:apply": "node ./scripts/Apply-ColorScriptContentReview.js",
"ansi:content-review:create": "node ./scripts/Create-ColorScriptContentReviewLedger.js",
"ansi:content-review:verify": "node ./scripts/Test-ColorScriptContentReview.js",
"ansi:gallery-analysis": "node ./scripts/Analyze-ColorScripts.mjs",
"ansi:gallery-analysis:check": "node ./scripts/Analyze-ColorScripts.mjs --type=analysis-error --type=avoidable-extra-part --type=blank-part --type=derivative-attribution-review --type=embedded-dos-eof --type=mergeable-adjacent-parts --type=missing-source-coordinates --type=source-row-gap-or-overlap --type=suspicious-character-decoding --check",
"ansi:geometry-review:apply": "node ./scripts/Apply-ColorScriptGeometryReview.js",
"ansi:geometry-review:create": "node ./scripts/Create-ColorScriptGeometryReviewManifest.js",
"ansi:parts:rebalance": "node ./scripts/Rebalance-ColorScriptParts.js",
"ansi:verify-conversion": "node ./scripts/Verify-AnsiConversion.mjs",
"artwork:provenance:headers:check": "node ./scripts/Migrate-ColorScriptProvenanceHeaders.js --check",
"artwork:provenance:headers:update": "node ./scripts/Migrate-ColorScriptProvenanceHeaders.js --write",
"artwork:provenance:web:check": "node ./scripts/Build-ArtworkProvenanceWebIndex.js",
"artwork:provenance:web:update": "node ./scripts/Build-ArtworkProvenanceWebIndex.js --write",
"build": "pwsh -NoProfile -File ./scripts/build.ps1 && npm run release:notes && npm run release:notes:latest && npm run test:conversion && npm run verify && npm run test:coverage",
"build:help": "pwsh -NoProfile -File ./scripts/Build-Help.ps1 -UpdateMarkdown",
"build:help:check": "pwsh -NoProfile -File ./scripts/Build-UpdatableHelp.ps1 -Check",
"build:skip-help": "pwsh -NoProfile -File ./scripts/build.ps1 -SkipHelp",
"changelog:generate": "npx git-cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/PS-Color-Scripts-Enhanced --output CHANGELOG.md",
"changelog:preview": "npx git-cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/PS-Color-Scripts-Enhanced --unreleased",
"changelog:release-notes": "npx git-cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/PS-Color-Scripts-Enhanced --current",
"contrib": "npx all-contributors",
"contrib:add": "npx all-contributors add",
"contrib:check": "npx all-contributors check",
"contrib:generate": "npx all-contributors generate",
"convert": "node ./scripts/Convert-AnsiToColorScript.js --strip-space-bg",
"docs:update-counts": "pwsh -NoProfile -File ./scripts/Update-DocumentationCounts.ps1",
"lint": "pwsh -NoProfile -File ./scripts/Lint-Module.ps1",
"lint:fix": "pwsh -NoProfile -File ./scripts/Lint-Module.ps1 -Fix",
"lint:gitleaks": "gitleaks dir --config .gitleaks.toml .",
"lint:jscpd": "npx jscpd --config node_modules/jscpd-config-nick2bad4u/jscpd.json",
"lint:lychee": "lychee --config node_modules/lychee-config-nick2bad4u/lychee.toml .",
"lint:lychee:smoke": "lychee --config node_modules/lychee-config-nick2bad4u/lychee.toml --dump-inputs README.md",
"lint:package-json": "npx npmPkgJsonLint . --config .npmpackagejsonlintrc.json",
"lint:ps7": "pwsh -NoProfile -File ./scripts/Lint-PS7.ps1",
"lint:remark": "npx remark --rc-path .remarkrc.mjs --silently-ignore --ignore-path .remarkignore --frail \"*.{md,mdx}\" \"docs/**/*.{md,mdx}\" \"src/**/*.{md,mdx}\" \"electron/**/*.{md,mdx}\" \"shared/**/*.{md,mdx}\" --quiet",
"lint:remark:fix": "npx remark --rc-path .remarkrc.mjs --silently-ignore --ignore-path .remarkignore --frail --quiet --output -- \"*.{md,mdx}\" \"docs/**/*.{md,mdx}\" \"src/**/*.{md,mdx}\" \"electron/**/*.{md,mdx}\" \"shared/**/*.{md,mdx}\"",
"lint:scripts": "pwsh -NoProfile -File ./scripts/Lint-Module.ps1 -IncludeScripts -TreatWarningsAsErrors",
"lint:scripts:fix": "pwsh -NoProfile -File ./scripts/Lint-Module.ps1 -IncludeScripts -TreatWarningsAsErrors -Fix",
"lint:strict": "pwsh -NoProfile -File ./scripts/Lint-Module.ps1 -IncludeTests -TreatWarningsAsErrors",
"lint:strict:fix": "pwsh -NoProfile -File ./scripts/Lint-Module.ps1 -IncludeTests -TreatWarningsAsErrors -Fix",
"lint:yamllint": "yamllint -c .yamllint .",
"markdown:check": "pwsh -NoProfile -File ./scripts/Invoke-MarkdownLinkCheck.ps1",
"package:metadata": "pwsh -NoProfile -File ./scripts/Update-NuGetPackageMetadata.ps1",
"readme:check": "pwsh -NoProfile -File ./scripts/Test-ReadmeSize.ps1 -Path ./ColorScripts-Enhanced/README-Gallery.md",
"readme:check:strict": "pwsh -NoProfile -File ./scripts/Test-ReadmeSize.ps1 -Path ./ColorScripts-Enhanced/README-Gallery.md -Strict",
"release:notes": "npx git-cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/PS-Color-Scripts-Enhanced --unreleased --strip header --output ./dist/PowerShellGalleryReleaseNotes.md",
"release:notes:latest": "npx git-cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/PS-Color-Scripts-Enhanced --latest --output ./dist/LatestReleaseNotes.md",
"release:verify": "pwsh -NoProfile -File ./scripts/Validate-Changelog.ps1",
"scripts:check-dupes": "pwsh -NoProfile -File ./scripts/Remove-DuplicateAnsiFiles.ps1 -CheckOnly",
"scripts:convert": "node ./scripts/Convert-AnsiToColorScript.js",
"scripts:convert:advanced": "pwsh -NoProfile -File ./scripts/Convert-AnsiToColorScript-Advanced.ps1",
"scripts:convert:ps": "pwsh -NoProfile -File ./scripts/Convert-AnsiToColorScript.ps1",
"scripts:convert:ps:skip": "pwsh -NoProfile -File ./scripts/Convert-AnsiToColorScript.ps1 -StripSpaceBackground",
"scripts:count": "pwsh -NoProfile -File ./scripts/Get-ColorScriptCount.ps1",
"scripts:format": "pwsh -NoProfile -File ./scripts/Format-ColorScripts.ps1",
"scripts:remove-dupes": "pwsh -NoProfile -File ./scripts/Remove-DuplicateAnsiFiles.ps1 -Confirm",
"scripts:split": "node ./scripts/Split-AnsiFile.js",
"scripts:test-all": "pwsh -NoProfile -File ./ColorScripts-Enhanced/Test-AllColorScripts.ps1",
"sort-package": "npx sort-package-json",
"test": "npm run test:conversion && npm run test:custom && npm run test:pester",
"test:conversion": "node --test ./Tests/AnsiArchiveAudit.Tests.js ./Tests/AnsiCheckpointValidation.Tests.js ./Tests/AnsiContentAudit.Tests.js ./Tests/AnsiConversion.Tests.js ./Tests/AnsiGeometryRetentionReviewLedger.Tests.js ./Tests/AnsiPolicyRetentionReviewLedger.Tests.js ./Tests/AnsiResidualCleanupReview.Tests.js ./Tests/ApplyColorScriptContentReview.Tests.js ./Tests/ApplyColorScriptGeometryReview.Tests.js ./Tests/ArtworkProvenanceReader.Tests.js ./Tests/ColorScriptAnalysis.Tests.js ./Tests/CreateColorScriptContentReviewLedger.Tests.js ./Tests/CreateColorScriptGeometryReviewManifest.Tests.js ./Tests/CreateColorScriptPolicyRemovalManifest.Tests.js ./Tests/GitHubReleaseNotes.Tests.mjs ./Tests/PruneColorScripts.Tests.js ./Tests/RebalanceColorScriptParts.Tests.js ./Tests/TestColorScriptContentReview.Tests.js",
"test:coverage": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Verbosity Normal",
"test:coverage:ci": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -CI -Verbosity Minimal",
"test:coverage:detailed": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Verbosity Detailed",
"test:coverage:diagnostic": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Verbosity Diagnostic",
"test:coverage:minimal": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Verbosity Minimal",
"test:coverage:none": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -Verbosity None",
"test:coverage:report": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -ShowReport",
"test:custom": "pwsh -NoProfile -File ./scripts/Test-Module.ps1",
"test:linux": "npm run test:coverage",
"test:pester": "pwsh -NoProfile -File ./scripts/Test-Coverage.ps1 -SkipCoverage -Verbosity Minimal",
"update-actions": "npx actions-up --yes --style sha",
"update-all": "npm run update-actions && npm run update-deps",
"update-deps": "npx ncu --configFileName .ncurc.json --configFilePath node_modules/ncu-config-nick2bad4u && node ./scripts/sync-node-version-files.mjs && npm install --force",
"verify": "npm run lint && npm run readme:check && npm run artwork:provenance:headers:check && npm run artwork:provenance:web:check",
"verify:strict": "npm run lint:strict && npm run readme:check && npm run artwork:provenance:headers:check && npm run artwork:provenance:web:check && npm run ansi:gallery-analysis:check"
},
"overrides": {
"adm-zip": "^0.6.0",
"esbuild": "^0.28.1"
},
"dependencies": {
"iconv-lite": "^0.7.3",
"node-ansiparser": "^2.2.1",
"prettier-plugin-interpolated-html-tags": "^2.0.2",
"prettier-plugin-merge": "^0.10.1",
"prettier-plugin-packagejson": "^3.0.2",
"prettier-plugin-sql": "^0.20.0",
"sort-package-json": "^4.0.0"
},
"devDependencies": {
"@awmottaz/prettier-plugin-void-html": "^2.2.1",
"@double-great/remark-lint-alt-text": "^1.1.1",
"@microsoft/tsdoc-config": "^0.18.1",
"eslint-config-nick2bad4u": "^12.0.1",
"git-cliff": "^2.13.1",
"gitcliff-config-nick2bad4u": "^1.4.0",
"gitleaks-config-nick2bad4u": "^1.0.4",
"jscpd": "^5.0.14",
"jscpd-config-nick2bad4u": "^1.1.0",
"lychee-config-nick2bad4u": "^2.0.0",
"markdown-link-check": "^3.15.0",
"ncu-config-nick2bad4u": "^0.2.1",
"npm-check-updates": "^23.0.1",
"npm-package-json-lint": "^10.4.1",
"npm-package-json-lint-config-nick2bad4u": "^1.0.4",
"prettier": "^3.9.6",
"prettier-config-nick2bad4u": "^2.0.1",
"prettier-plugin-ini": "^1.3.0",
"prettier-plugin-jsdoc": "^1.8.1",
"prettier-plugin-multiline-arrays": "^4.1.11",
"prettier-plugin-powershell": "^2.1.10",
"prettier-plugin-properties": "^0.3.1",
"prettier-plugin-sort-json": "^4.2.0",
"prettier-plugin-tailwindcss": "^0.8.1",
"rehype-katex": "^7.0.1",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"remark-config-nick2bad4u": "^1.1.3",
"remark-directive": "^4.0.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-github": "^12.0.0",
"remark-inline-links": "^7.0.0",
"remark-lint": "^10.0.1",
"remark-lint-blockquote-indentation": "^4.0.1",
"remark-lint-check-toc": "^1.0.0",
"remark-lint-checkbox-content-indent": "^5.0.1",
"remark-lint-code-block-split-list": "^1.0.0",
"remark-lint-correct-media-syntax": "^1.0.1",
"remark-lint-definition-case": "^4.0.1",
"remark-lint-definition-sort": "^1.0.1",
"remark-lint-directive-attribute-sort": "^1.0.1",
"remark-lint-directive-collapsed-attribute": "^1.0.1",
"remark-lint-directive-quote-style": "^1.0.1",
"remark-lint-directive-shortcut-attribute": "^1.0.1",
"remark-lint-directive-unique-attribute-name": "^1.0.1",
"remark-lint-fenced-code-flag": "^4.2.0",
"remark-lint-fenced-code-flag-case": "^3.0.0",
"remark-lint-final-definition": "^4.0.2",
"remark-lint-final-newline": "^3.0.1",
"remark-lint-first-heading-level": "^4.0.1",
"remark-lint-frontmatter-validation": "^1.0.3",
"remark-lint-hard-break-spaces": "^4.1.1",
"remark-lint-heading-capitalization": "^1.3.0",
"remark-lint-heading-increment": "^4.0.1",
"remark-lint-heading-whitespace": "^1.0.0",
"remark-lint-linebreak-style": "^4.0.1",
"remark-lint-link-title-style": "^4.0.1",
"remark-lint-list-item-indent": "^4.0.1",
"remark-lint-mdx-jsx-attribute-sort": "^1.0.1",
"remark-lint-mdx-jsx-no-void-children": "^1.0.1",
"remark-lint-mdx-jsx-quote-style": "^1.0.1",
"remark-lint-mdx-jsx-self-close": "^1.0.1",
"remark-lint-mdx-jsx-shorthand-attribute": "^1.0.1",
"remark-lint-mdx-jsx-unique-attribute-name": "^1.0.1",
"remark-lint-media-style": "^1.0.1",
"remark-lint-no-blockquote-without-marker": "^6.0.1",
"remark-lint-no-dead-urls": "^2.0.1",
"remark-lint-no-duplicate-defined-urls": "^3.0.1",
"remark-lint-no-duplicate-headings": "^4.0.1",
"remark-lint-no-duplicate-headings-in-section": "^4.0.1",
"remark-lint-no-emphasis-as-heading": "^4.0.1",
"remark-lint-no-empty-sections": "^4.0.0",
"remark-lint-no-empty-url": "^4.0.1",
"remark-lint-no-file-name-articles": "^3.0.1",
"remark-lint-no-file-name-consecutive-dashes": "^3.0.1",
"remark-lint-no-file-name-outer-dashes": "^3.0.1",
"remark-lint-no-heading-content-indent": "^5.0.1",
"remark-lint-no-heading-indent": "^5.0.1",
"remark-lint-no-heading-like-paragraph": "^4.0.1",
"remark-lint-no-hidden-table-cell": "^1.0.1",
"remark-lint-no-html": "^4.0.1",
"remark-lint-no-missing-blank-lines": "^4.0.1",
"remark-lint-no-paragraph-content-indent": "^5.0.1",
"remark-lint-no-reference-like-url": "^4.0.1",
"remark-lint-no-tabs": "^4.0.1",
"remark-lint-no-unneeded-full-reference-image": "^4.0.1",
"remark-lint-no-unneeded-full-reference-link": "^4.0.1",
"remark-lint-no-unused-definitions": "^4.0.2",
"remark-lint-ordered-list-marker-style": "^4.0.1",
"remark-lint-strikethrough-marker": "^3.0.1",
"remark-lint-write-good": "^1.2.0",
"remark-math": "^6.0.0",
"remark-mdx": "^3.1.1",
"remark-preset-lint-consistent": "^6.0.1",
"remark-preset-lint-markdown-style-guide": "^6.0.1",
"remark-preset-lint-recommended": "^7.0.1",
"remark-preset-prettier": "^2.0.2",
"remark-toc": "^9.0.0",
"remark-validate-links": "^13.1.0",
"remark-wiki-link": "^2.0.1",
"secretlint": "^13.0.4",
"secretlint-config-nick2bad4u": "^1.1.2",
"stylelint": "^17.14.1",
"stylelint-config-nick2bad4u": "^2.1.0",
"tsdoc-config-nick2bad4u": "^1.0.6",
"yamllint-config-nick2bad4u": "^1.1.1"
}
}