UNPKG

pqa-react-trix

Version:

React wrapper around Basecamp's Trix editor modified for PlusQA.

68 lines (67 loc) 1.66 kB
{ "name": "pqa-react-trix", "version": "0.8.3", "description": "React wrapper around Basecamp's Trix editor modified for PlusQA.", "main": "main.js", "scripts": { "build": "npm run build:lib && parcel build src/react-trix.tsx", "build: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": "git+https://github.com/Plus-QA/react-trix.git" }, "keywords": [ "react", "component", "edit", "editable", "wysiwyg", "trix", "editor", "trix-editor" ], "author": "Dominic St-Pierre <dominicstpierre@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/dstpierre/react-trix/issues" }, "homepage": "https://github.com/dstpierre/react-trix", "dependencies": { "@babel/helper-compilation-targets": "^7.13.13", "@babel/helper-validator-identifier": "^7.12.11", "@babel/plugin-syntax-class-properties": "^7.12.13", "is-core-module": "^2.2.0", "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": "^4.2.3" }, "peerDependencies": { "react": ">=16.0 < 17", "react-dom": ">=16.0 < 17" }, "files": [ "dist", "lib", "README.md", "LICENSE", "main.js" ], "types": "lib/react-trix.d.ts", "directories": { "lib": "lib", "test": "tests" } }