react-hooks-global-states-debug 16.0.4 → 16.0.5

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.
Files changed (4) hide show
  1. package/cli.mjs +706 -0
  2. package/debug.js +45 -32
  3. package/index.d.ts +1 -1
  4. package/package.json +22 -3
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  declare module 'react-hooks-global-states-debug' {
11
11
  /**
12
- * Side-effect import. Connects your global stores to the React Hooks Global States DevTools
12
+ * Side-effect import. Connects your global stores to the React Global States Hooks DevTools
13
13
  * browser extension. Import once at your app entry point during development only; it must never
14
14
  * be shipped in production builds.
15
15
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-hooks-global-states-debug",
3
- "version": "16.0.4",
4
- "description": "DevTools debug package for react-hooks-global-states (and react-global-state-hooks). Side-effect import that connects your global stores to the React Hooks Global States DevTools browser extension.",
3
+ "version": "16.0.5",
4
+ "description": "DevTools debug package for react-hooks-global-states (and react-global-state-hooks). Side-effect import that connects your global stores to the React Global States Hooks DevTools browser extension.",
5
5
  "type": "module",
6
6
  "main": "./debug.js",
7
7
  "module": "./debug.js",
@@ -9,6 +9,7 @@
9
9
  "sideEffects": true,
10
10
  "files": [
11
11
  "debug.js",
12
+ "cli.mjs",
12
13
  "index.d.ts"
13
14
  ],
14
15
  "repository": {
@@ -34,5 +35,23 @@
34
35
  "bugs": {
35
36
  "url": "https://github.com/johnny-quesada-developer/react-global-state-hooks/issues"
36
37
  },
37
- "homepage": "https://github.com/johnny-quesada-developer/react-global-state-hooks#readme"
38
+ "homepage": "https://github.com/johnny-quesada-developer/react-global-state-hooks#readme",
39
+ "exports": {
40
+ ".": {
41
+ "types": "./index.d.ts",
42
+ "import": "./debug.js",
43
+ "default": "./debug.js"
44
+ },
45
+ "./debug.js": "./debug.js",
46
+ "./cli": "./cli.mjs",
47
+ "./package.json": "./package.json"
48
+ },
49
+ "peerDependencies": {
50
+ "ws": ">=7.0.0"
51
+ },
52
+ "peerDependenciesMeta": {
53
+ "ws": {
54
+ "optional": true
55
+ }
56
+ }
38
57
  }