mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-21 22:57:17 +01:00
chore(env-utils): build:lib
This commit is contained in:
committed by
Szymon Lesisz
parent
08e4015010
commit
044490ef5d
@@ -12,10 +12,15 @@
|
||||
"url": "https://github.com/trezor/trezor-suite/issues"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"main": "src/index.ts",
|
||||
"main": "lib/index",
|
||||
"files": [
|
||||
"lib/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"scripts": {
|
||||
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
||||
"type-check": "tsc --build",
|
||||
"build:lib": "rimraf ./lib && yarn tsc --build tsconfig.lib.json",
|
||||
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
},
|
||||
|
||||
7
packages/env-utils/tsconfig.lib.json
Normal file
7
packages/env-utils/tsconfig.lib.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
Reference in New Issue
Block a user