2023-08-26 12:52:15 +00:00
|
|
|
{
|
|
|
|
"name": "@hedgedoc/html-to-react",
|
2023-08-26 13:15:20 +00:00
|
|
|
"version": "2.1.1",
|
2023-08-26 12:52:15 +00:00
|
|
|
"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",
|
2023-08-26 13:14:54 +00:00
|
|
|
"url": "git+https://github.com/hedgedoc/hedgedoc.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/hedgedoc/hedgedoc/issues"
|
2023-08-26 12:52:15 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"react",
|
|
|
|
"html",
|
|
|
|
"htmlparser",
|
|
|
|
"htmlparser2",
|
|
|
|
"inner html",
|
|
|
|
"dangerouslySetInnerHTML"
|
|
|
|
],
|
|
|
|
"author": "The HedgeDoc Authors",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"devDependencies": {
|
2023-09-17 21:38:01 +00:00
|
|
|
"@jest/globals": "29.7.0",
|
2023-08-26 12:52:15 +00:00
|
|
|
"@jest/types": "29.6.3",
|
2024-02-10 15:31:05 +00:00
|
|
|
"@types/react": "18.2.55",
|
|
|
|
"@types/react-dom": "18.2.19",
|
2024-02-10 15:26:48 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
|
|
"@typescript-eslint/parser": "6.21.0",
|
2024-02-23 22:05:04 +00:00
|
|
|
"eslint": "8.57.0",
|
2023-12-07 19:56:11 +00:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-02-23 22:05:04 +00:00
|
|
|
"eslint-plugin-jest": "27.9.0",
|
2024-02-10 15:25:38 +00:00
|
|
|
"eslint-plugin-prettier": "5.1.3",
|
2023-09-12 06:58:08 +00:00
|
|
|
"jest": "29.7.0",
|
2024-02-10 15:25:38 +00:00
|
|
|
"prettier": "3.2.5",
|
2023-08-26 12:52:15 +00:00
|
|
|
"react": "18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2024-08-29 02:12:59 +00:00
|
|
|
"ts-jest": "29.1.5",
|
2023-12-07 19:28:24 +00:00
|
|
|
"typescript": "5.3.3"
|
2023-08-26 12:52:15 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-08-26 13:33:39 +00:00
|
|
|
"domelementtype": "2.3.0",
|
|
|
|
"domhandler": "5.0.3",
|
2024-02-10 15:28:26 +00:00
|
|
|
"htmlparser2": "9.1.0"
|
2023-08-26 12:52:15 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"react": ">=16.0"
|
|
|
|
},
|
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"node> 12"
|
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
2024-02-10 15:31:05 +00:00
|
|
|
"@types/react": "18.2.55"
|
2023-08-26 12:52:15 +00:00
|
|
|
},
|
2024-08-29 08:48:46 +00:00
|
|
|
"packageManager": "yarn@4.1.1"
|
2023-08-26 12:52:15 +00:00
|
|
|
}
|