Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.37 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 3.37 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
{
"name": "knip",
"version": "5.41.0",
"description": "Find unused files, dependencies and exports in your TypeScript and JavaScript projects",
"homepage": "https://knip.dev",
"repository": {
"type": "git",
"url": "https://github.com/webpro-nl/knip",
"directory": "packages/knip"
},
"bugs": "https://github.com/webpro-nl/knip/issues",
"license": "ISC",
"author": {
"name": "Lars Kappert",
"email": "lars@webpro.nl"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/webpro"
},
{
"type": "opencollective",
"url": "https://opencollective.com/knip"
},
{
"type": "polar",
"url": "https://polar.sh/webpro-nl"
}
],
"main": "./dist/index.js",
"bin": {
"knip": "./bin/knip.js",
"knip-bun": "./bin/knip-bun.js"
},
"type": "module",
"types": "./dist/index.d.ts",
"scripts": {
"knip": "node ./dist/cli.js --directory ../..",
"knip:production": "node ./dist/cli.js --directory ../.. --production --strict",
"lint": "biome lint ../..",
"format": "biome format --write .",
"test": "bun test test/*.test.ts test/**/*.test.ts",
"test:node": "glob -c \"npx -y tsx --test --import ./transform-test.js\" \"test/**/*.test.ts\"",
"watch": "npm link && tsc --watch",
"prebuild": "npm run generate-plugin-defs && node rmdir.js dist",
"build": "tsc",
"qa": "bun lint && bun run build && bun knip && bun knip:production && bun run test",
"release": "release-it",
"create-plugin": "bun ./scripts/create-new-plugin.ts",
"postcreate-plugin": "biome format --write schema.json schema-jsonc.json src/ConfigurationValidator.ts",
"generate-plugin-defs": "node ./scripts/generate-plugin-defs.js && biome check --write src/plugins/index.ts src/types/PluginNames.ts src/schema/plugins.ts"
},
"files": [
"dist",
"vendor",
"schema.json",
"schema-jsonc.json"
],
"dependencies": {
"@nodelib/fs.walk": "1.2.8",
"@snyk/github-codeowners": "1.1.0",
"easy-table": "1.2.0",
"enhanced-resolve": "^5.17.1",
"fast-glob": "^3.3.2",
"jiti": "^2.4.0",
"js-yaml": "^4.1.0",
"minimist": "^1.2.8",
"picocolors": "^1.1.0",
"picomatch": "^4.0.1",
"pretty-ms": "^9.0.0",
"smol-toml": "^1.3.1",
"strip-json-comments": "5.0.1",
"summary": "2.1.0",
"zod": "^3.22.4",
"zod-validation-error": "^3.0.3"
},
"peerDependencies": {
"@types/node": ">=18",
"typescript": ">=5.0.4"
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@release-it/bumper": "^6.0.1",
"@types/bun": "^1.1.13",
"@types/js-yaml": "^4.0.9",
"@types/minimist": "^1.2.5",
"@types/picomatch": "3.0.1",
"@types/webpack": "^5.28.5",
"@wdio/types": "^9.2.2",
"glob": "^10.4.2",
"release-it": "^17.10.0",
"type-fest": "^4.26.1",
"typescript": "^5.5.2"
},
"engines": {
"node": ">=18.6.0"
},
"engineStrict": true,
"keywords": [
"analysis",
"analyze",
"class",
"cli",
"dead code",
"dependencies",
"detect",
"devDependencies",
"duplicate",
"entropy",
"enum",
"export",
"files",
"find",
"javascript",
"lint",
"maintenance",
"members",
"missing",
"monorepo",
"namespace",
"package",
"scan",
"types",
"typescript",
"unreferenced",
"unresolved",
"unused",
"workspace"
]
}