UNPKG

html-react-parser

Version:
87 lines (86 loc) 2.56 kB
{ "name": "html-react-parser", "version": "1.2.6", "description": "HTML to React parser.", "author": "Mark <mark@remarkablemark.org>", "main": "index.js", "module": "index.mjs", "scripts": { "benchmark": "node benchmark", "build": "rollup --config --failAfterWarnings", "clean": "rimraf dist", "lint": "eslint --ignore-path .gitignore --ignore-pattern /examples/ .", "lint:dts": "dtslint .", "lint:fix": "npm run lint -- --fix", "_postinstall": "husky install", "postpublish": "pinst --enable", "prepublishOnly": "pinst --disable && npm run lint && npm run lint:dts && npm run test:ci && npm run clean && npm run build", "release": "standard-version --no-verify", "test": "jest --coverage --testPathIgnorePatterns test/integration/", "test:ci": "npm test -- --ci", "test:module": "node --experimental-modules test/module/index.mjs", "test:integration": "npm run build && jest test/integration/", "test:watch": "npm test -- --watch" }, "repository": { "type": "git", "url": "https://github.com/remarkablemark/html-react-parser" }, "bugs": { "url": "https://github.com/remarkablemark/html-react-parser/issues" }, "keywords": [ "html-react-parser", "html", "react", "parser", "dom" ], "dependencies": { "domhandler": "4.0.0", "html-dom-parser": "1.0.0", "react-property": "1.0.1", "style-to-js": "1.1.0" }, "devDependencies": { "@commitlint/cli": "^12.1.1", "@commitlint/config-conventional": "^12.1.1", "@rollup/plugin-commonjs": "^18.0.0", "@rollup/plugin-node-resolve": "^11.2.1", "@size-limit/preset-big-lib": "^4.10.2", "@types/react": "^17.0.3", "@typescript-eslint/parser": "^4.22.0", "benchmark": "^2.1.4", "dtslint": "^4.0.9", "eslint": "^7.24.0", "eslint-plugin-prettier": "^3.4.0", "husky": "^6.0.0", "jest": "^26.6.3", "lint-staged": "^10.5.4", "pinst": "^2.1.6", "preact": "^10.5.13", "prettier": "^2.2.1", "react": "^0.14 || ^15 || ^16 || ^17", "react-dom": "^17", "rimraf": "^3.0.2", "rollup": "^2.45.2", "rollup-plugin-terser": "^7.0.2", "size-limit": "^4.10.2", "standard-version": "^9.2.0", "typescript": "^4.2.4" }, "peerDependencies": { "react": "^0.14 || ^15 || ^16 || ^17" }, "files": [ "/dist", "/lib", "index.d.ts", "index.mjs" ], "collective": { "type": "opencollective", "url": "https://opencollective.com/html-react-parser" }, "license": "MIT" }