UNPKG

html2react-json

Version:

Convert HTML/SVG text to React JSON as defined by https://github.com/gorangajic/react-render-to-json

55 lines (54 loc) 1.56 kB
{ "name": "html2react-json", "version": "0.0.1", "description": "Convert HTML/SVG text to React JSON as defined by https://github.com/gorangajic/react-render-to-json", "main": "dist/index.js", "bin": { "html2react-json": "./bin/html2react-json.js" }, "scripts": { "test": "npm run test:lint && npm run test:typecheck && npm run test:unit", "build": "sagui build", "develop": "sagui develop --port 3000", "dist": "cross-env NODE_ENV=production sagui build --optimize", "start": "npm run develop", "test:coverage": "npm run test:unit -- --coverage", "test:lint": "sagui lint", "test:typecheck": "sagui typecheck", "test:unit": "cross-env NODE_ENV=test sagui test", "test:unit:watch": "npm run test:unit -- --watch", "prepublish": "sagui dist" }, "repository": { "type": "git", "url": "git+https://github.com/xaviervia/html2react-json.git" }, "keywords": [ "react", "json", "html2react", "react-render-to-json", "svg", "html" ], "author": "Fernando Via Canel <fernando.via@gmail.com>", "license": "Unlicense", "bugs": { "url": "https://github.com/xaviervia/html2react-json/issues" }, "homepage": "https://github.com/xaviervia/html2react-json#readme", "devDependencies": { "react": "^15.4.1", "react-dom": "^15.4.1", "sagui": "^7.4.0" }, "dependencies": { "html2react": "^1.0.2", "jsdom": "^9.8.3", "react-render-to-json": "^0.0.5", "sagui": "7.4.0" }, "peerDependencies": { "react": "^15.4.1" } }