UNPKG

@bitjourney/react-from-html

Version:

Builds React elements from HTML snippets, or a safe dangerouslySetInnerHTML alternative

77 lines (76 loc) 2.3 kB
{ "name": "@bitjourney/react-from-html", "version": "0.6.0", "description": "Builds React elements from HTML snippets, or a safe dangerouslySetInnerHTML alternative ", "repository": { "type": "git", "url": "https://github.com/bitjourney/react-from-html" }, "main": "index.js", "scripts": { "build:vendor": "make vendor-build", "build": "make vendor-build && npm run build:production && npm run build:development", "build:production": "webpack --mode production --config webpack.config.js", "build:development": "webpack --mode development --config webpack.config.js", "lint": "tslint --project tsconfig.json 'src/**/*' 'test/**/*' 'example/**/*'", "lint:fix": "npm run lint -- --fix", "test": "jest && npm run test:dist:development && npm run test:dist:production", "test:dist:development": "TEST_DIST=true NODE_ENV=development jest", "test:dist:production": "TEST_DIST=true NODE_ENV=production jest", "test:watch": "jest --watch", "test:updateSnapshot": "jest --updateSnapshot", "prepack": "npm run build" }, "contributors": [ { "name": "FUJI Goro", "email": "goro-fuji@bitjourney.com" } ], "keywords": [ "react", "dangerouslySetInnerHTML", "html2react" ], "license": "ISC", "files": [ "dist" ], "dependencies": { "crypto-js": ">= 3" }, "peerDependencies": { "@types/react": ">=15", "@types/react-dom": ">=15", "react": ">=15", "react-dom": ">=15" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.4", "@babel/preset-env": "^7.3.4", "@babel/preset-flow": "^7", "@types/crypto-js": "^3", "@types/jest": "^23.3.14", "@types/node": "^8.10.40", "@types/react": "^16.8.5", "@types/react-dom": "^16.8.2", "ts-loader": "^5.3.3", "babel-plugin-inline-replace-variables": "^1", "jest": "^24", "jsdom": "^11", "payment-icons": "^1", "react": "^16.8.3", "react-dom": "^16.8.3", "react-test-renderer": "^16.8.3", "ts-jest": "^24", "ts-node": "^6", "tsconfig-paths": "^3.8.0", "tslint": "^5.13.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.3.3333", "webpack": "^4.29.6", "webpack-cli": "^3.2.3" }, "sideEffects": false }