Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.19 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 3.19 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
99
100
101
102
{
"name": "@wot-ui/cli",
"type": "module",
"version": "1.2.1",
"packageManager": "pnpm@10.25.0",
"description": "面向 wot-ui 的 CLI、MCP 与数据提取工具集",
"license": "MIT",
"funding": "https://github.com/Moonofweisheng/sponsors",
"homepage": "https://github.com/wot-ui/open-wot#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/wot-ui/open-wot.git"
},
"bugs": "https://github.com/wot-ui/open-wot/issues",
"keywords": [
"wot-ui",
"uni-app",
"vue",
"cli",
"mcp",
"model-context-protocol",
"ai",
"coding-agent"
],
"sideEffects": false,
"exports": {
".": "./dist/index.mjs",
"./package.json": "./package.json"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"bin": {
"wot": "dist/index.mjs"
},
"files": [
"data",
"dist",
"runtime/*.mjs",
"skills/wot-ui-cli",
"skills/wot-ui-v2"
],
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"site:dev": "pnpm --filter @open-wot/website dev",
"site:build": "pnpm --filter @open-wot/website build",
"site:build:next": "pnpm --filter @open-wot/website build:next",
"site:lint": "pnpm --filter @open-wot/website lint",
"extract": "tsx scripts/extract.ts",
"extract:clone": "rm -rf /tmp/open-wot-wot-ui && git clone --depth 1 https://github.com/wot-ui/wot-ui.git /tmp/open-wot-wot-ui && pnpm extract --wot-dir /tmp/open-wot-wot-ui --output data/v2.json",
"sync": "tsx scripts/sync.ts",
"sync:clone": "rm -rf /tmp/open-wot-wot-ui && git clone --filter=tree:0 --no-checkout https://github.com/wot-ui/wot-ui.git /tmp/open-wot-wot-ui && pnpm sync --wot-dir /tmp/open-wot-wot-ui",
"compress": "tsx scripts/compress.ts",
"lint": "eslint",
"prepublishOnly": "pnpm build && pnpm compress",
"release": "bumpp",
"start": "tsx src/index.ts",
"test": "vitest run",
"test:coverage": "vitest run --coverage --coverage.reporter=lcov --coverage.reporter=text",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"dependencies": {
"@cfworker/json-schema": "catalog:cli",
"@modelcontextprotocol/server": "catalog:cli",
"@vue/compiler-sfc": "catalog:cli",
"commander": "catalog:cli",
"jsonc-parser": "catalog:cli",
"smol-toml": "catalog:cli",
"yaml": "catalog:cli",
"zod": "catalog:cli"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:cli",
"@antfu/ni": "catalog:cli",
"@antfu/utils": "catalog:inlined",
"@fission-ai/openspec": "catalog:",
"@types/node": "catalog:types",
"@vitest/coverage-v8": "catalog:",
"baseline-browser-mapping": "catalog:",
"bumpp": "catalog:cli",
"eslint": "catalog:cli",
"lint-staged": "catalog:cli",
"publint": "catalog:cli",
"simple-git-hooks": "catalog:cli",
"tsdown": "catalog:cli",
"tsx": "catalog:cli",
"typescript": "catalog:cli",
"vitest": "catalog:testing"
},
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix --no-warn-ignored"
}
}