{
  "name": "@trezor/connect-web",
  "version": "9.7.2",
  "author": "Trezor <info@trezor.io>",
  "homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/connect-web",
  "description": "High-level javascript interface for Trezor hardware wallet in web environment.",
  "npmPublishAccess": "public",
  "license": "SEE LICENSE IN LICENSE.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/trezor/trezor-suite.git"
  },
  "bugs": {
    "url": "https://github.com/trezor/trezor-suite/issues"
  },
  "keywords": [
    "Trezor",
    "trezor-connect",
    "javascript"
  ],
  "sideEffects": false,
  "main": "lib/index.js",
  "publishConfig": {
    "main": "lib/index.js"
  },
  "files": [
    "lib/",
    "!**/*.map"
  ],
  "scripts": {
    "predev": "node webpack/generate_dev_cert.js",
    "depcheck": "yarn g:depcheck",
    "type-check": "yarn g:tsc --build",
    "test:unit": "yarn g:jest",
    "build:lib": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/publish/replace-imports.sh ./lib cjs && cp ./src/webextension/trezor-usb-permissions.html ./lib/webextension/trezor-usb-permissions.html",
    "dev": "yarn g:rimraf build && TS_NODE_PROJECT=\"tsconfig.lib.json\" yarn webpack --config ./webpack/dev.webpack.config.ts",
    "build:inline": "TS_NODE_PROJECT=\"tsconfig.lib.json\" webpack --config ./webpack/inline.webpack.config.ts",
    "build:webextension": "TS_NODE_PROJECT=\"tsconfig.lib.json\" webpack --config ./webpack/prod.webpack.config.ts",
    "build": "rm -rf build && yarn build:inline && yarn build:webextension",
    "test:e2e": "yarn playwright install && yarn xvfb-maybe -- playwright test --config=./e2e/playwright.config.ts",
    "prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js",
    "prepublish": "yarn tsx ../../scripts/publish/prepublish.js"
  },
  "dependencies": {
    "@trezor/connect": "9.7.2",
    "@trezor/connect-common": "0.5.1",
    "@trezor/utils": "9.5.0",
    "@trezor/websocket-client": "1.3.0"
  },
  "devDependencies": {
    "@babel/preset-typescript": "^7.28.5",
    "@playwright/browser-chromium": "^1.55.0",
    "@playwright/browser-firefox": "^1.55.0",
    "@playwright/browser-webkit": "^1.55.0",
    "@playwright/test": "^1.55.0",
    "@trezor/eslint": "1.0.0",
    "@trezor/type-utils": "1.2.0",
    "@types/chrome": "^0.0.299",
    "@types/jest": "29.5.12",
    "@types/w3c-web-usb": "^1.0.10",
    "@types/web": "^0.0.197",
    "babel-loader": "^10.0.0",
    "html-webpack-plugin": "5.6.4",
    "rimraf": "^6.0.1",
    "selfsigned": "^2.4.1",
    "terser-webpack-plugin": "^5.3.14",
    "tsx": "^4.20.3",
    "webpack": "5.102.1",
    "webpack-cli": "^6.0.1",
    "webpack-merge": "^6.0.1",
    "webpack-plugin-serve": "^1.6.0",
    "worker-loader": "^3.0.8",
    "xvfb-maybe": "^0.2.1"
  },
  "peerDependencies": {
    "tslib": "^2.6.2"
  }
}