Files
trezor-suite/packages/utils/package.json
2025-07-07 09:54:48 +02:00

50 lines
1.7 KiB
JSON

{
"name": "@trezor/utils",
"version": "9.4.2-beta.1",
"author": "Trezor <info@trezor.io>",
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/utils",
"description": "A collection of typescript utils that are intended to be used across trezor-suite monorepo.",
"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"
},
"sideEffects": false,
"publishConfig": {
"main": "lib/index"
},
"main": "src/index.ts",
"files": [
"lib/",
"libESM",
"!**/*.map"
],
"scripts": {
"test:unit": "yarn g:jest --verbose -c ./jest.config.js",
"type-check": "yarn g:tsc --build tsconfig.json",
"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/replace-imports.sh ./lib",
"build:lib:esm": "yarn g:rimraf ./libESM && yarn g:tsc --build tsconfig.libESM.json && ../../scripts/replace-imports.sh ./libESM libESM",
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
"prepublish": "yarn tsx ../../scripts/prepublish.js"
},
"peerDependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@trezor/eslint": "workspace:*",
"@trezor/type-utils": "workspace:*",
"tsx": "^4.20.3"
},
"dependencies": {
"bignumber.js": "^9.3.0"
},
"browser": {
"crypto": false
}
}