UNPKG

@antiwork/shortest

Version:

AI-powered natural language end-to-end testing framework

106 lines 3.46 kB
{ "name": "@antiwork/shortest", "version": "0.4.9", "description": "AI-powered natural language end-to-end testing framework", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "shortest": "./dist/cli/bin.js" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist", "dist/cli", "src/shortest.config.ts.example" ], "dependencies": { "@babel/code-frame": "^7.26.2", "@babel/parser": "^7.26.9", "@babel/traverse": "^7.26.9", "@babel/types": "^7.26.9", "@inquirer/prompts": "^7.4.0", "@listr2/prompt-adapter-inquirer": "^2.0.18", "@netlify/framework-info": "^9.9.2", "@types/babel__traverse": "^7.20.6", "chromium-bidi": "^0.5.24", "commander": "^13.1.0", "glob": "^10.4.5", "globby": "^14.1.0", "listr2": "^8.2.5", "otplib": "^12.0.1", "picocolors": "^1.1.1", "simple-git": "^3.27.0" }, "devDependencies": { "@babel/generator": "^7.27.0", "@types/babel__generator": "^7.6.8", "@types/jest": "^29.5.14", "@types/node": "^20.17.17", "package-manager-detector": "0.2.9", "rimraf": "^6.0.1", "tsup": "^8.3.6", "tsx": "^4.19.3", "typescript": "~5.7.3", "vitest": "^1.6.1", "zod": "^3.24.2" }, "engines": { "node": ">=18" }, "peerDependencies": { "@ai-sdk/anthropic": "^1.1.15", "@ai-sdk/provider": "^1.0.10", "ai": "^4.1.53", "dotenv": "^16.4.5", "esbuild": "^0.20.1", "expect": "^29.7.0", "mailosaur": "^8.7.0", "playwright": "^1.50.1" }, "author": "Antiwork", "license": "MIT", "repository": { "directory": "packages/shortest", "type": "git", "url": "https://github.com/antiwork/shortest" }, "keywords": [ "testing", "e2e", "ai", "automation", "browser", "playwright" ], "bugs": { "url": "https://github.com/antiwork/shortest/issues" }, "homepage": "https://github.com/antiwork/shortest#readme", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "rimraf dist && pnpm build:types && pnpm build:js && pnpm build:cli", "build:pack": "pnpm build && pnpm pack", "postinstall": "node -e \"if (process.platform !== 'win32') { try { require('child_process').execSync('chmod +x dist/cli/bin.js') } catch (_) {} }\"", "build:types": "tsup src/index.ts --dts-only --format esm --outDir dist", "build:js": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.js --external:esbuild --external:punycode --external:playwright --external:expect --external:dotenv --external:ai --external:@ai-sdk/* --external:@babel/* --external:tty", "build:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs --external:esbuild --external:punycode --external:playwright --external:expect --external:dotenv --external:ai --external:@ai-sdk/* --external:@babel/* --external:tty", "build:cli": "node scripts/build-cli.js", "dev": "pnpm build --watch", "cli": "node dist/cli/bin.js", "test:unit": "npx vitest run", "test:unit:watch": "npx vitest --watch", "test:e2e": "node --import tsx --test tests/e2e/index.ts", "cache:clear": "pnpm build && shortest cache clear --force-purge" } }