mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 09:16:30 -05:00
f121ca3458
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
86 lines
1.9 KiB
JSON
86 lines
1.9 KiB
JSON
{
|
|
"name": "@hedgedoc/html-to-react",
|
|
"version": "2.1.1",
|
|
"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": "git+https://github.com/hedgedoc/hedgedoc.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/hedgedoc/hedgedoc/issues"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"html",
|
|
"htmlparser",
|
|
"htmlparser2",
|
|
"inner html",
|
|
"dangerouslySetInnerHTML"
|
|
],
|
|
"author": "The HedgeDoc Authors",
|
|
"license": "AGPL-3.0",
|
|
"devDependencies": {
|
|
"@jest/globals": "29.7.0",
|
|
"@jest/types": "29.6.3",
|
|
"@types/react": "18.3.11",
|
|
"@types/react-dom": "18.3.1",
|
|
"@typescript-eslint/eslint-plugin": "8.11.0",
|
|
"@typescript-eslint/parser": "8.11.0",
|
|
"eslint": "8.57.1",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-jest": "28.8.3",
|
|
"eslint-plugin-prettier": "5.2.1",
|
|
"jest": "29.7.0",
|
|
"prettier": "3.3.3",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"ts-jest": "29.2.5",
|
|
"typescript": "5.6.3"
|
|
},
|
|
"dependencies": {
|
|
"domelementtype": "2.3.0",
|
|
"domhandler": "5.0.3",
|
|
"htmlparser2": "9.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.0"
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"browserslist": [
|
|
"node> 12"
|
|
],
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"packageManager": "yarn@4.4.1"
|
|
}
|