UNPKG

react-trix

Version:

React wrapper around Basecamp's Trix editor.

63 lines (62 loc) 1.41 kB
{ "name": "react-trix", "version": "0.9.0", "description": "React wrapper around Basecamp's Trix editor.", "main": "main.js", "scripts": { "build": "npm run build:lib && parcel build src/react-trix.tsx", "build:lib": "rm -rf ./lib/* && tsc", "prebuild": "rm -rf dist && mkdir dist", "prepublish": "npm run build", "postbuild": "parcel build src/react-trix.tsx", "test": "./test.sh" }, "repository": { "type": "git", "url": "https://github.com/dstpierre/react-trix" }, "keywords": [ "react", "component", "edit", "editable", "wysiwyg", "trix", "editor", "trix-editor" ], "author": { "name": "Dominic St-Pierre", "email": "dominicstpierre@gmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/dstpierre/react-trix/issues" }, "homepage": "https://github.com/dstpierre/react-trix", "dependencies": { "trix": "^1.2.2" }, "devDependencies": { "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", "parcel": "^1.12.4", "react": "^16.7.0", "react-dom": "^16.7.0", "source-map-loader": "^0.2.4", "ts-loader": "^6.2.0", "typescript": "^3.6.4" }, "peerDependencies": { "react": ">=16.0", "react-dom": ">=16.0" }, "files": [ "dist", "lib", "README.md", "LICENSE", "main.js" ], "types": "lib/react-trix.d.ts" }