-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
45 lines (45 loc) · 1.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
{
"name": "tsr",
"author": "Kazushi Konosu",
"description": "TypeScript Remove (tsr) is a utility that removes unused code from TypeScript projects – It's like tree shaking, but for source files",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/line/tsr"
},
"license": "Apache-2.0",
"bin": "dist/cli.js",
"files": [
"dist"
],
"exports": {
".": "./dist/main.js"
},
"types": "./dist/main.d.ts",
"scripts": {
"lint": "eslint",
"build": "rm -rf dist && node ./build.js",
"type-check": "tsc -b",
"prepublishOnly": "npm run build",
"test": "tsx ./test.js",
"tsr": "npm run build && node dist/cli.js -p tsconfig.lib.json 'lib/[a-z]+\\.ts'"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@types/node": "^22.5.5",
"esbuild": "^0.23.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"strip-ansi": "^7.1.0",
"tsx": "^4.19.1",
"typescript-eslint": "^8.14.0"
},
"dependencies": {
"mri": "^1.2.0",
"picocolors": "^1.1.1"
},
"peerDependencies": {
"typescript": ">=4.0.0"
}
}