{"name":"@midscene/web","version":"0.7.2-beta-20241024103907.0","license":"MIT","_id":"@midscene/web@0.7.2-beta-20241024103907.0","maintainers":[{"name":"jingkai.zhao","email":""},{"name":"quanru","email":"quanruzhuoxiu@gmail.com"},{"name":"yuyutaotao","email":""},{"name":"zhoushaw","email":""}],"homepage":"https://midscenejs.com/","bugs":{"url":"https://github.com/web-infra-dev/midscene/issues"},"bin":{"midscene-playground":"bin/midscene-playground"},"dist":{"shasum":"0ea544c885dff389890d9c022c8b4d831d88da5a","size":1372537,"noattachment":false,"key":"/@midscene/web/-/@midscene/web-0.7.2-beta-20241024103907.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@midscene/web/download/@midscene/web-0.7.2-beta-20241024103907.0.tgz"},"main":"./dist/lib/index.js","_from":"file:midscene-web-0.7.2-beta-20241024103907.0.tgz","types":"./dist/types/index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":"./dist/lib/index.js","./debug":"./dist/lib/debug.js","./constants":"./dist/lib/constants.js","./puppeteer":"./dist/lib/puppeteer.js","./playground":"./dist/lib/playground.js","./playwright":"./dist/lib/playwright.js","./html-element":"./dist/lib/html-element/index.js","./playwright-report":"./dist/lib/playwright-report.js","./browser/playground":"./dist/browser/playground.js"},"scripts":{"dev":"modern dev","e2e":"playwright test --config=playwright.config.ts","new":"modern new","test":"vitest --run","build":"npm run build:pkg && npm run build:script && npm run build:browser","e2e:ui":"playwright test --config=playwright.config.ts --ui","test:u":"vitest --run -u","test:ai":"AI_TEST_TYPE=web npm run test","upgrade":"modern upgrade","build:pkg":"modern build -c ./modern.config.ts","e2e:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts","dev:server":"npm run build && ./bin/midscene-playground","e2e:report":"MIDSCENE_REPORT=true playwright test --config=playwright.config.ts","build:watch":"modern build -w -c ./modern.config.ts & modern build -w -c ./modern.inspect.config.ts","test:ai:all":"npm run test:ai:web && npm run test:ai:native","build:script":"modern build -c ./modern.inspect.config.ts","e2e:ui:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts  --ui","build:browser":"modern build -c ./modern.browser.config.ts","test:ai:cache":"MIDSCENE_CACHE=true AI_TEST_TYPE=web npm run test","test:ai:native":"MIDSCENE_CACHE=true AI_TEST_TYPE=native npm run test"},"_npmUser":{"name":"zhoushaw","email":"466150516@qq.com"},"_resolved":"/tmp/47021fea0764894dc992132a3bda2da4/midscene-web-0.7.2-beta-20241024103907.0.tgz","_integrity":"sha512-M/keRDn6Oo0gYgSpDMTdMyWxYwx8X4z6S6rlpG4jHT65Yp2iFDrrKvDlVauaPMW9BQaFuLiivmJyVtzvnfx8xg==","repository":{"url":"git+https://github.com/web-infra-dev/midscene.git","type":"git"},"_npmVersion":"10.7.0","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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"cors":"2.8.5","openai":"4.57.1","express":"4.21.1","inquirer":"10.1.5","@midscene/core":"0.7.2-beta-20241024103907.0","@xmldom/xmldom":"0.8.10","@midscene/shared":"0.7.2-beta-20241024103907.0"},"jsnext:source":"./src/index.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"typesVersions":{"*":{".":["./dist/types/index.d.ts"],"debug":["./dist/types/debug.d.ts"],"constants":["./dist/types/constants.d.ts"],"puppeteer":["./dist/types/puppeteer.d.ts"],"playground":["./dist/types/playground.d.ts"],"playwright":["./dist/types/playwright.d.ts"],"html-element":["./dist/types/html-element/index.d.ts"],"playwright-report":["./dist/types/playwright-report.d.ts"],"browser/playground":["./dist/browser/types/playground.d.ts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dotenv":"16.4.5","vitest":"^1.6.0","fs-extra":"11.2.0","js-sha256":"0.11.0","puppeteer":"23.0.2","playwright":"1.44.1","typescript":"~5.0.4","@types/cors":"2.8.12","@types/node":"^18.0.0","@wdio/types":"9.0.4","webdriverio":"9.0.6","@types/express":"4.17.14","@types/fs-extra":"11.0.4","@playwright/test":"1.44.1","@modern-js/module-tools":"2.58.2","@modern-js/plugin-module-node-polyfill":"2.58.2"},"peerDependencies":{"puppeteer":">=20.0.0","playwright":"^1.44.1","webdriverio":">=9.0.6","@playwright/test":"^1.44.1"},"peerDependenciesMeta":{"puppeteer":{"optional":true},"webdriverio":{"optional":true},"@playwright/test":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/web_0.7.2-beta-20241024103907.0_1729766519750_0.005696663247028999","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-10-24T10:41:59.980Z","publish_time":1729766519980,"_source_registry_name":"default","_cnpm_publish_time":1729766519980,"dist-tags":{"beta":"0.17.6-beta-20250605050844.0","latest":"0.17.5"}}