Added `publishConfig` for public access in package.json and enhanced build scripts with prepublish and packing hooks. Removed outdated example code and streamlined the README.md to focus on essential package functionality and tooling, improving clarity for users.
40 lines
963 B
JSON
40 lines
963 B
JSON
{
|
|
"name": "@diffusionstudio/jsx",
|
|
"version": "0.1.0",
|
|
"description": "JSX runtime, types, and declarative generated assets (`generate.*`) for authoring Diffusion Studio compositions — mounted into the editor via `dapi mount`.",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./jsx-runtime": "./src/jsx-runtime.ts",
|
|
"./jsx-dev-runtime": "./src/jsx-runtime.ts"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"check": "tsc --noEmit",
|
|
"prepublishOnly": "npm run build",
|
|
"prepack": "node scripts/prepack.mjs",
|
|
"postpack": "node scripts/postpack.mjs"
|
|
},
|
|
"keywords": [
|
|
"diffusion-studio",
|
|
"solid-js",
|
|
"jsx",
|
|
"generative-ai",
|
|
"video-editing"
|
|
],
|
|
"peerDependencies": {
|
|
"solid-js": "^1.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "~5.9.3"
|
|
}
|
|
}
|