mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
10.0.6 went out with 13 files and no dist/, so every import of it failed: the repo gitignores **/dist and the package named no files, which left the packed contents up to whichever tool packed it. A files field settles that. types also pointed at dist/index.d.ts, which tsc never emits — the declarations are under dist/esm — so exports now names the types beside the code it describes. 10.0.7 is published with all 61 files and installs clean; 10.0.6 is deprecated. Co-authored-by: Hanzo Dev <[email protected]>
42 lines
956 B
JSON
42 lines
956 B
JSON
{
|
|
"name": "@luxfi/core",
|
|
"version": "10.0.7",
|
|
"description": "Core types and shared utilities related to blockchain",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public",
|
|
"scope": "@luxfi"
|
|
},
|
|
"author": "Hanzo AI, Inc.",
|
|
"license": "BSD-3-Clause",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/luxfi/bridge.git",
|
|
"directory": "pkg/core"
|
|
},
|
|
"keywords": [
|
|
"hanzo",
|
|
"luxdefi"
|
|
],
|
|
"scripts": {
|
|
"lat": "npm show @luxfi/core version",
|
|
"pub": "npm publish",
|
|
"build": "tsc --project tsconfig.json && tsc --project tsconfig.cjs.json",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
}
|
|
},
|
|
"types": "./dist/esm/index.d.ts",
|
|
"devDependencies": {
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|