mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 05:55:03 +01:00
83 lines
3.0 KiB
JSON
83 lines
3.0 KiB
JSON
{
|
|
"name": "@trezor/connect-web",
|
|
"version": "10.0.0-alpha.1",
|
|
"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": "src/index.ts",
|
|
"publishConfig": {
|
|
"main": "./lib/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./libESM/index.js",
|
|
"require": "./lib/index.js",
|
|
"types": "./lib/index.d.ts"
|
|
}
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/",
|
|
"libESM/",
|
|
"CHANGELOG.md"
|
|
],
|
|
"scripts": {
|
|
"depcheck": "yarn g:depcheck",
|
|
"type-check": "yarn g:tsc --build",
|
|
"build:lib": "yarn build:lib:cjs && yarn build:lib:esm",
|
|
"build:lib:cjs": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/publish/replace-imports.sh ./lib cjs",
|
|
"build:lib:esm": "yarn g:rimraf ./libESM && yarn g:tsc --build tsconfig.libESM.json && ../../scripts/publish/replace-imports.sh ./libESM esm",
|
|
"build:inline": "TS_NODE_PROJECT=\"tsconfig.lib.json\" webpack --config ./webpack/inline.webpack.config.ts",
|
|
"build": "rm -rf build && yarn build:inline",
|
|
"test:e2e": "yarn playwright install && yarn xvfb-maybe -- playwright test --config=./e2e/playwright.config.ts",
|
|
"prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js"
|
|
},
|
|
"dependencies": {
|
|
"@trezor/connect": "workspace:*",
|
|
"@trezor/connect-common": "workspace:*",
|
|
"@trezor/utils": "workspace:*",
|
|
"@trezor/websocket-client": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "^7.28.5",
|
|
"@playwright/browser-chromium": "^1.57.0",
|
|
"@playwright/browser-firefox": "^1.57.0",
|
|
"@playwright/browser-webkit": "^1.57.0",
|
|
"@playwright/test": "^1.57.0",
|
|
"@trezor/eslint": "workspace:*",
|
|
"@trezor/type-utils": "workspace:*",
|
|
"@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",
|
|
"rimraf": "^6.0.1",
|
|
"terser-webpack-plugin": "^5.3.16",
|
|
"tsx": "^4.21.0",
|
|
"webpack": "5.104.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"
|
|
}
|
|
}
|