forked from wordflowlab/writeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.68 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.68 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
91
92
93
94
95
96
97
98
{
"name": "writeflow",
"version": "2.21.11",
"description": "AI 写作助手",
"main": "writeflow-cli.js",
"type": "module",
"bin": {
"writeflow": "./writeflow-cli.js"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc && node scripts/fix-esm-imports.mjs dist",
"dev": "node writeflow-cli.js",
"start": "node writeflow-cli.js",
"start:win": "node writeflow-cli.js",
"fix-esm": "node scripts/fix-esm-imports.mjs",
"test": "jest",
"test:watch": "jest --watch",
"test:queue": "jest --testPathPattern=queue",
"test:agent": "jest --testPathPattern=agent",
"test:tools": "jest --testPathPattern=tools",
"test:e2e": "jest --testPathPattern=e2e",
"benchmark": "tsx scripts/benchmark.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build",
"dead-code:detect": "ts-prune --ignore '/\\.(test|spec)\\.ts?$' --ignore '/mock/' --ignore '/dist/' --ignore '/scripts/'",
"dead-code:analyze": "knip",
"dead-code:clean": "npm run dead-code:detect && npm run lint:fix",
"pre-commit-check": "npm run typecheck && npm run dead-code:detect && npm run lint",
"prepare": "husky"
},
"files": [
"dist/",
"bin/",
"README.md"
],
"keywords": [
"ai",
"writing",
"cli",
"typescript",
"claude",
"agent"
],
"author": "WriteFlow Team",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.61.0",
"@types/node-fetch": "^2.6.13",
"chalk": "^5.3.0",
"cli-highlight": "^2.1.11",
"commander": "^14.0.0",
"enquirer": "^2.4.0",
"figures": "^6.1.0",
"gray-matter": "^4.0.3",
"ink": "^6.2.3",
"marked": "^16.2.1",
"node-fetch": "^2.7.0",
"node-html-parser": "^7.0.1",
"openai": "^5.19.1",
"ora": "^8.0.0",
"react": "^19.1.1",
"yaml": "^2.3.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@jest/globals": "^30.1.2",
"@types/jest": "^30.0.0",
"@types/node": "^24.3.1",
"@types/react": "^19.1.12",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"eslint": "^9.34.0",
"glob": "^11.0.3",
"husky": "^9.1.7",
"jest": "^30.1.3",
"knip": "^5.63.1",
"ts-jest": "^29.0.0",
"ts-prune": "^0.10.3",
"tsx": "^4.20.5",
"typescript": "^5.3.0",
"vite": "^7.1.4"
},
"repository": {
"type": "git",
"url": "https://github.com/wordflowlab/writeflow.git"
},
"bugs": {
"url": "https://github.com/wordflowlab/writeflow/issues"
},
"homepage": "https://github.com/wordflowlab/writeflow#readme"
}