mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 05:55:03 +01:00
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "@trezor/schema-utils",
|
|
"version": "10.0.0-alpha.1",
|
|
"license": "See LICENSE.md in repo root",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"npmPublishAccess": "public",
|
|
"files": [
|
|
"lib/",
|
|
"libESM/"
|
|
],
|
|
"scripts": {
|
|
"test:unit": "yarn g:jest",
|
|
"depcheck": "yarn g:depcheck",
|
|
"type-check": "yarn g:tsc --build",
|
|
"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",
|
|
"codegen": "ts-node --skip-project ./src/codegen.ts",
|
|
"prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js"
|
|
},
|
|
"devDependencies": {
|
|
"@sinclair/typebox-codegen": "^0.10.4",
|
|
"@trezor/eslint": "workspace:*",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.21.0"
|
|
},
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.33.7",
|
|
"ts-mixer": "^6.0.3"
|
|
},
|
|
"peerDependencies": {
|
|
"tslib": "^2.6.2"
|
|
}
|
|
}
|