Files
dt-design-system/packages/react/package.json
michael 358ecb05cb Prepare all packages for npm publishing
- Add author, repository, homepage, keywords, and engines fields to
  all 6 publishable package.json files
- Add README.md to react, tailwind-preset, and hex-background packages
- Add "type": "module" to web and react-native for consistency
- Rename web build script to .cjs for ESM package compatibility
- Remove overly broad "./dist/*" export from web package

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:43:42 -08:00

63 lines
1.4 KiB
JSON

{
"name": "@dangerousthings/react",
"version": "0.1.0",
"description": "React web components for the Dangerous Things design system",
"license": "MIT",
"author": {
"name": "Dangerous Things",
"email": "info@dangerousthings.com"
},
"repository": {
"type": "git",
"url": "https://github.com/dangerous-tac0s/dt-design-system.git",
"directory": "packages/react"
},
"homepage": "https://github.com/dangerous-tac0s/dt-design-system#readme",
"keywords": [
"dangerousthings",
"design-system",
"react",
"components",
"theming"
],
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"@dangerousthings/tokens": "*",
"@dangerousthings/web": "*"
},
"devDependencies": {
"@dangerousthings/tokens": "*",
"@dangerousthings/web": "*",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"typescript": "^5.8.0"
}
}