mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 19:32:55 -05:00
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "@onyx-ai/shared",
|
|
"version": "0.1.0",
|
|
"description": "Platform-agnostic shared design tokens, types, contracts, and utilities for Onyx web + mobile.",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"files": ["dist"],
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./contracts": {
|
|
"types": "./dist/contracts/index.d.ts",
|
|
"import": "./dist/contracts/index.js"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/types/index.js"
|
|
},
|
|
"./utils": {
|
|
"types": "./dist/utils/index.d.ts",
|
|
"import": "./dist/utils/index.js"
|
|
},
|
|
"./tokens": {
|
|
"types": "./dist/tokens.d.ts",
|
|
"import": "./dist/tokens.js"
|
|
},
|
|
"./tokens.css": "./dist/tokens.css"
|
|
},
|
|
"scripts": {
|
|
"build:tokens": "node style-dictionary.config.mjs",
|
|
"build:ts": "tsc -p tsconfig.build.json",
|
|
"build": "bun run build:tokens && bun run build:ts",
|
|
"dev": "node scripts/watch.mjs",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"prepare": "bun run build"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"style-dictionary": "^4.0.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|