super-pancake-automation
Version:
A lightweight DOM-based UI automation framework using Chrome DevTools Protocol
148 lines (147 loc) • 5.49 kB
JSON
{
"name": "super-pancake-automation",
"version": "2.10.2",
"description": "A lightweight DOM-based UI automation framework using Chrome DevTools Protocol",
"main": "index.js",
"type": "module",
"types": "./index.d.ts",
"bin": {
"super-pancake": "./bin/cli.js",
"super-pancake-ui": "./bin/ui-runner.js",
"super-pancake-init": "./bin/init.js",
"super-pancake-setup": "./bin/setup.js"
},
"keywords": [
"automation",
"dom",
"cdp",
"chrome",
"testing",
"ui-testing",
"browser-automation",
"chrome-devtools",
"javascript",
"nodejs",
"test-framework",
"web-automation",
"screenshot",
"form-testing",
"vitest",
"playwright-alternative",
"puppeteer-alternative",
"selenium-alternative"
],
"author": "Pradap Pandiyan",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/pradapjackie/super-pancake.git"
},
"bugs": {
"url": "https://github.com/pradapjackie/super-pancake/issues",
"email": "pradapjackie@gmail.com"
},
"homepage": "https://github.com/pradapjackie/super-pancake#readme",
"scripts": {
"postinstall": "node scripts/postinstall.js",
"test": "node scripts/super-pancake-test.js",
"test:ci": "vitest run tests/reporter/html-reporter.test.js --reporter=verbose --testTimeout=5000",
"test:report": "node scripts/generate-test-report.js",
"report:generate": "node scripts/test-report-generator.js",
"report:test": "node scripts/test-report-generator.js automationTestData.json --open",
"report:verify": "node scripts/verify-report.js",
"report:clean": "node scripts/cleanup-reports.js",
"report:clean-all": "node scripts/cleanup-reports.js --data",
"report:fresh": "npm run report:clean && npm run report:test && npm run report:verify",
"screenshots:clean": "node scripts/cleanup-reports.js --screenshots",
"clean:reports": "node scripts/cleanup-reports.js",
"clean:all": "node scripts/cleanup-reports.js --all",
"clean:data": "node scripts/cleanup-reports.js --data",
"clean:help": "node scripts/cleanup-reports.js --help",
"report:help": "echo '📋 Report Commands:\\n• npm run report:generate - Generate from existing JSON\\n• npm run report:test - Generate and open report\\n• npm run report:verify - Verify report structure\\n• npm run report:clean - Clean reports & screenshots\\n• npm run report:fresh - Complete workflow\\n• npm run screenshots:clean - Clean only screenshots'",
"clean:overview": "echo '🧹 Cleanup Commands:\\n• npm run clean:reports - Clean HTML reports and debug files\\n• npm run clean:all - Clean everything including JSON data\\n• npm run clean:data - Clean reports and JSON data\\n• npm run screenshots:clean - Clean only screenshot files\\n• npm run clean:help - Show detailed cleanup options'",
"test:integration": "node scripts/super-pancake-test.js tests/integration/",
"test:examples": "node scripts/super-pancake-test.js tests/examples/",
"test:watch": "npx vitest watch tests/",
"test:ui": "node scripts/test-ui.js",
"start": "node scripts/test-ui.js",
"ui": "node scripts/test-ui.js",
"generate": "node bin/generate-test.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:check": "eslint . --max-warnings 0",
"lint:errors-only": "eslint . --quiet",
"lint:report": "eslint . --format html --output-file eslint-report.html",
"build": "echo 'No build step required'",
"prepare": "npm run build",
"test:end-user": "node scripts/test-end-user-experience.js",
"test:ci-end-user": "npm run build && npm pack && node scripts/test-end-user-experience.js",
"test:end-user-sh": "bash scripts/test-end-user.sh",
"test:ci-locally": "bash scripts/test-ci-locally.sh"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"exports": {
".": "./index.js",
"./utils/launcher.js": "./utils/launcher.js",
"./utils/simple-launcher.js": "./utils/simple-launcher.js",
"./core/api.js": "./core/api.js",
"./core/browser.js": "./core/browser.js",
"./core/simple-browser.js": "./core/simple-browser.js",
"./core/session.js": "./core/session.js",
"./core/simple-session.js": "./core/simple-session.js",
"./core/session-context.js": "./core/session-context.js",
"./core/dom.js": "./core/dom.js",
"./core/simple-dom-v2.js": "./core/simple-dom-v2.js",
"./core/assert.js": "./core/assert.js",
"./reporter/htmlReporter.js": "./reporter/htmlReporter.js",
"./helpers/testWrapper.js": "./helpers/testWrapper.js",
"./config.js": "./config.js"
},
"files": [
"bin/",
"core/",
"utils/",
"scripts/",
"reporter/",
"helpers/",
"public/",
"types/",
"templates/",
"config.js",
"index.js",
"index.d.ts",
"README.md"
],
"dependencies": {
"ajv": "^8.12.0",
"axios": "^1.6.0",
"chrome-launcher": "^0.15.0",
"express": "^5.1.0",
"form-data": "^4.0.0",
"glob": "^10.4.5",
"jsonpath": "^1.1.1",
"node-fetch": "^3.3.2",
"open": "^10.1.2",
"ws": "^8.18.3"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.0.0",
"vitest": "^3.2.4"
}
}