legend-state-dev-tools 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,7 +46,7 @@ yarn add legend-state-dev-tools
46
46
  ```ts
47
47
  import { observable } from '@legendapp/state';
48
48
  import { init } from 'legend-state-dev-tools';
49
- import 'legend-state-dev-tools/dist/style.css';
49
+ import 'legend-state-dev-tools/dist/styles.css';
50
50
 
51
51
  const state$ = observable({ count: 0, user: { name: 'Alice' } });
52
52
 
@@ -133,6 +133,10 @@ The project is a monorepo with the main package in `packages/core/` and examples
133
133
  | `template-engine` | `packages/core/src/ui/template-engine.ts` | Lightweight HTML templating (Eta) |
134
134
  | `styles` | `packages/core/src/styles.css` | Panel and toolbar CSS |
135
135
 
136
+ ## Acknowledgments
137
+
138
+ A huge thank you to [Carlos](https://github.com/CarlosNZ) for creating [`json-edit-react`](https://github.com/CarlosNZ/json-edit-react) -- the excellent React component that powers the state tree viewer and editor in this project. Without it, these dev tools simply wouldn't exist.
139
+
136
140
  ## License
137
141
 
138
142
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legend-state-dev-tools",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "private": false,
5
5
  "workspaces": [
6
6
  "packages/*",
@@ -5,6 +5,15 @@
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "./dist/styles.css": "./dist/styles.css"
16
+ },
8
17
  "files": [
9
18
  "dist"
10
19
  ],