Files
trezor-suite/packages/device-utils/package.json
2026-01-27 18:29:02 +01:00

37 lines
1.2 KiB
JSON

{
"name": "@trezor/device-utils",
"version": "10.0.0-alpha.1",
"license": "See LICENSE.md in repo root",
"sideEffects": false,
"main": "src/index",
"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": {
"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",
"depcheck": "yarn g:depcheck",
"type-check": "yarn g:tsc --build",
"test:unit": "yarn g:jest -c ./jest.config.js",
"prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js"
},
"devDependencies": {
"@trezor/protobuf": "workspace:*",
"tsx": "^4.21.0"
}
}