-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
184 lines (184 loc) · 11.5 KB
/
package.json
File metadata and controls
184 lines (184 loc) · 11.5 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
{
"name": "eslint-plugin-chunkylint",
"version": "1.7.1",
"private": false,
"description": "Auto-chunking ESLint runner that updates cache incrementally based on your ESLint config. Perfect for large codebases.",
"keywords": [
"eslint",
"chunking",
"cache",
"cli",
"linting",
"performance",
"typescript",
"large-codebase"
],
"homepage": "https://github.com/Nick2bad4u/eslint-plugin-chunkyLint#readme",
"bugs": {
"url": "https://github.com/Nick2bad4u/eslint-plugin-chunkyLint/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Nick2bad4u/eslint-plugin-chunkyLint.git"
},
"license": "MIT",
"author": "Nick2bad4u",
"contributors": [
{
"name": "Nick2bad4u"
}
],
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/chunky-lint.d.ts",
"default": "./dist/chunky-lint.js"
},
"require": {
"types": "./dist/chunky-lint.d.cts",
"default": "./dist/chunky-lint.cjs"
},
"default": "./dist/chunky-lint.js"
}
},
"main": "./dist/chunky-lint.cjs",
"module": "./dist/chunky-lint.js",
"types": "./dist/chunky-lint.d.cts",
"bin": {
"chunky-lint": "dist/bin/eslint-chunker.js",
"chunkylint": "dist/bin/eslint-chunker.js",
"eslint-chunker": "dist/bin/eslint-chunker.js",
"eslint-plugin-chunkylint": "dist/bin/eslint-chunker.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -b tsconfig.build.json --force && npm run build:types:cjs && npm run build:cjs && npm run build:bin:shebang",
"build:bin:shebang": "node scripts/write-bin-shebang.mjs",
"build:cjs": "esbuild dist/chunky-lint.js --bundle --format=cjs --platform=node --packages=external --sourcemap --outfile=dist/chunky-lint.cjs --footer:js=\"module.exports = module.exports.default;\"",
"build:clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
"build:types:cjs": "node -e \"require('node:fs').copyFileSync('dist/chunky-lint.d.ts','dist/chunky-lint.d.cts')\"",
"build:watch": "tsc --watch",
"changelog:all": "git-cliff --config cliff.toml --output CHANGELOG.md",
"changelog:release-notes": "git-cliff --config cliff.toml --latest --strip all",
"chmod": "shx chmod u+x ./dist/bin/eslint-chunker.js",
"deprecate:old": "npm deprecate \"eslint-chunker@*\" \"Renamed to eslint-plugin-chunkylint. Please migrate.\"",
"dev": "tsx src/bin/eslint-chunker.ts",
"lint": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint . --cache --cache-strategy content --cache-location .cache/.eslintcache",
"lint:action": "npm run lint:actions",
"lint:actions": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content --cache-location .cache/.eslintcache \".github/workflows/**/*.{yml,yaml}\" && echo \"GitHub Actions lint done!\"",
"lint:all": "npm run lint && npm run lint:prettier && npm run typecheck",
"lint:all:fix": "npm run lint:fix && npm run lint:prettier:fix && npm run typecheck",
"lint:all:fix:quiet": "npm run lint:fix:quiet && npm run lint:css:fix && npm run lint:prettier:fix && npm run lint:remark && npm run lint:package && npm run lint:secretlint && npm run lint:yaml:fix && npm run lint:actions && npm run lint:circular",
"lint:circular": "npm run madge:circular",
"lint:compat:eslint9": "node scripts/eslint9-compat-smoke.mjs",
"lint:config:build": "npm run build:eslint-inspector",
"lint:config:inspect": "npx eslint --inspect-config",
"lint:css": "stylelint --cache --config stylelint.config.mjs --cache-strategy content --cache-location .cache/stylelintcache src/ docs/ --custom-formatter stylelint-formatter-pretty && echo \"Stylelint done!\"",
"lint:css:fix": "stylelint --cache --config stylelint.config.mjs --cache-strategy content --cache-location .cache/stylelintcache src/ docs/ --custom-formatter stylelint-formatter-pretty --fix && echo \"Stylelint done!\"",
"lint:depcheck": "depcheck",
"lint:deps": "depcheck && npm run knip",
"lint:dupes": "jscpd src/ --config jscpd.json",
"lint:dupes:all": "jscpd src/ --config jscpd.json --min-lines 3",
"lint:dupes:skiplocal": "jscpd src/ --skipLocal --config jscpd.json",
"lint:dupes:skiplocal:all": "jscpd src/ --skipLocal --config jscpd.json --min-lines 3",
"lint:duplicates": "npm run lint:dupes",
"lint:exports": "ts-unused-exports tsconfig.json src/plugin.ts --excludePathsFromReport=plugin.ts",
"lint:fix": "npm run lint -- --fix",
"lint:fix:quiet": "cross-env ESLINT_PROGRESS=off NODE_OPTIONS=--max_old_space_size=16384 eslint . --cache --cache-strategy content --cache-location .cache/.eslintcache --fix && echo \"Eslint fix done!\"",
"lint:grype": "grype . -c .grype.yaml --name eslint-plugin-chunkyLint",
"lint:knip": "npm run knip",
"lint:knip:exports": "npm run knip -- --include exports,nsExports,classMembers,types,nsTypes,enumMembers,duplicates",
"lint:knip:unused:exports": "npm run knip -- --dependencies --exports",
"lint:leaves": "npm run madge:leaves",
"lint:metrics": "npm run sloc",
"lint:nocache": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint .",
"lint:node-version-files": "node scripts/sync-node-version-files.mjs --check",
"lint:orphans": "npm run madge:orphans",
"lint:package": "npm run lint:node-version-files && npm run lint:package-sort && npm run lint:packagelintrc && echo \"Package.json lint done!\"",
"lint:package:strict": "npm run lint:node-version-files && npm run lint:package-sort && npm run lint:package-check:strict && npm run lint:packagelintrc && echo \"Package.json lint done!\"",
"lint:package-check": "publint && attw --pack .",
"lint:package-check:strict": "publint && attw --pack . --profile strict",
"lint:package-sort": "sort-package-json \"./package.json\" \"./docs/docusaurus/package.json\"",
"lint:package-sort-check": "sort-package-json --check \"./package.json\" \"./docs/docusaurus/package.json\"",
"lint:packagelintrc": "npmPkgJsonLint . --config .npmpackagejsonlintrc.json",
"lint:prettier": "prettier . --log-level warn --cache --cache-location=.cache/.prettier-cache --cache-strategy=content --check",
"lint:prettier:fix": "prettier . --log-level warn --cache --cache-location=.cache/.prettier-cache --cache-strategy=content --write",
"lint:publint": "publint",
"lint:quiet": "cross-env ESLINT_PROGRESS=nofile NODE_OPTIONS=--max_old_space_size=16384 eslint . --cache --cache-strategy content --cache-location .cache/.eslintcache && echo \"Eslint done!\"",
"lint:remark": "remark --rc-path .remarkrc.mjs --silently-ignore --ignore-path .remarkignore --frail \"*.{md,mdx}\" \"docs/**/*.{md,mdx}\" --quiet",
"lint:remark:fix": "prettier --log-level warn --ignore-path prettierignore.remark --cache --cache-location=.cache/.prettier-cache --cache-strategy=content --no-error-on-unmatched-pattern --write \"*.{md,mdx}\" \"docs/**/*.{md,mdx}\" && npm run remark:fix",
"lint:secretlint": "secretlint --secretlintrc .secretlintrc.cjs --secretlintignore .secretlintignore \"./*\" \".vscode/**\" \"assets/**\" \"src/**\" \"electron/**\" \"shared/**\" \"config/**\" \"scripts/**\" \"playwright/**\" \"storybook/**\" \".storybook\" \"tests/**\" \"benchmarks/**\" \".devin/**\" \"public/**\" \".github/**\" \"docs/Architecture/**\" \"docs/*\" \"docs/assets/**\" \"docs/Guides/**\" \"docs/Testing/**\" \"docs/TSDoc/**\" \"docs/docusaurus/src/**\" \"docs/docusaurus/static/**\" \"docs/docusaurus/blog/**\" \"docs/docusaurus/docs/**\" \"docs/docusaurus/docs/*\"",
"lint:secrets": "detect-secrets scan",
"lint:unused": "npm run knip -- --include unlisted,unresolved,duplicates",
"lint:unused-deps": "depcheck --ignores='@types/*,@testing-library/*,@vitest/*'",
"lint:yaml": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content --cache-location .cache/.eslintcache \"**/*.{yml,yaml}\" && echo \"YAML lint done!\"",
"lint:yaml:fix": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content --cache-location .cache/.eslintcache --fix \"**/*.{yml,yaml}\" && echo \"YAML lint (fix) done!\"",
"madge:circular": "madge --circular --no-spinner --ts-config tsconfig.json --extensions ts,tsx,js,jsx,mjs,cjs,cts,mts ./src --exclude \"(^|[\\/])(test|dist|node_modules|cache|.cache|coverage|build|eslint-inspector|temp|.docusaurus)($|[\\/])|\\.css$\"",
"madge:leaves": "madge --leaves --no-spinner --ts-config tsconfig.json --extensions ts,tsx,js,jsx,mjs,cjs,cts,mts ./src --exclude \"(^|[\\/])(test|dist|node_modules|cache|.cache|coverage|build|eslint-inspector|temp|.docusaurus)($|[\\/])|\\.css$\"",
"madge:orphans": "madge --orphans --no-spinner --ts-config tsconfig.json --extensions ts,tsx,js,jsx,mjs,cjs,cts,mts ./src --exclude \"(^|[\\/])(test|dist|node_modules|cache|.cache|coverage|build|eslint-inspector|temp|.docusaurus)($|[\\/])|\\.css$\"",
"pack:dry": "npm pack --dry-run",
"prepublishOnly": "npm run build",
"release:check": "npm run lint && npm run lint:actions && npm run build:clean && npm run build && npm run typecheck && vitest run --coverage && npm run chmod && npm run lint:package:strict && npm run pack:dry",
"release:verify": "npm run release:check",
"sync:node-version-files": "node scripts/sync-node-version-files.mjs",
"sync:peer-eslint-range": "node scripts/sync-peer-eslint-range.mjs",
"test": "vitest",
"test:coverage": "vitest --coverage",
"type-check": "npm run typecheck",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.eslint.json --noEmit && tsc -p tsconfig.js.json --noEmit && tsc --noEmit --project tsconfig.test.json",
"update-deps": "npx ncu -i --install never && npm run sync:peer-eslint-range && npm install --force"
},
"dependencies": {
"chalk": "^5.6.2",
"commander": "^14.0.3",
"fast-glob": "^3.3.3",
"p-limit": "^7.3.0",
"ts-extras": "^1.0.0",
"type-fest": "^5.6.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@types/node": "^25.6.0",
"@vitest/coverage-v8": "^4.1.5",
"cross-env": "^10.1.0",
"esbuild": "^0.28.0",
"eslint": "^10.3.0",
"eslint-config-nick2bad4u": "^1.0.11",
"git-cliff": "^2.13.1",
"npm-package-json-lint": "^10.4.0",
"prettier": "^3.8.3",
"prettier-config-nick2bad4u": "^1.0.9",
"publint": "^0.3.18",
"secretlint": "^12.3.1",
"secretlint-config-nick2bad4u": "^1.0.3",
"shx": "^0.4.0",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.1",
"vitest": "^4.1.5"
},
"peerDependencies": {
"eslint": "^10.1.0 || ^10.3.0"
},
"packageManager": "npm@11.13.0",
"engines": {
"node": ">=20.0.0"
},
"devEngines": {
"packageManager": {
"name": "npm",
"version": ">=10"
},
"runtime": {
"name": "node",
"version": ">=20.0.0"
}
},
"publishConfig": {
"provenance": true
}
}