@vector-im/matrix-wysiwyg 2.37.11

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 ADDED
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "@vector-im/matrix-wysiwyg",
3
+ "version": "2.37.11",
4
+ "type": "module",
5
+ "description": "Wysiwyg composer for Element Web using React",
6
+ "author": "New Vector Ltd.",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/element-hq/matrix-rich-text-editor"
10
+ },
11
+ "license": "AGPL-3.0",
12
+ "main": "./dist/matrix-wysiwyg.umd.cjs",
13
+ "module": "./dist/matrix-wysiwyg.js",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/matrix-wysiwyg.js",
17
+ "require": "./dist/matrix-wysiwyg.umd.cjs"
18
+ }
19
+ },
20
+ "files": [
21
+ "CHANGELOG.md",
22
+ "README.md",
23
+ "dist",
24
+ "package.json"
25
+ ],
26
+ "types": "./dist/index.d.ts",
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "build": "vite build && node scripts/hack_myfetch.js && node scripts/hack_exports.js",
30
+ "build:demo": "vite build -c vite.demo.config.ts",
31
+ "preview": "vite preview",
32
+ "typecheck": "tsc --noEmit",
33
+ "lint": "eslint .",
34
+ "test": "vitest --run --pool=forks",
35
+ "test:cypress": "cypress run",
36
+ "test:cypress:open": "cypress open",
37
+ "test:watch": "vitest --pool=forks",
38
+ "test:ui": "vitest --ui",
39
+ "coverage": "vitest run --coverage --pool=forks",
40
+ "update": "cd ../../bindings/wysiwyg-wasm && npm run build && cp -f ./pkg/*wysiwyg* ../../platforms/web/generated && cd ../../platforms/web && yarn build"
41
+ },
42
+ "peerDependencies": {
43
+ "react": "^18.2.0"
44
+ },
45
+ "devDependencies": {
46
+ "@testing-library/dom": "^8.19.0",
47
+ "@testing-library/jest-dom": "^5.16.5",
48
+ "@testing-library/react": "^13.4.0",
49
+ "@testing-library/user-event": "^14.4.3",
50
+ "@types/jest": "^29.1.1",
51
+ "@types/react": "^18.0.17",
52
+ "@types/react-dom": "^18.0.6",
53
+ "@typescript-eslint/eslint-plugin": "^5.35.1",
54
+ "@typescript-eslint/parser": "^5.6.0",
55
+ "@vitejs/plugin-react": "^4.2.1",
56
+ "@vitest/coverage-c8": "^0.33.0",
57
+ "@vitest/coverage-v8": "^1.6.0",
58
+ "@vitest/ui": "^0.34.0",
59
+ "cypress": "^10.9.0",
60
+ "eslint": "^8.23.1",
61
+ "eslint-config-google": "^0.14.0",
62
+ "eslint-config-prettier": "^8.5.0",
63
+ "eslint-plugin-deprecate": "^0.8.0",
64
+ "eslint-plugin-import": "^2.26.0",
65
+ "eslint-plugin-jsx-a11y": "^6.6.1",
66
+ "eslint-plugin-matrix-org": "^0.10.0",
67
+ "eslint-plugin-prettier": "^4.2.1",
68
+ "eslint-plugin-react": "^7.31.8",
69
+ "eslint-plugin-react-hooks": "^4.6.0",
70
+ "jest-environment-jsdom": "^29.0.3",
71
+ "prettier": "2.8.8",
72
+ "react": "^18.2.0",
73
+ "react-dom": "^18.2.0",
74
+ "replace": "^1.2.1",
75
+ "typescript": "^4.7.4",
76
+ "vite": "^3.1.0",
77
+ "vite-plugin-dts": "^1.5.0",
78
+ "vitest": "^1.6.0",
79
+ "vitest-sonar-reporter": "^0.5.0"
80
+ },
81
+ "dependencies": {
82
+ "eslint-plugin-unicorn": "^54.0.0"
83
+ }
84
+ }