mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-02 21:45:14 +01:00
37 lines
1.2 KiB
JSON
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"
|
|
}
|
|
}
|