mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-09 08:48:15 +01:00
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"name": "@trezor/protobuf",
|
|
"version": "1.4.2-beta.1",
|
|
"license": "See LICENSE.md in repo root",
|
|
"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"
|
|
},
|
|
"npmPublishAccess": "public",
|
|
"files": [
|
|
"lib/",
|
|
"!**/*.map",
|
|
"scripts/protobuf-build.sh",
|
|
"scripts/protobuf-patches",
|
|
"scripts/protobuf-types.js",
|
|
"messages.json"
|
|
],
|
|
"scripts": {
|
|
"test:unit": "yarn g:jest -c ../../jest.config.base.js",
|
|
"depcheck": "yarn g:depcheck",
|
|
"type-check": "yarn g:tsc --build",
|
|
"build:lib": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/replace-imports.sh ./lib",
|
|
"update:schema": "yarn workspace @trezor/schema-utils codegen $(pwd)/src/messages.ts > src/messages-schema.ts && yarn g:eslint --fix src/messages-schema.ts && yarn g:prettier --write src/messages-schema.ts",
|
|
"update:protobuf": "./scripts/protobuf-build.sh",
|
|
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
|
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
|
},
|
|
"dependencies": {
|
|
"@trezor/schema-utils": "workspace:*",
|
|
"long": "5.2.5",
|
|
"protobufjs": "7.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"protobufjs-cli": "^1.1.3",
|
|
"tsx": "^4.20.3"
|
|
},
|
|
"peerDependencies": {
|
|
"tslib": "^2.6.2"
|
|
}
|
|
}
|