Files
logo/package.json
zeekayandHanzo Dev 4d893c9559 Compile with TypeScript 7
typescript 7.0.2 is the native compiler, so this is a pin and not a second
toolchain. Nothing here reads the JavaScript API. 0 diagnostics before and
after.

build:cli names its input on the command line, which TS7 asks you to spell
out with --ignoreConfig, and it wanted moduleResolution node, which TS7
removed — bundler, to match the module it already declares.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:34:16 -07:00

82 lines
2.0 KiB
JSON

{
"name": "@luxfi/logo",
"version": "1.0.11",
"description": "Official Lux logo package with React components and utilities",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"svg"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./logos": {
"types": "./dist/logos.d.ts",
"import": "./dist/logos.js",
"require": "./dist/logos.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js",
"require": "./dist/react.js"
}
},
"scripts": {
"build": "npm run clean && npm run compile && npm run build:cli",
"build:cli": "tsc --ignoreConfig src/build.ts --outDir dist --module esnext --target es2020 --moduleResolution bundler --esModuleInterop --skipLibCheck",
"compile": "tsc",
"clean": "rm -rf dist",
"dev": "tsc --watch",
"generate": "node dist/build.js",
"preview": "npm run generate && open menu-bar-preview.html",
"lint": "eslint src --ext .ts,.tsx",
"format": "prettier --write 'src/**/*.{ts,tsx,json}'",
"typecheck": "tsc --noEmit",
"test": "npm run typecheck && npm run build",
"watch": "tsc --watch",
"prepublishOnly": "npm run build"
},
"keywords": [
"lux",
"logo",
"icon",
"favicon",
"react",
"typescript"
],
"author": "Lux Network",
"license": "MIT",
"dependencies": {
"sharp": "^0.34.4"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^20.19.17",
"@types/react": "^18.3.24",
"react": "^18.3.1",
"typescript": "7.0.2"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/luxfi/logo.git"
},
"publishConfig": {
"access": "public"
}
}