forked from webpro-nl/knip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 4.15 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
{
"name": "knip",
"version": "2.25.2",
"description": "Find unused files, dependencies and exports in your TypeScript and JavaScript projects",
"homepage": "https://github.com/webpro/knip",
"repository": "github:webpro/knip",
"bugs": "https://github.com/webpro/knip/issues",
"license": "ISC",
"author": {
"name": "Lars Kappert",
"email": "[email protected]"
},
"main": "./dist/index.js",
"bin": {
"knip": "./dist/cli.js"
},
"type": "module",
"types": "./dist/index.d.ts",
"scripts": {
"knip": "node ./dist/cli.js",
"knip:production": "node ./dist/cli.js --production --strict --ignore-internal",
"lint": "eslint scripts src tests",
"lint:fix": "eslint scripts src tests --fix",
"format": "prettier scripts src tests schema.json --with-node-modules --write --config .prettierrc",
"pretest": "node rmdir.js tmp && swc src -d tmp/src && swc tests -d tmp/tests",
"test": "node --no-warnings --test tmp",
"coverage": "c8 --reporter html node --no-warnings --loader tsx --test tests/*.test.ts tests/*/*.test.ts",
"watch": "rm $(which knip); npm link && tsc --watch",
"prebuild": "node rmdir.js dist",
"build": "tsc",
"docs": "npm run docs:cli && npm run docs:plugins && npm run docs:format",
"docs:cli": "tsx ./scripts/update-cli-usage-in-readme.ts",
"docs:plugins": "tsx ./scripts/generate-plugin-docs.ts",
"docs:format": "remark README.md docs/*.md .github/*.md src/plugins/*/README.md -o",
"qa": "npm run lint && npm run build && npm run knip && npm run knip:production && npm test",
"release": "release-it",
"create-plugin": "tsx --no-warnings ./scripts/create-new-plugin.ts",
"postcreate-plugin": "prettier schema.json src/ConfigurationValidator.ts --write --config .prettierrc --log-level silent"
},
"files": [
"dist",
"schema.json"
],
"dependencies": {
"@ericcornelissen/bash-parser": "^0.5.2",
"@npmcli/map-workspaces": "^3.0.4",
"@snyk/github-codeowners": "^1.1.0",
"chalk": "^5.2.0",
"easy-table": "^1.2.0",
"fast-glob": "^3.2.12",
"globby": "^13.1.3",
"jiti": "^1.19.3",
"js-yaml": "^4.1.0",
"micromatch": "^4.0.5",
"minimist": "^1.2.8",
"pretty-ms": "^8.0.0",
"strip-json-comments": "^5.0.0",
"summary": "^2.1.0",
"typescript": "^5.0.2",
"zod": "^3.22.2",
"zod-validation-error": "^1.5.0"
},
"devDependencies": {
"@jest/types": "29.6.3",
"@npmcli/package-json": "5.0.0",
"@release-it/bumper": "5.1.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.85",
"@types/eslint": "8.44.2",
"@types/js-yaml": "4.0.6",
"@types/micromatch": "4.0.2",
"@types/minimist": "1.2.2",
"@types/node": "20.6.2",
"@types/npmcli__map-workspaces": "3.0.1",
"@types/webpack": "5.28.2",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"c8": "8.0.1",
"eslint": "8.49.0",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-n": "16.1.0",
"prettier": "3.0.3",
"release-it": "16.1.5",
"remark-cli": "11.0.0",
"remark-preset-webpro": "0.0.3",
"tsx": "3.12.10",
"type-fest": "4.3.1"
},
"engines": {
"node": ">=16.17.0 <17 || >=18.6.0"
},
"engineStrict": true,
"release-it": {
"hooks": {
"before:init": [
"npm run lint",
"npm run build",
"npm run knip",
"npm run knip:production",
"npm run docs",
"npm test"
]
},
"github": {
"release": true,
"comments": {
"submit": true
}
},
"plugins": {
"@release-it/bumper": {
"out": "{dist,src}/version.*"
}
}
},
"remarkConfig": {
"plugins": [
"preset-webpro"
]
},
"keywords": [
"find",
"detect",
"analyze",
"scan",
"lint",
"unused",
"unreferenced",
"unresolved",
"missing",
"unimported",
"files",
"dependencies",
"devDependencies",
"exports",
"types",
"members",
"namespaces",
"duplicates",
"typescript",
"maintenance",
"class",
"enum",
"members",
"workspace",
"workspaces",
"monorepo"
]
}