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.
24 lines
441 B
Markdown
24 lines
441 B
Markdown
# @diffusionstudio/jsx
|
|
|
|
The editor supplies the runtime when a project is mounted, so this package is
|
|
needed for **types and tooling** — IntelliSense, `tsc --noEmit`, and testing
|
|
components outside the editor.
|
|
|
|
```sh
|
|
npm install --save-dev @diffusionstudio/jsx solid-js
|
|
```
|
|
|
|
```jsonc
|
|
// tsconfig.json
|
|
{
|
|
"compilerOptions": {
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "@diffusionstudio/jsx"
|
|
}
|
|
}
|
|
```
|
|
|
|
## License
|
|
|
|
[MPL-2.0](./LICENSE)
|