-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.94 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "rich-text-editor-ndevu",
"version": "0.1.1",
"description": "Free and open-source Rich Text Editor for React — lightweight, extensible, and ready to use as an npm package.",
"author": "Jean Paul Elisa NIYOKWIZERWA",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/Ndevu12/RichTextEditor.git"
},
"homepage": "https://github.com/Ndevu12/RichTextEditor#readme",
"bugs": {
"url": "https://github.com/Ndevu12/RichTextEditor/issues"
},
"keywords": [
"react",
"rich-text-editor",
"wysiwyg",
"tiptap",
"contenteditable",
"typescript"
],
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./styles": "./dist/index.css",
"./styles.css": "./dist/index.css"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"**/*.css"
],
"scripts": {
"dev": "concurrently -k -n lib,play -c blue,green \"tsup --watch\" \"yarn dev:playground\"",
"dev:playground": "yarn --cwd playground dev",
"dev:lib": "tsup --watch",
"build": "tsup",
"build:watch": "tsup --watch",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\"",
"test": "vitest run --config config/vitest.config.ts",
"test:watch": "vitest --config config/vitest.config.ts",
"test:coverage": "vitest run --coverage --config config/vitest.config.ts",
"test:e2e": "playwright test --config tests/e2e/playwright.config.ts",
"clean": "tsx scripts/clean.ts",
"clean:all": "tsx scripts/clean.ts --all",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepublishOnly": "tsx scripts/build.ts",
"release": "tsx scripts/release.ts",
"typecheck": "tsc --noEmit",
"verify:demos": "node scripts/verify-demos-dependency-policy.mjs"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"packageManager": "yarn@4.13.0",
"dependencies": {
"@tiptap/core": "^3.20.1",
"@tiptap/extension-code-block": "^3.20.1",
"@tiptap/extension-code-block-lowlight": "^3.20.1",
"@tiptap/extension-image": "^3.20.1",
"@tiptap/extension-link": "^3.20.1",
"@tiptap/extension-typography": "^3.20.4",
"@tiptap/extension-underline": "^3.20.1",
"@tiptap/pm": "^3.20.1",
"@tiptap/react": "^3.20.1",
"@tiptap/starter-kit": "^3.20.1",
"highlight.js": "^11.11.1",
"lowlight": "^3.3.0",
"turndown": "^7.2.2",
"zustand": "^5.0.11"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.58.2",
"@storybook/addon-a11y": "^8.6.0",
"@storybook/addon-essentials": "^8.6.0",
"@storybook/blocks": "^8.6.0",
"@storybook/react-vite": "^8.6.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/turndown": "^5.0.6",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitest/coverage-v8": "^4.1.0",
"concurrently": "^9.2.1",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.4.0",
"jsdom": "^29.0.0",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"storybook": "^8.6.0",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^8.0.0",
"vitest": "^4.1.0"
}
}