This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
86 lines (86 loc) · 1.93 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
{
"name": "@hedgedoc/html-to-react",
"version": "2.1.0",
"description": "Parse HTML into React components",
"source": "src/index.ts",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"type": "module",
"scripts": {
"test": "jest",
"build": "./build.sh",
"prepublish": "yarn lint && yarn build && yarn test",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint --fix --ext .ts src"
},
"files": [
"LICENSES/*",
"package.json",
"README.md",
"dist/**"
],
"repository": {
"type": "git",
"url": "https://github.com/hedgedoc/html-to-react.git"
},
"keywords": [
"react",
"html",
"htmlparser",
"htmlparser2",
"inner html",
"dangerouslySetInnerHTML"
],
"author": "The HedgeDoc Authors",
"license": "AGPL-3.0",
"devDependencies": {
"@jest/globals": "29.6.4",
"@jest/types": "29.6.3",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"eslint": "8.48.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-prettier": "5.0.0",
"jest": "29.6.4",
"prettier": "3.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
},
"dependencies": {
"domelementtype": "^2.3.0",
"domhandler": "^5.0.3",
"htmlparser2": "^9.0.0"
},
"peerDependencies": {
"react": ">=16.0"
},
"directories": {
"test": "test"
},
"browserslist": [
"node> 12"
],
"engines": {
"node": ">=12"
},
"resolutions": {
"@types/react": "18.2.21"
},
"packageManager": "yarn@3.6.3"
}