mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-08 08:17:58 +01:00
54 lines
1.9 KiB
JSON
54 lines
1.9 KiB
JSON
{
|
|
"name": "@trezor/transport-bluetooth",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "See LICENSE.md in repo root",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/trezor/trezor-suite.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/trezor/trezor-suite/issues"
|
|
},
|
|
"keywords": [
|
|
"Trezor",
|
|
"transport"
|
|
],
|
|
"main": "./src/index.ts",
|
|
"browser": "./src/browser.ts",
|
|
"scripts": {
|
|
"depcheck": "yarn g:depcheck",
|
|
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
|
"type-check": "yarn g:tsc --build",
|
|
"lint:rs": "cargo fmt --all -- --check",
|
|
"lint:rs:fix": "cargo fmt --all",
|
|
"dev:server": "yarn build:ui && RUST_BACKTRACE=1 RUST_LOG=debug cargo run --bin trezor-bluetooth",
|
|
"build:server": "yarn build:ui && ./scripts/build.sh",
|
|
"build:napi:apple-arm": "napi build -s -t aarch64-apple-darwin --release --platform --js index.js --output-dir ./napi --features napi",
|
|
"build:napi:apple-intel": "napi build -s -t x86_64-apple-darwin --release --platform --js index.js --output-dir ./napi --features napi",
|
|
"build:napi": "yarn build:napi:apple-arm && yarn build:napi:apple-intel",
|
|
"build:ui": "webpack --config ./webpack/webpack.build.js"
|
|
},
|
|
"napi": {
|
|
"binaryName": "trezor_bluetooth",
|
|
"targets": [
|
|
"x86_64-apple-darwin",
|
|
"aarch64-apple-darwin"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@trezor/ipc-proxy": "workspace:*",
|
|
"@trezor/transport": "workspace:*",
|
|
"@trezor/utils": "workspace:*",
|
|
"@trezor/websocket-client": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "29.5.12",
|
|
"@types/node": "22.13.10",
|
|
"html-webpack-plugin": "5.6.6",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"webpack": "5.104.1"
|
|
}
|
|
}
|