forked from webpro-nl/knip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 3.92 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
{
"name": "knip",
"version": "2.5.0",
"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": "lars@webpro.nl"
},
"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",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"format": "prettier scripts src tests schema.json --with-node-modules --write --config .prettierrc",
"test": "globstar -- node --loader tsx --test \"tests/**/*.test.ts\"",
"coverage": "c8 npm test",
"watch": "tsc --watch",
"prebuild": "node -e \"require('fs').rmSync('dist', { force: true, recursive: true })\"",
"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 ./scripts/create-new-plugin.ts",
"postcreate-plugin": "prettier schema.json src/configuration-validator.ts --write --config .prettierrc --loglevel silent"
},
"files": [
"dist",
"schema.json"
],
"dependencies": {
"@npmcli/map-workspaces": "^3.0.2",
"@snyk/github-codeowners": "^1.1.0",
"bash-parser": "^0.5.0",
"chalk": "^5.2.0",
"easy-table": "^1.2.0",
"fast-glob": "^3.2.12",
"globby": "^13.1.3",
"jiti": "1.18.2",
"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.20.6"
},
"devDependencies": {
"@jest/types": "29.5.0",
"@npmcli/package-json": "3.0.0",
"@release-it/bumper": "4.0.2",
"@types/eslint": "8.37.0",
"@types/js-yaml": "4.0.5",
"@types/micromatch": "4.0.2",
"@types/minimist": "1.2.2",
"@types/node": "18.15.11",
"@types/npmcli__map-workspaces": "3.0.0",
"@types/webpack": "5.28.1",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"c8": "7.13.0",
"eslint": "8.37.0",
"eslint-import-resolver-typescript": "3.5.4",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-n": "15.7.0",
"globstar": "1.0.0",
"prettier": "2.8.7",
"release-it": "15.10.0",
"remark-cli": "11.0.0",
"remark-preset-webpro": "0.0.2",
"tsx": "3.12.6",
"type-fest": "3.7.2"
},
"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"
]
}