UNPKG

react-smart-editor

Version:
82 lines (81 loc) 2.16 kB
{ "name": "react-smart-editor", "version": "1.0.60", "description": "React rich text editor with track changes functionality", "author": "Aliiev Lomach-Maxim", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/AliievLomach-Maxim/react-smart-editor.git" }, "keywords": [ "react", "editor", "rich-text", "track-changes", "slate", "typescript" ], "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "typings": "dist/index.d.ts", "style": "dist/index.css", "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "./dist/index.css": { "import": "./dist/index.css", "require": "./dist/index.css" } }, "files": [ "dist", "dist/**/*.d.ts", "dist/**/*.js", "dist/**/*.js.map", "dist/**/*.d.ts.map", "dist/**/*.css" ], "sideEffects": true, "scripts": { "clean": "rm -rf dist", "build:types": "tsc --emitDeclarationOnly", "build:js": "rollup -c", "build": "npm run clean && npm run build:js && npm run build:types", "prepare": "npm run build", "prepublishOnly": "npm run build", "lint": "eslint src --ext .ts,.tsx", "typecheck": "tsc --noEmit" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" }, "dependencies": { "slate": "^0.94.0", "slate-history": "^0.93.0", "slate-react": "^0.94.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", "@rollup/plugin-url": "^8.0.2", "@types/react": ">=18.0.0", "@types/react-dom": ">=18.0.0", "@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/parser": "^8.31.0", "eslint": "^8.0.0", "eslint-plugin-react": "^7.0.0", "eslint-plugin-react-hooks": "^4.0.0", "rollup": "^2.79.1", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "typescript": "^5.0.0" } }