-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.78 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
{
"name": "prompsit-cli",
"version": "0.0.0",
"description": "CLI for the Prompsit Translation API",
"license": "Apache-2.0",
"author": "Prompsit Language Engineering, S.L.",
"repository": {
"type": "git",
"url": "git+https://github.com/Prompsit/prompsit-cli.git"
},
"homepage": "https://github.com/Prompsit/prompsit-cli#readme",
"bugs": {
"url": "https://github.com/Prompsit/prompsit-cli/issues"
},
"keywords": [
"cli",
"translation",
"nlp",
"prompsit",
"localization",
"machine-translation"
],
"type": "module",
"engines": {
"node": ">=22.19.0"
},
"bin": {
"prompsit": "./dist/index.js"
},
"files": [
"dist",
"examples",
"assets"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"prepare": "node -e \"const f=require('fs');f.existsSync('node_modules/typescript')?require('child_process').execSync('npm run build',{stdio:'inherit'}):void 0\"",
"prebuild": "node scripts/clean-build.mjs",
"build": "tsc --build",
"dev": "tsx src/index.ts",
"test": "vitest run --project unit",
"test:unit": "vitest run --project unit",
"test:e2e": "npm run test:e2e:full",
"test:e2e:critical": "vitest run --project e2e critical",
"test:e2e:full": "vitest run --project e2e",
"test:all": "vitest run",
"benchmark:repl-history": "node --import tsx scripts/benchmark-repl-history.mjs",
"check:terminal-io": "node scripts/check-terminal-io.mjs",
"check:docs": "node scripts/check-markdown-links.mjs",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"fix:all": "eslint . --fix && prettier --write \"src/**/*.{ts,json}\"",
"format": "prettier --write \"src/**/*.{ts,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,json}\"",
"lint:unused": "knip --production",
"lint:arch": "depcruise src --config",
"lint:all": "npm run typecheck && npm run lint && npm run format:check && npm run check:terminal-io && npm run check:docs && npm run lint:unused && npm run lint:arch"
},
"dependencies": {
"@commander-js/extra-typings": "^14.0.0",
"@earendil-works/pi-tui": "^0.75.5",
"chalk": "^5.6.2",
"cli-table3": "^0.6.5",
"eventsource-client": "^1.2.0",
"got": "^14.6.6",
"ora": "^9.3.0",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"smol-toml": "^1.8.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^25.3.1",
"dependency-cruiser": "^17.4.3",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-unicorn": "^63.0.0",
"jiti": "^2.6.1",
"knip": "^5.85.0",
"prettier": "^3.8.1",
"tsx": "^4.23.13",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vitest": "^4.1.11"
}
}