-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.73 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
{
"name": "tiptap-parser",
"version": "0.2.5",
"description": "HTML parser to React component built on the top of html-react-parser with code syntax highlighting",
"keywords": [
"tiptap",
"prosemirror",
"rich text editor",
"react",
"wysiwyg",
"quill",
"draftjs",
"slate",
"lowlight",
"highlight",
"html string to react",
"code editor"
],
"homepage": "https://github.com/tiavina-mika/tiptap-parser",
"bugs": {
"url": "https://github.com/tiavina-mika/tiptap-parser/issues"
},
"author": {
"name": "Tiavina Michael Ralainirina",
"email": "[email protected]",
"github": "https://github.com/tiavina-mika"
},
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/esm/index.js"
}
},
"files": [
"/dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rimraf dist",
"dev": "vite",
"build": "yarn clean && tsc --project tsconfig.build.json && tsc --project tsconfig.build-esm.json && yarn copy-files && yarn copy-files-esm && yarn fixImportExtension",
"prepare": "husky",
"lint-staged": "lint-staged",
"preview": "vite preview",
"type:check": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint:check": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx src",
"lint": "eslint . --fix",
"md-link:check": "markdown-link-check -v -p README.md -v -p CONTRIBUTING.md -v -p .github/**/*.md -c .markdown-link-check-config.json",
"spell:check": "cspell \"{README.md,CONTRIBUTING.md,.github/*.md}\"",
"visualize": "npx vite-bundle-visualizer",
"publish": "yarn build && yarn npm publish",
"copy-files": "copyfiles -u 1 src/*.css dist/",
"copy-files-esm": "copyfiles -u 1 src/*.css dist/esm",
"clean-cache": "yarn cache clean --all",
"fixImportExtension": "ts-add-js-extension --dir=dist",
"example": "cd example && yarn upgrade && rimraf ./example/node_modules && yarn && yarn dev"
},
"dependencies": {
"hast-util-to-html": "^9.0.1",
"html-react-parser": "^5.1.10",
"lowlight": "3.1.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.2 || ^18.2.0",
"react-dom": "^16.8.0 || ^17.0.2 || ^18.2.0"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
"@eslint/compat": "^1.2.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/eslint-plugin-jsx-a11y": "^6",
"@types/eslint__js": "^8.42.3",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"babel-plugin-module-resolver": "^5.0.0",
"copyfiles": "^2.4.1",
"cspell": "^6.31.1",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-babel-module": "^5.3.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-prefer-arrow-functions": "^3.2.4",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.11.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"markdown-link-check": "^3.12.1",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"ts-add-js-extension": "^1.6.4",
"typescript": "5.5.3",
"typescript-eslint": "^8.8.1",
"vite": "5.0.8",
"vite-tsconfig-paths": "^4.3.1"
},
"packageManager": "[email protected]"
}