{"name":"@midscene/web","description":"An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language. See https://midscenejs.com/ for details.","version":"0.6.2","repository":{"type":"git","url":"git+https://github.com/web-infra-dev/midscene.git"},"homepage":"https://midscenejs.com/","jsnext:source":"./src/index.ts","main":"./dist/lib/index.js","types":"./dist/types/index.d.ts","exports":{".":"./dist/lib/index.js","./puppeteer":"./dist/lib/puppeteer.js","./playwright":"./dist/lib/playwright.js","./playwright-report":"./dist/lib/playwright-report.js","./debug":"./dist/lib/debug.js","./constants":"./dist/lib/constants.js","./html-element":"./dist/lib/html-element/index.js"},"typesVersions":{"*":{".":["./dist/types/index.d.ts"],"puppeteer":["./dist/types/puppeteer.d.ts"],"playwright":["./dist/types/playwright.d.ts"],"playwright-report":["./dist/types/playwright-report.d.ts"],"debug":["./dist/types/debug.d.ts"],"constants":["./dist/types/constants.d.ts"],"html-element":["./dist/types/html-element/index.d.ts"]}},"dependencies":{"openai":"4.57.1","inquirer":"10.1.5","@xmldom/xmldom":"0.8.10","@midscene/shared":"0.6.2","@midscene/core":"0.6.2"},"devDependencies":{"@modern-js/module-tools":"2.58.2","@playwright/test":"1.44.1","@types/fs-extra":"11.0.4","@types/node":"^18.0.0","@wdio/types":"9.0.4","dotenv":"16.4.5","fs-extra":"11.2.0","js-sha256":"0.11.0","playwright":"1.44.1","puppeteer":"23.0.2","typescript":"~5.0.4","vitest":"^1.6.0","webdriverio":"9.0.6"},"peerDependencies":{"@playwright/test":"^1.44.1","playwright":"^1.44.1","puppeteer":">=20.0.0","webdriverio":">=9.0.6"},"peerDependenciesMeta":{"@playwright/test":{"optional":true},"puppeteer":{"optional":true},"webdriverio":{"optional":true}},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"license":"MIT","scripts":{"dev":"modern dev","build":"npm run build:pkg && npm run build:script","build:pkg":"modern build -c ./modern.config.ts","build:script":"modern build -c ./modern.inspect.config.ts","build:watch":"modern build -w -c ./modern.config.ts & modern build -w -c ./modern.inspect.config.ts","test":"vitest --run","test:u":"vitest --run -u","test:ai":"AI_TEST_TYPE=web npm run test","test:ai:cache":"MIDSCENE_CACHE=true AI_TEST_TYPE=web npm run test","test:ai:all":"npm run test:ai:web && npm run test:ai:native","test:ai:native":"MIDSCENE_CACHE=true AI_TEST_TYPE=native npm run test","new":"modern new","upgrade":"modern upgrade","e2e":"playwright test --config=playwright.config.ts","e2e:report":"MIDSCENE_REPORT=true playwright test --config=playwright.config.ts","e2e:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts","e2e:ui":"playwright test --config=playwright.config.ts --ui","e2e:ui:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts  --ui"},"_id":"@midscene/web@0.6.2","bugs":{"url":"https://github.com/web-infra-dev/midscene/issues"},"_integrity":"sha512-5lf/5nA8n92qFhs//6bpoMn2sfmeNNGgQmEKaehypXWB3+gPWq6wojHc2Y+aJ9lgovBZcKRBPNrgyDPwZ1oRaQ==","_resolved":"/tmp/35bc97122c8225895ef92aaa7f89f79c/midscene-web-0.6.2.tgz","_from":"file:midscene-web-0.6.2.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"shasum":"222af9c328f85699cd2f760ff52e42548e041441","size":147542,"noattachment":false,"key":"/@midscene/web/-/@midscene/web-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@midscene/web/download/@midscene/web-0.6.2.tgz"},"_npmUser":{"name":"zhoushaw","email":"466150516@qq.com"},"directories":{},"maintainers":[{"name":"jingkai.zhao","email":""},{"name":"yuyutaotao","email":""},{"name":"zhoushaw","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web_0.6.2_1728962823074_0.6075998686272228"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-15T03:27:03.347Z","publish_time":1728962823347,"_source_registry_name":"default","_cnpm_publish_time":1728962823347,"dist-tags":{"beta":"0.17.6-beta-20250605050844.0","latest":"0.17.5"}}