UNPKG

megadraft

Version:

Rich Text editor built on top of draft.js

136 lines (135 loc) 3.76 kB
{ "name": "megadraft", "version": "0.8.0", "description": "Rich Text editor built on top of draft.js", "main": "lib/Megadraft.js", "dependencies": { "backstage-modal": "^0.3.2", "classnames": "^2.2.6", "draft-js": "0.11.7", "immutable": "~3.8.2", "prop-types": "^15.5.2", "setimmediate": "^1.0.5" }, "devDependencies": { "@babel/cli": "^7.12.10", "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.11", "@babel/preset-react": "^7.0.0", "@material-ui/core": "^4.0.1", "@wojtekmaj/enzyme-adapter-react-17": "^0.6.1", "babel-eslint": "10.0.3", "babel-jest": "24.8.0", "babel-loader": "8.0.6", "enzyme": "^3.3.0", "enzyme-to-json": "^3.3.1", "es6-shim": "^0.35.0", "eslint": "^6.8.0", "eslint-config-prettier": "^4.3.0", "eslint-plugin-jest": "^22.6.4", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-react": "^7.7.0", "eslint-watch": "^5.1.2", "estraverse-fb": "^1.3.2", "gulp": "^4.0.2", "gulp-autoprefixer": "^6.1.0", "gulp-sass": "^5.1.0", "gulp-util": "^3.0.8", "html-loader": "^0.5.1", "html-webpack-plugin": "^3.2.0", "husky": "^2.3.0", "jest": "24.9.0", "jsdom": "^15.2.1", "json-loader": "^0.5.4", "lint-staged": "^8.1.7", "megadraft-related-articles-plugin": "0.2.5", "prettier": "^1.19.1", "raw-loader": "^2.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-markdown": "^4.0.8", "react-router": "^5.0.0", "react-router-dom": "^5.0.0", "react-scroll": "^1.5.4", "react-sticky": "^6.0.3", "react-tap-event-plugin": "3.0.3", "react-test-renderer": "16.14.0", "regenerator-runtime": "^0.13.2", "rimraf": "^2.5.2", "sass": "^1.55.0", "svgo": "^1.0.3", "utils-copy": "^1.1.1", "webpack": "^4.44.2", "webpack-cli": "^4.2.0", "webpack-dev-server": "^3.11.0" }, "peerDependencies": { "react": ">=16.1.0 <18", "react-dom": ">=16.1.0 <18" }, "scripts": { "start": "gulp dev-server", "coverage": "node test.js --env=jsdom --coverage --no-cache", "test": "node test.js --env=jsdom", "build:lib": "babel src/ -d lib/", "build": "npm run build:lib && gulp sass && gulp sass-copy", "prepublish": "npm run build", "site": "webpack --config webpack.config.site.js && gulp site-sass", "lint": "eslint ./*.js src tests website", "lint:watch": "esw -w src tests website", "watch": "babel -d lib/ src/ --watch", "precommit": "lint-staged", "eslint-check": "eslint --print-config .eslintrc.json | eslint-config-prettier-check" }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "jest": { "collectCoverageFrom": [ "src/**/*.{js,jsx}" ], "coveragePathIgnorePatterns": [ "src/icons" ], "testMatch": [ "**/tests/**/*_test.js?(x)" ], "testPathIgnorePatterns": [ "<rootDir>[/\\\\](build|lib|docs|node_modules|scripts)[/\\\\]" ], "testURL": "http://localhost", "transform": { "^.+\\.jsx?$": "babel-jest", "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/tests/helpers/fileTransform.js" }, "transformIgnorePatterns": [ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" ], "setupFiles": [ "<rootDir>/tests/helpers/setup.js" ] }, "repository": { "type": "git", "url": "git+https://github.com/globocom/megadraft.git" }, "files": [ "dist", "lib" ], "keywords": [ "draftjs", "editor", "richtext", "react" ], "author": "globo.com", "license": "MIT", "bugs": { "url": "https://github.com/globocom/megadraft/issues" }, "homepage": "https://github.com/globocom/megadraft#readme" }