{"name":"react-ace","version":"13.0.0","keywords":["ace","ace editor","react-component","react"],"author":{"name":"James Hrisho"},"license":"MIT","_id":"react-ace@13.0.0","maintainers":[{"name":"securingsincity","email":"james.hrisho@gmail.com"}],"homepage":"https://github.com/securingsincity/react-ace#readme","bugs":{"url":"https://github.com/securingsincity/react-ace/issues"},"nyc":{"exclude":["**/*.spec.js","**/setup.js","node_modules"],"reporter":["lcov","text-lcov","text","html"],"extension":[".js",".jsx",".tsx",".ts"]},"dist":{"shasum":"e69c2aa4ccf1a81c758adba9ba2b4b3e3d929a69","tarball":"http://registry-npm.ywwl.com/react-ace/download/react-ace-13.0.0.tgz","fileCount":56,"integrity":"sha512-PPk2O/ArHzDtbnK82QImfHYXwuiitRgHJf5AxwMQh9zciojbWsPmKJm1tMgWOYLCtGEz8/Dh3MxRxrXe7QcstQ==","signatures":[{"sig":"MEQCIDGxoSj3TG3cWd5dQEP3AGPItrru74V0XFLV/nEzvFhXAiAFa+hzjqEiAYPrMyjftbHvSWv63RjZ2NGZN2fvxiIdhw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2042599,"size":460012,"noattachment":false,"key":"/react-ace/-/react-ace-13.0.0.tgz"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"types":"lib/index.d.ts","gitHead":"ac30cc8cff41a9fb00753cb9b5fa9bb359bc15a3","scripts":{"lint":"echo 'foo'","test":"jest","build":"npm run build:lib && npm run build:umd && npm run build:umd:min","check":"npm run lint","clean":"rimraf lib dist","example":"webpack-dev-server --config webpack.config.example.js","prepare":"npm run build:lib","version":"npm run build","coverage":"jest --coverage","prettier":"prettier --write \"src/**\" \"example/*.js\" \"tests/**\"","build:lib":"tsc","build:umd":"webpack ./src/index.ts -o dist/react-ace.js --config webpack.config.development.js","preversion":"npm run clean && npm run check","build:example":"webpack --config webpack.config.example.js","build:umd:min":"webpack ./src/index.ts -o dist/react-ace.min.js --config webpack.config.production.js","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"securingsincity","email":"james.hrisho@gmail.com"},"prettier":{"arrowParens":"avoid","singleQuote":false,"trailingComma":"none"},"repository":{"url":"git+ssh://git@github.com/securingsincity/react-ace.git","type":"git"},"_npmVersion":"10.8.2","description":"A react component for Ace Editor","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ace-builds":"^1.36.3","lodash.get":"^4.4.2","prop-types":"^15.8.1","lodash.isequal":"^4.5.0","diff-match-patch":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","jsdom":"25.0.0","react":"^18.2.0","rimraf":"6.0.1","ts-node":"^10.9.2","webpack":"5.94.0","minimist":">=1.2.8","prettier":"^3.2.5","react-dom":"^18.2.0","ts-loader":"^9.5.1","@babel/cli":"^7.24.1","node-forge":"1.3.1","typescript":"^5.4.3","@babel/core":"^7.24.3","@types/chai":"^4.3.14","@types/jest":"^29.5.12","@types/node":"^22.5.5","webpack-cli":"5.1.4","@types/react":"^18.2.69","@types/sinon":"^17.0.3","babel-loader":"^9.1.3","pretty-quick":"^4.0.0","@types/lodash":"^4.17.0","@babel/register":"^7.23.7","@types/react-dom":"^18.2.22","@babel/preset-env":"^7.24.3","@types/prop-types":"^15.7.12","webpack-dev-server":"5.1.0","@babel/preset-react":"^7.24.1","react-test-renderer":"^18.2.0","@testing-library/react":"^16.0.0","jest-environment-jsdom":"^29.7.0","@babel/preset-typescript":"^7.24.1","@testing-library/jest-dom":"^6.4.2"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0","react-dom":"^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-ace_13.0.0_1730514309434_0.1641449512486588","host":"s3://npm-registry-packages"},"readme":"# React-Ace\n\n![logo](https://github.com/securingsincity/react-ace/raw/master/logo.png)\n\n[![Backers on Open Collective](https://opencollective.com/react-ace/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-ace/sponsors/badge.svg)](#sponsors) [![Greenkeeper badge](https://badges.greenkeeper.io/securingsincity/react-ace.svg)](https://greenkeeper.io/)\n\n[![npm version](https://badge.fury.io/js/react-ace.svg)](http://badge.fury.io/js/react-ace)\n[![CDNJS](https://img.shields.io/cdnjs/v/react-ace.svg)](https://cdnjs.com/libraries/react-ace)\n[![Coverage Status](https://coveralls.io/repos/github/securingsincity/react-ace/badge.svg?branch=main)](https://coveralls.io/github/securingsincity/react-ace?branch=main)\n\n\nA set of react components for Ace\n\n_NOTE FOR VERSION 8!_ : We have stopped support for Brace and now use Ace-builds. Please read the documentation on how to migrate. Examples are being updated.\n\n[DEMO of React Ace](https://securingsincity.github.io/react-ace/)\n\n[DEMO of React Ace Split Editor](https://securingsincity.github.io/react-ace/split.html)\n\n[DEMO of React Ace Diff Editor](https://securingsincity.github.io/react-ace/diff.html)\n\n## Install\n\n`npm install react-ace ace-builds`\n\n`yarn add react-ace ace-builds`\n\n## Basic Usage\n\n```javascript\nimport React from \"react\";\nimport { render } from \"react-dom\";\nimport AceEditor from \"react-ace\";\n\nimport \"ace-builds/src-noconflict/mode-java\";\nimport \"ace-builds/src-noconflict/theme-github\";\nimport \"ace-builds/src-noconflict/ext-language_tools\";\n\nfunction onChange(newValue) {\n  console.log(\"change\", newValue);\n}\n\n// Render editor\nrender(\n  <AceEditor\n    mode=\"java\"\n    theme=\"github\"\n    onChange={onChange}\n    name=\"UNIQUE_ID_OF_DIV\"\n    editorProps={{ $blockScrolling: true }}\n  />,\n  document.getElementById(\"example\")\n);\n```\n\n## Examples\n\nCheckout the `example` directory for a working example using webpack.\n\n## Documentation\n\n[Ace Editor](https://github.com/securingsincity/react-ace/blob/master/docs/Ace.md)\n\n[Split View Editor](https://github.com/securingsincity/react-ace/blob/master/docs/Split.md)\n\n[Diff Editor](https://github.com/securingsincity/react-ace/blob/master/docs/Diff.md)\n\n[How to add modes, themes and keyboard handlers](https://github.com/securingsincity/react-ace/blob/master/docs/Modes.md)\n\n[Frequently Asked Questions](https://github.com/securingsincity/react-ace/blob/master/docs/FAQ.md)\n\n[Migrate to version 8](https://github.com/securingsincity/react-ace/blob/master/docs/Migrate-v7-to-v8.md)\n\n## Backers\n\nSupport us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/react-ace#backer)]\n\n<a href=\"https://opencollective.com/react-ace/backer/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/0/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/1/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/2/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/3/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/4/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/5/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/6/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/7/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/8/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/9/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/10/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/10/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/11/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/11/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/12/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/12/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/13/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/13/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/14/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/14/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/15/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/15/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/16/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/16/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/17/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/17/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/18/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/18/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/19/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/19/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/20/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/20/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/21/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/21/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/22/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/22/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/23/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/23/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/24/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/24/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/25/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/25/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/26/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/26/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/27/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/27/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/28/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/28/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/backer/29/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/backer/29/avatar.svg\"></a>\n\n## Sponsors\n\nBecome a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/react-ace#sponsor)]\n\n<a href=\"https://opencollective.com/react-ace/sponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/0/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/1/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/2/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/3/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/4/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/5/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/6/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/7/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/8/avatar.svg\"></a>\n<a href=\"https://opencollective.com/react-ace/sponsor/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-ace/sponsor/9/avatar.svg\"></a>\n","publish_time":1730514309743,"_cnpm_publish_time":1730514309743,"dist-tags":{"latest":"15.0.0"}}