@testiumhq/cli 1.0.1

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.
Files changed (3) hide show
  1. package/README.md +71 -0
  2. package/dist/cli.js +180 -0
  3. package/package.json +69 -0
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@testiumhq/cli",
3
+ "version": "1.0.1",
4
+ "description": "A CLI tool for recording and managing test cases",
5
+ "main": "dist/index.js",
6
+ "type": "module",
7
+ "bin": {
8
+ "testium": "./dist/index.js"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "scripts": {
17
+ "build": "npm run clean && npm run bundle",
18
+ "clean": "node -e \"const fs = require('fs'); if (fs.existsSync('dist')) fs.rmSync('dist', { recursive: true, force: true });\"",
19
+ "bundle": "esbuild src/cli.ts --bundle --minify --platform=node --format=esm --target=node18 --outfile=dist/index.js --external:playwright --external:axios --external:chalk --external:commander --external:dotenv --external:fs-extra --external:openai --external:ws --external:fastify --external:@fastify/cors",
20
+ "dev": "tsx src/cli.ts",
21
+ "migrate": "npx tsx src/scripts/migrateSelectors.ts",
22
+ "heal": "npx tsx src/cli.ts run --heal",
23
+ "heal:interactive": "npx tsx src/cli.ts run --heal-interactive",
24
+ "start": "tsx dist/cli.js"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/testiumhq/testiumhq.git",
29
+ "directory": "apps/cli"
30
+ },
31
+ "homepage": "https://testiumhq.com/cli-guide",
32
+ "bugs": {
33
+ "url": "https://github.com/testiumhq/testiumhq/issues"
34
+ },
35
+ "keywords": [
36
+ "cli",
37
+ "testing",
38
+ "recorder"
39
+ ],
40
+ "author": "",
41
+ "license": "ISC",
42
+ "dependencies": {
43
+ "axios": "^1.13.6",
44
+ "chalk": "^5.6.2",
45
+ "commander": "^14.0.3",
46
+ "dotenv": "^17.3.1",
47
+ "dotnet": "^1.1.4",
48
+ "fs-extra": "^11.3.4",
49
+ "openai": "^4.76.0",
50
+ "playwright": "^1.50.0",
51
+ "fastest-levenshtein": "^1.0.16",
52
+ "ws": "^8.19.0",
53
+ "fastify": "^5.8.1",
54
+ "@fastify/cors": "^11.2.0"
55
+ },
56
+ "devDependencies": {
57
+ "@playwright/test": "^1.58.2",
58
+ "@testiumhq/generator": "workspace:*",
59
+ "@testiumhq/types": "workspace:*",
60
+ "@testiumhq/utils": "workspace:*",
61
+ "@types/fs-extra": "^11.0.4",
62
+ "@types/node": "^25.3.3",
63
+ "@types/ws": "^8.18.1",
64
+ "esbuild": "^0.25.0",
65
+ "tsx": "^4.20.5",
66
+ "ts-node": "^10.9.2",
67
+ "typescript": "^5.9.3"
68
+ }
69
+ }