-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 3.01 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 3.01 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
{
"name": "@pleaseai/cli-toolkit",
"type": "module",
"version": "0.5.0",
"packageManager": "bun@1.3.14",
"description": "Shared CLI utilities for LLM-focused command-line tools",
"author": "PleaseAI",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/pleaseai/cli-toolkit.git"
},
"keywords": [
"cli",
"toolkit",
"llm",
"output",
"i18n",
"validation",
"progress",
"errors"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./output": {
"types": "./dist/output/index.d.ts",
"default": "./dist/output/index.js"
},
"./i18n": {
"types": "./dist/i18n/index.d.ts",
"default": "./dist/i18n/index.js"
},
"./progress": {
"types": "./dist/progress/index.d.ts",
"default": "./dist/progress/index.js"
},
"./validation": {
"types": "./dist/validation/index.d.ts",
"default": "./dist/validation/index.js"
},
"./errors": {
"types": "./dist/errors/index.d.ts",
"default": "./dist/errors/index.js"
}
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "bun build src/index.ts --outdir dist --target bun --format esm && bun build src/output/index.ts --outdir dist/output --target bun --format esm && bun build src/i18n/index.ts --outdir dist/i18n --target bun --format esm && bun build src/progress/index.ts --outdir dist/progress --target bun --format esm && bun build src/validation/index.ts --outdir dist/validation --target bun --format esm && bun build src/errors/index.ts --outdir dist/errors --target bun --format esm && tsc --emitDeclarationOnly --declaration --declarationDir dist",
"build:prod": "bun build src/index.ts --outdir dist --target bun --format esm --minify --sourcemap && bun build src/output/index.ts --outdir dist/output --target bun --format esm --minify --sourcemap && bun build src/i18n/index.ts --outdir dist/i18n --target bun --format esm --minify --sourcemap && bun build src/progress/index.ts --outdir dist/progress --target bun --format esm --minify --sourcemap && bun build src/validation/index.ts --outdir dist/validation --target bun --format esm --minify --sourcemap && bun build src/errors/index.ts --outdir dist/errors --target bun --format esm --minify --sourcemap && tsc --emitDeclarationOnly --declaration --declarationDir dist",
"type-check": "tsc --noEmit",
"test": "bun test",
"test:coverage": "bun test --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@byjohann/toon": "^0.3.0",
"@vercel/error": "^0.0.2",
"commander": "^12.1.0",
"es-toolkit": "^1.31.0"
},
"devDependencies": {
"@antfu/eslint-config": "latest",
"@types/bun": "^1.3.1",
"eslint": "^9.20.0",
"eslint-plugin-format": "^1.0.2",
"typescript": "^5.9.3"
}
}