fable-editor 1.2.3 → 1.2.4

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,113 +1,113 @@
1
- {
2
- "name": "fable-editor",
3
- "version": "1.2.3",
4
- "description": "FableEditor — a rich text editor with React and Angular wrappers",
5
- "author": "Sajin Satheesan <an.sajinsatheesan@gmail.com>",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/an-sajinsatheesan/fable-editor.git"
9
- },
10
- "bugs": {
11
- "url": "https://github.com/an-sajinsatheesan/fable-editor/issues"
12
- },
13
- "homepage": "https://github.com/an-sajinsatheesan/fable-editor#readme",
14
- "main": "./dist/core/index.cjs",
15
- "module": "./dist/core/index.mjs",
16
- "types": "./dist/core/index.d.ts",
17
- "exports": {
18
- ".": {
19
- "import": "./dist/core/index.mjs",
20
- "require": "./dist/core/index.cjs",
21
- "types": "./dist/core/index.d.ts"
22
- },
23
- "./react": {
24
- "import": "./dist/react/index.mjs",
25
- "require": "./dist/react/index.cjs",
26
- "types": "./dist/react/index.d.ts"
27
- },
28
- "./angular": {
29
- "default": "./dist/angular/fesm2022/fable-editor.mjs",
30
- "types": "./dist/angular/index.d.ts"
31
- },
32
- "./style.css": "./style.css"
33
- },
34
- "files": [
35
- "dist",
36
- "style.css",
37
- "README.md"
38
- ],
39
- "scripts": {
40
- "build:core": "vite build --config vite.core.config.ts && cp src/core/editor.css dist/core/editor.css && cp src/core/editor.css style.css",
41
- "build:react": "vite build --config vite.react.config.ts",
42
- "build:angular": "ng-packagr -p ng-package.json && rm -f dist/angular/package.json",
43
- "build": "npm run build:core && npm run build:react && npm run build:angular",
44
- "dev": "vite --open /demo/index.html",
45
- "demo": "vite --open /demo/index.html",
46
- "demo:react": "cd examples/react && npm run dev",
47
- "demo:angular": "cd examples/angular && npm start",
48
- "test": "vitest run",
49
- "test:watch": "vitest",
50
- "typecheck": "tsc --noEmit"
51
- },
52
- "keywords": [
53
- "editor",
54
- "wysiwyg",
55
- "fable-editor",
56
- "react",
57
- "angular",
58
- "rich-text-editor"
59
- ],
60
- "license": "MIT",
61
- "peerDependencies": {
62
- "@angular/common": ">=14.0.0",
63
- "@angular/core": ">=14.0.0",
64
- "@angular/forms": ">=14.0.0",
65
- "react": ">=16.8.0",
66
- "react-dom": ">=16.8.0",
67
- "rxjs": ">=6.0.0"
68
- },
69
- "peerDependenciesMeta": {
70
- "react": {
71
- "optional": true
72
- },
73
- "react-dom": {
74
- "optional": true
75
- },
76
- "@angular/core": {
77
- "optional": true
78
- },
79
- "@angular/common": {
80
- "optional": true
81
- },
82
- "@angular/forms": {
83
- "optional": true
84
- },
85
- "rxjs": {
86
- "optional": true
87
- }
88
- },
89
- "devDependencies": {
90
- "@angular/common": "^18.0.0",
91
- "@angular/compiler": "^18.0.0",
92
- "@angular/compiler-cli": "^18.0.0",
93
- "@angular/core": "^18.0.0",
94
- "@angular/forms": "^18.0.0",
95
- "@playwright/test": "^1.61.1",
96
- "@testing-library/jest-dom": "^6.9.1",
97
- "@testing-library/react": "^16.3.2",
98
- "@types/react": "^18.3.0",
99
- "@types/react-dom": "^18.3.0",
100
- "@vitejs/plugin-react": "^4.3.0",
101
- "jsdom": "^29.1.1",
102
- "ng-packagr": "^18.0.0",
103
- "playwright": "^1.61.1",
104
- "react": "^18.3.0",
105
- "react-dom": "^18.3.0",
106
- "rxjs": "^7.8.0",
107
- "tslib": "^2.6.0",
108
- "typescript": "^5.4.5",
109
- "vite": "^5.3.0",
110
- "vite-plugin-dts": "^3.9.0",
111
- "vitest": "^4.1.9"
112
- }
113
- }
1
+ {
2
+ "name": "fable-editor",
3
+ "version": "1.2.4",
4
+ "description": "FableEditor — a rich text editor with React and Angular wrappers",
5
+ "author": "Sajin Satheesan <an.sajinsatheesan@gmail.com>",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/an-sajinsatheesan/fable-editor.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/an-sajinsatheesan/fable-editor/issues"
12
+ },
13
+ "homepage": "https://github.com/an-sajinsatheesan/fable-editor#readme",
14
+ "main": "./dist/core/index.cjs",
15
+ "module": "./dist/core/index.mjs",
16
+ "types": "./dist/core/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "import": "./dist/core/index.mjs",
20
+ "require": "./dist/core/index.cjs",
21
+ "types": "./dist/core/index.d.ts"
22
+ },
23
+ "./react": {
24
+ "import": "./dist/react/index.mjs",
25
+ "require": "./dist/react/index.cjs",
26
+ "types": "./dist/react/index.d.ts"
27
+ },
28
+ "./angular": {
29
+ "default": "./dist/angular/fesm2022/fable-editor.mjs",
30
+ "types": "./dist/angular/index.d.ts"
31
+ },
32
+ "./style.css": "./style.css"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "style.css",
37
+ "README.md"
38
+ ],
39
+ "scripts": {
40
+ "build:core": "vite build --config vite.core.config.ts && cp src/core/editor.css dist/core/editor.css && cp src/core/editor.css style.css",
41
+ "build:react": "vite build --config vite.react.config.ts",
42
+ "build:angular": "ng-packagr -p ng-package.json && rm -f dist/angular/package.json",
43
+ "build": "npm run build:core && npm run build:react && npm run build:angular",
44
+ "dev": "vite --open /demo/index.html",
45
+ "demo": "vite --open /demo/index.html",
46
+ "demo:react": "cd examples/react && npm run dev",
47
+ "demo:angular": "cd examples/angular && npm start",
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "typecheck": "tsc --noEmit"
51
+ },
52
+ "keywords": [
53
+ "editor",
54
+ "wysiwyg",
55
+ "fable-editor",
56
+ "react",
57
+ "angular",
58
+ "rich-text-editor"
59
+ ],
60
+ "license": "MIT",
61
+ "peerDependencies": {
62
+ "@angular/common": ">=14.0.0",
63
+ "@angular/core": ">=14.0.0",
64
+ "@angular/forms": ">=14.0.0",
65
+ "react": ">=16.8.0",
66
+ "react-dom": ">=16.8.0",
67
+ "rxjs": ">=6.0.0"
68
+ },
69
+ "peerDependenciesMeta": {
70
+ "react": {
71
+ "optional": true
72
+ },
73
+ "react-dom": {
74
+ "optional": true
75
+ },
76
+ "@angular/core": {
77
+ "optional": true
78
+ },
79
+ "@angular/common": {
80
+ "optional": true
81
+ },
82
+ "@angular/forms": {
83
+ "optional": true
84
+ },
85
+ "rxjs": {
86
+ "optional": true
87
+ }
88
+ },
89
+ "devDependencies": {
90
+ "@angular/common": "^18.0.0",
91
+ "@angular/compiler": "^18.0.0",
92
+ "@angular/compiler-cli": "^18.0.0",
93
+ "@angular/core": "^18.0.0",
94
+ "@angular/forms": "^18.0.0",
95
+ "@playwright/test": "^1.61.1",
96
+ "@testing-library/jest-dom": "^6.9.1",
97
+ "@testing-library/react": "^16.3.2",
98
+ "@types/react": "^18.3.0",
99
+ "@types/react-dom": "^18.3.0",
100
+ "@vitejs/plugin-react": "^4.3.0",
101
+ "jsdom": "^29.1.1",
102
+ "ng-packagr": "^18.0.0",
103
+ "playwright": "^1.61.1",
104
+ "react": "^18.3.0",
105
+ "react-dom": "^18.3.0",
106
+ "rxjs": "^7.8.0",
107
+ "tslib": "^2.6.0",
108
+ "typescript": "^5.4.5",
109
+ "vite": "^5.3.0",
110
+ "vite-plugin-dts": "^3.9.0",
111
+ "vitest": "^4.1.9"
112
+ }
113
+ }