mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"name": "@trezor/connect-common",
|
|
"version": "0.5.0",
|
|
"author": "Trezor <info@trezor.io>",
|
|
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/connect-common",
|
|
"keywords": [
|
|
"Trezor",
|
|
"trezor-connect"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/trezor/trezor-suite.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/trezor/trezor-suite/issues"
|
|
},
|
|
"npmPublishAccess": "public",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"description": "Collection of assets and utils used by trezor-connect library.",
|
|
"main": "./src/index.ts",
|
|
"files": [
|
|
"lib/",
|
|
"libESM/",
|
|
"CHANGELOG.md"
|
|
],
|
|
"publishConfig": {
|
|
"main": "./lib/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./libESM/index.js",
|
|
"require": "./lib/index.js",
|
|
"types": "./lib/index.d.ts"
|
|
},
|
|
"./lib/*": "./lib/*.js",
|
|
"./libESM/*.js": "./libESM/*.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"type-check": "yarn g:tsc --build tsconfig.json",
|
|
"prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js",
|
|
"depcheck": "yarn g:depcheck"
|
|
},
|
|
"dependencies": {
|
|
"@trezor/env-utils": "workspace:*",
|
|
"@trezor/utils": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"tslib": "^2.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chrome": "^0.0.299",
|
|
"@types/jest": "29.5.12",
|
|
"@types/node": "22.13.10",
|
|
"tsx": "^4.20.3"
|
|
}
|
|
}
|