@webq/cli 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,200 @@
1
+ {
2
+ "name": "@webq/cli",
3
+ "version": "1.0.0",
4
+ "description": "CLI tool and MCP server for querying and validating Web Components against Custom Elements Manifest files.",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "type": "module",
8
+ "bin": {
9
+ "webq": "dist/index.js"
10
+ },
11
+ "files": [
12
+ "README.md",
13
+ "CHANGELOG.md",
14
+ "LICENSE",
15
+ "package.json",
16
+ "dist/index.js"
17
+ ],
18
+ "scripts": {
19
+ "start": "wireit",
20
+ "ci": "wireit",
21
+ "debug": "wireit",
22
+ "test": "wireit",
23
+ "lint": "wireit",
24
+ "build": "wireit",
25
+ "install:local": "wireit",
26
+ "uninstall:local": "wireit"
27
+ },
28
+ "wireit": {
29
+ "start": {
30
+ "command": "bun src/index.ts",
31
+ "cache": false
32
+ },
33
+ "ci": {
34
+ "dependencies": [
35
+ "lint",
36
+ "test",
37
+ "build"
38
+ ]
39
+ },
40
+ "debug": {
41
+ "command": "pnpm dlx @modelcontextprotocol/inspector bun src/index.ts mcp --path ./testdata",
42
+ "cache": false
43
+ },
44
+ "test": {
45
+ "command": "bun test",
46
+ "files": [
47
+ "src/**/*.ts",
48
+ "src/**/*.json",
49
+ "testdata/**/*",
50
+ "tsconfig.json"
51
+ ],
52
+ "output": []
53
+ },
54
+ "lint": {
55
+ "command": "eslint .",
56
+ "files": [
57
+ "src/**/*.ts",
58
+ "eslint.config.js",
59
+ "package.json"
60
+ ],
61
+ "output": []
62
+ },
63
+ "build": {
64
+ "dependencies": [
65
+ "build:js",
66
+ "build:tsc",
67
+ "build:darwin-arm64",
68
+ "build:darwin-x64",
69
+ "build:linux-x64",
70
+ "build:linux-arm64",
71
+ "build:windows-x64"
72
+ ]
73
+ },
74
+ "build:js": {
75
+ "command": "bun build ./src/index.ts --outdir=./dist --target=bun --format=esm --minify",
76
+ "files": [
77
+ "src/**/*.ts",
78
+ "src/**/*.json",
79
+ "tsconfig.json"
80
+ ],
81
+ "output": [
82
+ "dist/index.js"
83
+ ]
84
+ },
85
+ "build:tsc": {
86
+ "command": "tsc",
87
+ "files": [
88
+ "src/**/*.ts",
89
+ "src/**/*.json",
90
+ "tsconfig.json",
91
+ "src/global.d.ts"
92
+ ],
93
+ "output": []
94
+ },
95
+ "build:darwin-arm64": {
96
+ "command": "bun build --compile --minify src/index.ts --target=bun-darwin-arm64 --outfile dist/webq-macos-arm64",
97
+ "files": [
98
+ "src/**/*.ts",
99
+ "src/**/*.json",
100
+ "tsconfig.json"
101
+ ],
102
+ "output": [
103
+ "dist/webq-macos-arm64"
104
+ ]
105
+ },
106
+ "build:darwin-x64": {
107
+ "command": "bun build --compile --minify src/index.ts --target=bun-darwin-x64 --outfile dist/webq-macos-x64",
108
+ "files": [
109
+ "src/**/*.ts",
110
+ "src/**/*.json",
111
+ "tsconfig.json"
112
+ ],
113
+ "output": [
114
+ "dist/webq-macos-x64"
115
+ ]
116
+ },
117
+ "build:linux-x64": {
118
+ "command": "bun build --compile --minify src/index.ts --target=bun-linux-x64 --outfile dist/webq-linux-x64",
119
+ "files": [
120
+ "src/**/*.ts",
121
+ "src/**/*.json",
122
+ "tsconfig.json"
123
+ ],
124
+ "output": [
125
+ "dist/webq-linux-x64"
126
+ ]
127
+ },
128
+ "build:linux-arm64": {
129
+ "command": "bun build --compile --minify src/index.ts --target=bun-linux-arm64 --outfile dist/webq-linux-arm64",
130
+ "files": [
131
+ "src/**/*.ts",
132
+ "src/**/*.json",
133
+ "tsconfig.json"
134
+ ],
135
+ "output": [
136
+ "dist/webq-linux-arm64"
137
+ ]
138
+ },
139
+ "build:windows-x64": {
140
+ "command": "bun build --compile --minify src/index.ts --target=bun-windows-x64 --outfile dist/webq-windows-x64.exe",
141
+ "files": [
142
+ "src/**/*.ts",
143
+ "src/**/*.json",
144
+ "tsconfig.json"
145
+ ],
146
+ "output": [
147
+ "dist/webq-windows-x64.exe"
148
+ ]
149
+ },
150
+ "install:local": {
151
+ "dependencies": [
152
+ "build"
153
+ ],
154
+ "command": "mkdir -p \"$HOME/.local/bin\" && cp dist/webq-macos-arm64 \"$HOME/.local/bin/webq\" && codesign --sign - --force $HOME/.local/bin/webq",
155
+ "cache": false
156
+ },
157
+ "uninstall:local": {
158
+ "command": "rm -f \"$HOME/.local/bin/webq\"",
159
+ "cache": false
160
+ }
161
+ },
162
+ "repository": {
163
+ "type": "git",
164
+ "url": "git+https://github.com/blueprintui/webq.git"
165
+ },
166
+ "keywords": [
167
+ "web-components",
168
+ "custom-elements",
169
+ "cem",
170
+ "mcp",
171
+ "cli",
172
+ "validation"
173
+ ],
174
+ "author": "Cory Rylan",
175
+ "license": "MIT",
176
+ "bugs": {
177
+ "url": "https://github.com/blueprintui/webq/issues"
178
+ },
179
+ "homepage": "https://github.com/blueprintui/webq#readme",
180
+ "devDependencies": {
181
+ "@eslint/js": "10.0.1",
182
+ "@types/marked-terminal": "6.1.1",
183
+ "@types/yargs": "17.0.35",
184
+ "@typescript-eslint/eslint-plugin": "8.57.0",
185
+ "@typescript-eslint/parser": "8.57.0",
186
+ "bun-types": "1.3.10",
187
+ "eslint": "10.0.3",
188
+ "eslint-config-prettier": "10.1.8",
189
+ "prettier": "3.8.1",
190
+ "typescript": "5.9.3",
191
+ "typescript-eslint": "8.57.0"
192
+ },
193
+ "dependencies": {
194
+ "@modelcontextprotocol/sdk": "1.28.0",
195
+ "marked": "17.0.5",
196
+ "marked-terminal": "7.3.0",
197
+ "yargs": "18.0.0",
198
+ "zod": "3.25.76"
199
+ }
200
+ }