@toby1123yjh/test-cli 0.1.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/LICENSE +21 -0
- package/README.md +120 -0
- package/dist/assets/scripts.js +470 -0
- package/dist/locales/en.json +155 -0
- package/dist/locales/zh.json +155 -0
- package/dist/templates/components/case-detail.ejs +62 -0
- package/dist/templates/components/evidence-tabs.ejs +249 -0
- package/dist/templates/components/header.ejs +27 -0
- package/dist/templates/components/overview.ejs +56 -0
- package/dist/templates/components/sidebar.ejs +40 -0
- package/dist/templates/components/video-player.ejs +9 -0
- package/dist/templates/report.ejs +26 -0
- package/dist/templates/styles/main.css +1168 -0
- package/dist/templates/styles/themes.css +59 -0
- package/dist/test-cli.js +1289 -0
- package/dist/test-cli.js.map +7 -0
- package/package.json +64 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toby1123yjh/test-cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "AI-powered E2E testing tool with natural language test case generation",
|
|
5
|
+
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"packageManager": "pnpm@10.0.0",
|
|
8
|
+
"bin": {
|
|
9
|
+
"test-cli": "./dist/test-cli.js"
|
|
10
|
+
},
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/toby1123yjh/test-cli.git"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/toby1123yjh/test-cli/issues"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/toby1123yjh/test-cli#readme",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18.0.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "pnpm -r --if-present build && node esbuild.config.mjs && node scripts/copy-locales.mjs && node scripts/copy-html-report-assets.mjs && node scripts/test-cli-build.js",
|
|
30
|
+
"dev": "pnpm -r --if-present dev",
|
|
31
|
+
"test": "node scripts/test.mjs",
|
|
32
|
+
"typecheck": "pnpm -r --if-present typecheck",
|
|
33
|
+
"prepublishOnly": "pnpm run typecheck && pnpm run build"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"pnpm": {
|
|
39
|
+
"onlyBuiltDependencies": [
|
|
40
|
+
"esbuild"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/ejs": "^3.1.5",
|
|
45
|
+
"@types/json-schema": "^7.0.15",
|
|
46
|
+
"@types/node": "^22.0.0",
|
|
47
|
+
"@types/react": "^18.3.0",
|
|
48
|
+
"esbuild": "^0.21.5",
|
|
49
|
+
"typescript": "^5.7.0",
|
|
50
|
+
"vitest": "^2.1.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@ai-sdk/anthropic": "^3.0.12",
|
|
54
|
+
"@ai-sdk/google": "^3.0.7",
|
|
55
|
+
"@ai-sdk/openai": "^3.0.9",
|
|
56
|
+
"ai": "^6.0.33",
|
|
57
|
+
"ejs": "^3.1.x",
|
|
58
|
+
"fast-glob": "^3.3.3",
|
|
59
|
+
"marked": "^12.x",
|
|
60
|
+
"react-devtools-core": "^4.19.1",
|
|
61
|
+
"yaml": "^2.7.0",
|
|
62
|
+
"zod-to-json-schema": "^3.25.1"
|
|
63
|
+
}
|
|
64
|
+
}
|