@quickwatch/preview 0.1.0 → 0.3.0

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@quickwatch/preview",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "QuickWatch's watch preview as one script: watch.json + data.json in, a live Wear OS preview out. For chat widgets and pages QuickWatch does not serve.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://quickwatch.app/llms.txt",
7
7
  "type": "module",
8
- "main": "dist/quickwatch-preview.min.js",
8
+ "main": "dist/node.mjs",
9
9
  "browser": "dist/quickwatch-preview.min.js",
10
10
  "jsdelivr": "dist/quickwatch-preview.min.js",
11
11
  "unpkg": "dist/quickwatch-preview.min.js",
@@ -15,11 +15,23 @@
15
15
  ],
16
16
  "sideEffects": true,
17
17
  "devDependencies": {
18
+ "@types/node": "^24.0.0",
18
19
  "esbuild": "^0.25.0",
19
20
  "jsonc-parser": "^3.3.1",
20
21
  "typescript": "^6.0.3",
21
22
  "@quickwatch/engine": "^0.1.0"
22
23
  },
24
+ "exports": {
25
+ ".": {
26
+ "node": "./dist/node.mjs",
27
+ "default": "./dist/quickwatch-preview.min.js"
28
+ },
29
+ "./browser": "./dist/quickwatch-preview.min.js",
30
+ "./package.json": "./package.json"
31
+ },
32
+ "bin": {
33
+ "quickwatch-preview": "dist/cli.mjs"
34
+ },
23
35
  "scripts": {
24
36
  "build": "node build.mjs",
25
37
  "check": "tsc --noEmit"