@twick/canvas 0.14.18 → 0.14.20

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 (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +12 -5
package/README.md CHANGED
@@ -20,6 +20,8 @@ npm install @twick/canvas
20
20
  pnpm add @twick/canvas
21
21
  ```
22
22
 
23
+ **Note:** All required dependencies (`@twick/media-utils`) are automatically installed with `@twick/canvas`.
24
+
23
25
  ## Quick Start
24
26
 
25
27
  ### Basic Canvas Setup
package/package.json CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "name": "@twick/canvas",
3
- "version": "0.14.18",
3
+ "version": "0.14.20",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.mjs",
11
+ "require": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ }
14
+ },
8
15
  "sideEffects": false,
9
16
  "license": "SEE LICENSE IN LICENSE.md",
10
17
  "files": [
@@ -21,15 +28,15 @@
21
28
  "docs": "typedoc"
22
29
  },
23
30
  "dependencies": {
24
- "@twick/media-utils": "0.14.18",
31
+ "@twick/media-utils": "0.14.20",
25
32
  "fabric": "^6.6.2",
26
- "react": "^18.2.0"
33
+ "react": "^18.0.0"
27
34
  },
28
35
  "devDependencies": {
29
36
  "@types/fabric": "^5.3.7",
30
37
  "@types/node": "^20.11.24",
31
- "@types/react": "^18.2.55",
32
- "@types/react-dom": "^18.2.19",
38
+ "@types/react": "^18.0.0",
39
+ "@types/react-dom": "^18.0.0",
33
40
  "typescript": "^5.4.2",
34
41
  "typedoc": "^0.25.8",
35
42
  "typedoc-plugin-markdown": "^3.17.1",