mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
5b0f3a1c55
oxfmt is a project from the OXC toolchain, similar to OXLint. It is based on the Rust-built 'oxidation compiler' and has increased performance compared to Prettier which is built in plain JS. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
85 lines
1.9 KiB
JSON
85 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",
|
|
"format": "../node_modules/.bin/oxfmt --check src",
|
|
"format:fix": "../node_modules/.bin/oxfmt src",
|
|
"lint": "../node_modules/.bin/oxlint src",
|
|
"lint:fix": "../node_modules/.bin/oxlint --fix 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.27",
|
|
"@types/react-dom": "18.3.7",
|
|
"jest": "29.7.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"ts-jest": "29.4.6",
|
|
"typescript": "5.9.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"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "18.3.27"
|
|
},
|
|
"packageManager": "yarn@4.12.0"
|
|
}
|