mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
60 lines
2.0 KiB
JSON
60 lines
2.0 KiB
JSON
{
|
|
"name": "@trezor/utils",
|
|
"version": "10.0.0-alpha.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,
|
|
"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"
|
|
},
|
|
"./lib/*": "./lib/*.js",
|
|
"./libESM/*.js": "./libESM/*.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/",
|
|
"libESM/",
|
|
"CHANGELOG.md"
|
|
],
|
|
"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/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",
|
|
"prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js",
|
|
"depcheck": "yarn g:depcheck"
|
|
},
|
|
"peerDependencies": {
|
|
"tslib": "^2.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@trezor/eslint": "workspace:*",
|
|
"@trezor/type-utils": "workspace:*",
|
|
"tsx": "^4.21.0"
|
|
},
|
|
"dependencies": {
|
|
"bignumber.js": "^9.3.1"
|
|
},
|
|
"browser": {
|
|
"crypto": false
|
|
}
|
|
}
|