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>
This commit is contained in:
michael
2026-03-07 10:43:42 -08:00
parent 30a0510a5e
commit 358ecb05cb
10 changed files with 452 additions and 3 deletions

View File

@@ -3,6 +3,26 @@
"version": "0.2.1",
"description": "Canonical design tokens 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/tokens"
},
"homepage": "https://github.com/dangerous-tac0s/dt-design-system#readme",
"keywords": [
"dangerousthings",
"design-system",
"design-tokens",
"css-custom-properties",
"theming"
],
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"exports": {
".": {