{"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.7.1","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","bin":{"midscene-playground":"bin/midscene-playground"},"exports":{".":"./dist/lib/index.js","./puppeteer":"./dist/lib/puppeteer.js","./playwright":"./dist/lib/playwright.js","./playwright-report":"./dist/lib/playwright-report.js","./playground":"./dist/lib/playground.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"],"playground":["./dist/types/playground.d.ts"],"debug":["./dist/types/debug.d.ts"],"constants":["./dist/types/constants.d.ts"],"html-element":["./dist/types/html-element/index.d.ts"]}},"dependencies":{"express":"4.21.1","openai":"4.57.1","inquirer":"10.1.5","cors":"2.8.5","@xmldom/xmldom":"0.8.10","@midscene/core":"0.7.1","@midscene/shared":"0.7.1"},"devDependencies":{"@modern-js/module-tools":"2.58.2","@playwright/test":"1.44.1","@types/cors":"2.8.12","@types/fs-extra":"11.0.4","@types/node":"^18.0.0","@types/express":"4.17.14","@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","dev:server":"npm run build && ./bin/midscene-playground","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.7.1","bugs":{"url":"https://github.com/web-infra-dev/midscene/issues"},"_integrity":"sha512-X07gAqDPYCwXU2tMqUGE2GfFWPNnc1hU3Ejm3H0xu5aMP7PMAjv/JNXqwMVODjNuNxsVuvHYUI+noiuVVZ3fSA==","_resolved":"/tmp/57659a6920aeabce259e58b60a9b00f9/midscene-web-0.7.1.tgz","_from":"file:midscene-web-0.7.1.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"shasum":"3c37159ee56485c4f0c77eed05b3d8ffd4c943dc","size":722929,"noattachment":false,"key":"/@midscene/web/-/@midscene/web-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@midscene/web/download/@midscene/web-0.7.1.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.7.1_1729583042147_0.5436853049159274"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-22T07:44:02.460Z","publish_time":1729583042460,"_source_registry_name":"default","_cnpm_publish_time":1729583042460,"dist-tags":{"beta":"0.17.6-beta-20250605050844.0","latest":"0.17.5"}}