/
package.json
172 lines (172 loc) · 6.55 KB
/
package.json
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "@doist/typist",
"description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.",
"version": "6.0.2",
"license": "MIT",
"homepage": "https://typist.doist.dev/",
"repository": "https://github.com/Doist/typist",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"engines": {
"node": "^16.0.0 || ^18.0.0 || ^20.0.0 || ^21.0.0",
"npm": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
},
"publishConfig": {
"access": "public"
},
"files": [
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"dist/**"
],
"scripts": {
"build": "run-s clean:* typist:build",
"check": "run-s prettier:check eslint:check typescript:check",
"clean": "run-s clean:*",
"clean:cache": "rimraf .cache/",
"clean:dist": "rimraf dist/",
"clean:storybook-static": "rimraf storybook-static/",
"eslint:check": "eslint --format codeframe --cache --cache-location ./.cache/.eslintcache --ext js,jsx,ts,tsx ./",
"format": "run-s prettier:format",
"prepare": "is-ci || husky",
"prettier:check": "prettier --check \"./**/*.{js,jsx,ts,tsx,json,css,yml,md}\"",
"prettier:format": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,css,yml,md}\"",
"storybook:build": "storybook build",
"storybook:start": "storybook dev --port 6006 --ci",
"test": "vitest run",
"test:watch": "vitest watch",
"typescript:check": "tsc --project tsconfig.json",
"typist:build": "tsc --build tsconfig.build.json",
"validate:pre-commit": "lint-staged",
"validate:pre-push": "run-s test"
},
"dependencies": {
"@tiptap/core": "2.3.0",
"@tiptap/extension-blockquote": "2.3.0",
"@tiptap/extension-bold": "2.3.0",
"@tiptap/extension-bullet-list": "2.3.0",
"@tiptap/extension-character-count": "2.3.0",
"@tiptap/extension-code": "2.3.0",
"@tiptap/extension-code-block": "2.3.0",
"@tiptap/extension-document": "2.3.0",
"@tiptap/extension-dropcursor": "2.3.0",
"@tiptap/extension-gapcursor": "2.3.0",
"@tiptap/extension-hard-break": "2.3.0",
"@tiptap/extension-heading": "2.3.0",
"@tiptap/extension-history": "2.3.0",
"@tiptap/extension-horizontal-rule": "2.3.0",
"@tiptap/extension-image": "2.3.0",
"@tiptap/extension-italic": "2.3.0",
"@tiptap/extension-link": "2.3.0",
"@tiptap/extension-list-item": "2.3.0",
"@tiptap/extension-list-keymap": "2.3.0",
"@tiptap/extension-ordered-list": "2.3.0",
"@tiptap/extension-paragraph": "2.3.0",
"@tiptap/extension-placeholder": "2.3.0",
"@tiptap/extension-strike": "2.3.0",
"@tiptap/extension-task-item": "2.3.0",
"@tiptap/extension-task-list": "2.3.0",
"@tiptap/extension-text": "2.3.0",
"@tiptap/extension-text-style": "2.3.0",
"@tiptap/extension-typography": "2.3.0",
"@tiptap/pm": "2.3.0",
"@tiptap/react": "2.3.0",
"@tiptap/suggestion": "2.3.0",
"prosemirror-codemark": "0.4.2"
},
"devDependencies": {
"@doist/eslint-config": "11.1.0",
"@doist/prettier-config": "4.0.0",
"@doist/reactist": "23.2.2",
"@mdx-js/react": "3.0.1",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@storybook/addon-a11y": "8.0.9",
"@storybook/addon-essentials": "8.0.9",
"@storybook/blocks": "8.0.9",
"@storybook/csf": "0.1.6",
"@storybook/manager-api": "8.0.9",
"@storybook/mdx2-csf": "1.1.0",
"@storybook/react": "8.0.9",
"@storybook/react-vite": "8.0.9",
"@testing-library/dom": "10.1.0",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "15.0.6",
"@types/hast": "3.0.4",
"@types/lodash-es": "4.17.12",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@types/react-syntax-highlighter": "15.5.13",
"@types/turndown": "5.0.4",
"@types/unist": "3.0.2",
"@vitejs/plugin-react": "4.2.1",
"boring-avatars": "1.10.2",
"classnames": "2.5.1",
"conventional-changelog-conventionalcommits": "7.0.2",
"emoji-regex": "10.3.0",
"eslint": "8.57.0",
"eslint-formatter-codeframe": "7.32.1",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-simple-import-sort": "12.0.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-vitest": "0.4.1",
"eslint-plugin-vitest-globals": "1.5.0",
"github-markdown-css": "5.5.1",
"husky": "9.0.11",
"ignore-sync": "7.0.1",
"is-ci": "3.0.1",
"jsdom": "24.0.0",
"lint-staged": "15.2.2",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-icons": "5.2.0",
"react-markdown": "9.0.1",
"react-syntax-highlighter": "15.5.0",
"rehype-raw": "7.0.0",
"remark-gfm": "4.0.0",
"rimraf": "5.0.5",
"semantic-release": "23.0.8",
"storybook": "8.0.9",
"storybook-css-modules": "1.0.8",
"tippy.js": "6.3.7",
"type-fest": "4.18.1",
"typescript": "5.4.5",
"typescript-plugin-css-modules": "5.1.0",
"vitest": "1.6.0"
},
"peerDependencies": {
"@react-hookz/web": "^14.2.3 || >=15.x",
"emoji-regex": "^10.2.1",
"hast-util-is-element": "^3.0.0",
"linkifyjs": "^4.1.1",
"lodash-es": "^4.17.21",
"mdast-util-gfm-autolink-literal": "^2.0.0",
"mdast-util-gfm-strikethrough": "^2.0.0",
"micromark-extension-gfm-autolink-literal": "^2.0.0",
"micromark-extension-gfm-strikethrough": "^2.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"rehype": "^13.0.0",
"rehype-minify-whitespace": "^6.0.0",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.0",
"remark": "^15.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"turndown": "^7.1.0",
"unified": "^11.0.0",
"unist-util-is": "^6.0.0",
"unist-util-remove": "^4.0.0",
"unist-util-visit": "^5.0.0"
}
}