UNPKG

2.41 kBJSONView Raw
1{
2 "name": "html-react-parser",
3 "version": "0.10.0",
4 "description": "HTML to React parser.",
5 "author": "Mark <mark@remarkablemark.org>",
6 "main": "index.js",
7 "scripts": {
8 "benchmark": "node benchmark",
9 "build": "npm run clean && npm run build:min && npm run build:unmin",
10 "build:min": "cross-env NODE_ENV=production rollup --config --file dist/html-react-parser.min.js --sourcemap",
11 "build:unmin": "cross-env NODE_ENV=development rollup --config --file dist/html-react-parser.js",
12 "clean": "rimraf dist",
13 "coveralls": "nyc report --reporter=text-lcov | coveralls",
14 "lint": "eslint --ignore-path .gitignore --ignore-pattern /examples/ .",
15 "lint:dts": "dtslint .",
16 "lint:fix": "npm run lint -- --fix",
17 "prepublishOnly": "npm run lint && npm run lint:dts && npm test && npm run build",
18 "release": "standard-version --no-verify",
19 "test": "mocha",
20 "test:coverage": "nyc npm test",
21 "test:coverage:report": "nyc report --reporter=html"
22 },
23 "repository": {
24 "type": "git",
25 "url": "https://github.com/remarkablemark/html-react-parser"
26 },
27 "bugs": {
28 "url": "https://github.com/remarkablemark/html-react-parser/issues"
29 },
30 "keywords": [
31 "html-react-parser",
32 "html",
33 "react",
34 "parser",
35 "dom"
36 ],
37 "dependencies": {
38 "@types/domhandler": "2.4.1",
39 "html-dom-parser": "0.2.3",
40 "react-property": "1.0.1",
41 "style-to-object": "0.3.0"
42 },
43 "devDependencies": {
44 "@commitlint/cli": "^8.2.0",
45 "@commitlint/config-conventional": "^8.2.0",
46 "@types/react": "^16.9.11",
47 "benchmark": "^2.1.4",
48 "coveralls": "^3.0.7",
49 "cross-env": "^6.0.3",
50 "dtslint": "^2.0.0",
51 "eslint": "^6.6.0",
52 "eslint-plugin-prettier": "^3.1.1",
53 "husky": "^3.0.9",
54 "lint-staged": "^9.4.2",
55 "mocha": "^6.2.2",
56 "nyc": "^14.1.1",
57 "preact": "^10.0.4",
58 "prettier": "^1.19.1",
59 "react": "^16",
60 "react-dom": "^16",
61 "rimraf": "^3.0.0",
62 "rollup": "^1.26.3",
63 "rollup-plugin-commonjs": "^10.1.0",
64 "rollup-plugin-node-resolve": "^5.2.0",
65 "rollup-plugin-uglify": "^6.0.3",
66 "standard-version": "^6"
67 },
68 "peerDependencies": {
69 "react": "^0.14 || ^15 || ^16"
70 },
71 "files": [
72 "/dist",
73 "/lib",
74 "index.d.ts"
75 ],
76 "collective": {
77 "type": "opencollective",
78 "url": "https://opencollective.com/html-react-parser"
79 },
80 "license": "MIT"
81}