UNPKG

2.62 kBJSONView Raw
1{
2 "name": "html-react-parser",
3 "version": "1.4.12",
4 "description": "HTML to React parser.",
5 "author": "Mark <mark@remarkablemark.org>",
6 "main": "index.js",
7 "module": "index.mjs",
8 "exports": {
9 ".": {
10 "import": "./index.mjs",
11 "require": "./index.js"
12 },
13 "./package.json": "./package.json"
14 },
15 "scripts": {
16 "benchmark": "node benchmark",
17 "build": "rollup --config --failAfterWarnings",
18 "clean": "rimraf dist",
19 "lint": "eslint --ignore-path .gitignore --ignore-pattern /examples/ .",
20 "lint:dts": "dtslint .",
21 "lint:fix": "npm run lint -- --fix",
22 "_postinstall": "husky install",
23 "postpublish": "pinst --enable",
24 "prepublishOnly": "pinst --disable && npm run lint && npm run lint:dts && npm run test:ci && npm run clean && npm run build",
25 "size-limit": "size-limit",
26 "test": "jest --coverage --testPathIgnorePatterns test/integration/",
27 "test:ci": "npm test -- --ci",
28 "test:module": "node --experimental-modules test/module/index.mjs",
29 "test:integration": "npm run build && jest --env=jsdom test/integration/",
30 "test:watch": "npm test -- --watch"
31 },
32 "repository": {
33 "type": "git",
34 "url": "https://github.com/remarkablemark/html-react-parser"
35 },
36 "bugs": {
37 "url": "https://github.com/remarkablemark/html-react-parser/issues"
38 },
39 "keywords": [
40 "html-react-parser",
41 "html",
42 "react",
43 "parser",
44 "dom"
45 ],
46 "dependencies": {
47 "domhandler": "4.3.1",
48 "html-dom-parser": "1.2.0",
49 "react-property": "2.0.0",
50 "style-to-js": "1.1.0"
51 },
52 "devDependencies": {
53 "@commitlint/cli": "16.2.3",
54 "@commitlint/config-conventional": "16.2.1",
55 "@rollup/plugin-commonjs": "21.1.0",
56 "@rollup/plugin-node-resolve": "13.2.1",
57 "@size-limit/preset-big-lib": "7.0.8",
58 "@types/react": "18.0.6",
59 "@typescript-eslint/parser": "5.20.0",
60 "benchmark": "2.1.4",
61 "dtslint": "4.2.1",
62 "eslint": "8.13.0",
63 "eslint-plugin-prettier": "4.0.0",
64 "husky": "7.0.4",
65 "jest": "27.5.1",
66 "lint-staged": "12.4.0",
67 "pinst": "3.0.0",
68 "preact": "10.7.1",
69 "prettier": "2.6.2",
70 "react": "18.0.0",
71 "react-dom": "18.0.0",
72 "rimraf": "3.0.2",
73 "rollup": "2.70.2",
74 "rollup-plugin-terser": "7.0.2",
75 "size-limit": "7.0.8",
76 "typescript": "4.6.3"
77 },
78 "peerDependencies": {
79 "react": "0.14 || 15 || 16 || 17 || 18"
80 },
81 "files": [
82 "/dist",
83 "/lib",
84 "index.d.ts",
85 "index.mjs"
86 ],
87 "collective": {
88 "type": "opencollective",
89 "url": "https://opencollective.com/html-react-parser"
90 },
91 "license": "MIT"
92}