mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-09 08:48:15 +01:00
chore(device-utils): prepare setup for npm release
This commit is contained in:
committed by
Carlos García Ortiz
parent
7a4a38af5b
commit
e4c32edb37
@@ -1,14 +1,22 @@
|
||||
{
|
||||
"name": "@trezor/device-utils",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"license": "See LICENSE.md in repo root",
|
||||
"sideEffects": false,
|
||||
"main": "src/index",
|
||||
"publishConfig": {
|
||||
"main": "lib/index.js"
|
||||
},
|
||||
"files": [
|
||||
"lib/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"scripts": {
|
||||
"build:lib": "yarn g:rimraf -rf lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/replace-imports.sh ./lib",
|
||||
"depcheck": "yarn g:depcheck",
|
||||
"type-check": "yarn g:tsc --build",
|
||||
"test:unit": "yarn g:jest -c ../../jest.config.base.js --passWithNoTests"
|
||||
"test:unit": "yarn g:jest -c ../../jest.config.base.js --passWithNoTests",
|
||||
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib",
|
||||
"types": ["w3c-web-usb", "node"]
|
||||
"outDir": "./lib"
|
||||
},
|
||||
"include": ["./src"],
|
||||
"references": []
|
||||
|
||||
Reference in New Issue
Block a user