- 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>
74 lines
1.6 KiB
JSON
74 lines
1.6 KiB
JSON
{
|
|
"name": "@dangerousthings/hex-background",
|
|
"version": "0.1.0",
|
|
"description": "3D hexagon grid background 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/hex-background"
|
|
},
|
|
"homepage": "https://github.com/dangerous-tac0s/dt-design-system#readme",
|
|
"keywords": [
|
|
"dangerousthings",
|
|
"design-system",
|
|
"three.js",
|
|
"react-three-fiber",
|
|
"3d",
|
|
"hexagon",
|
|
"background"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./native": {
|
|
"types": "./dist/native.d.ts",
|
|
"import": "./dist/native.js",
|
|
"default": "./dist/native.js"
|
|
}
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"react-native": "dist/native.js",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18",
|
|
"@react-three/fiber": ">=8",
|
|
"three": ">=0.150"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"expo-gl": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@react-three/fiber": "^8.18.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/three": "^0.160.0",
|
|
"react": "^18.0.0",
|
|
"three": "^0.160.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|