mirror of
https://github.com/luxwallet/ui.git
synced 2026-10-30 19:47:51 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's dts build cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. TS7 removed baseUrl and nothing here declared paths against it, so the setting just goes. Neutral on 6. 0 diagnostics before and after, on both compilers. Co-authored-by: Hanzo Dev <[email protected]>
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"name": "@luxwallet/ui",
|
|
"version": "0.2.1",
|
|
"description": "Shared, cross-target Lux Wallet UI component library built on @hanzo/gui. One component tree renders on web (react-native-web), browser extension, desktop, and native React Native.",
|
|
"license": "MIT",
|
|
"author": "Lux Wallet team",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/luxwallet/ui.git"
|
|
},
|
|
"type": "module",
|
|
"source": "src/index.ts",
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"react-native": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./theme": {
|
|
"types": "./dist/theme.d.ts",
|
|
"react-native": "./dist/theme.mjs",
|
|
"browser": "./dist/theme.mjs",
|
|
"module": "./dist/theme.mjs",
|
|
"import": "./dist/theme.mjs",
|
|
"require": "./dist/theme.cjs",
|
|
"default": "./dist/theme.mjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md",
|
|
"LLM.md"
|
|
],
|
|
"scripts": {
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"build": "tsup",
|
|
"test": "vitest run",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"peerDependencies": {
|
|
"@hanzo/gui": ">=7",
|
|
"react": ">=18",
|
|
"react-native": "*",
|
|
"react-native-svg": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react-native": {
|
|
"optional": true
|
|
},
|
|
"react-native-svg": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.12",
|
|
"react-native-svg": "15.15.5",
|
|
"tsup": "^8.3.5",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3",
|
|
"vitest": "^3.0.5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|