UNPKG

html-to-react

Version:

A lightweight library that converts raw HTML to a React DOM structure.

64 lines (63 loc) 1.56 kB
{ "name": "html-to-react", "version": "1.7.0", "description": "A lightweight library that converts raw HTML to a React DOM structure.", "main": "index.js", "types": "types/index.d.ts", "scripts": { "test": "./node_modules/.bin/eslint . && ./node_modules/.bin/mocha", "test-coverage": "eslint . && nyc npm test && nyc report --reporter=lcov", "test-html-coverage": "eslint . && nyc --reporter=html npm test; open coverage/index.html" }, "repository": { "type": "git", "url": "https://github.com/aknuds1/html-to-react.git" }, "keywords": [ "react", "react-component", "html" ], "author": "Arve Knudsen, Mike Nikles", "license": "MIT", "bugs": { "url": "https://github.com/aknuds1/html-to-react/issues" }, "homepage": "https://github.com/aknuds1/html-to-react", "config": { "blanket": { "pattern": [ "" ], "data-cover-never": [ "node_modules", "test" ] } }, "peerDependencies": { "react": "^0.13.0 || ^0.14.0 || >=15" }, "dependencies": { "domhandler": "^5.0", "htmlparser2": "^9.0", "lodash.camelcase": "^4.3.0" }, "devDependencies": { "@types/mocha": "^10.0.1", "@types/react": "^18.0.33", "@types/react-dom": "^18.0.11", "coveralls": "^3.1.0", "eslint": "^8.1", "mocha": "^10.0", "mocha-lcov-reporter": "^1.2.0", "nyc": "^15.1.0", "react": "^18.0", "react-dom": "^18.0", "ts-node": "^10.9.1", "typescript": "^5.0.3" }, "volta": { "node": "20.2.0" } }