{"_id":"draft-js-list-plugin","_rev":"3-57a3ca4c58dab363aff1e449f06be963","name":"draft-js-list-plugin","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"draft-js-list-plugin","version":"1.0.0","description":"Better lists for Draft.js","keywords":["react","draft-js","draft-js-plugin","plugin","editor","list","auto-list","nested-list"],"author":{"name":"Samuel Meuli","email":"me@samuelmeuli.com","url":"https://samuelmeuli.com"},"repository":{"type":"git","url":"https://github.com/samuelmeuli/draft-js-list-plugin.git"},"homepage":"https://draft-js-list-plugin.samuelmeuli.com/","license":"MIT","main":"./dist/index.js","module":"./dist/index.es.js","types":"./dist/index.d.ts","scripts":{"start":"npm-run-all build:ts --parallel start:*","start:ts":"rollup --config --sourcemap --watch","start:serve":"serve ./demo/public/ --listen 3000","build":"run-s build:*","build:clean":"rm -rf ./dist/","build:ts":"rollup --config","format":"prettier --write","lint:js":"eslint --ext .js,.jsx --fix --max-warnings 0","lint:ts":"eslint --ext .ts,.tsx --fix --max-warnings 0","lint:css":"stylelint --fix --max-warnings 0","lint:scss":"stylelint --fix --max-warnings 0 --syntax scss","test":"tsc --noEmit","version":"yarn build","release":"np"},"dependencies":{},"peerDependencies":{"@types/draft-js":"^0.11.0","@types/react":"^16.0.0","draft-js":"^0.11.0","draft-js-plugins-editor":"^3.0.0","react":"^16.0.0"},"devDependencies":{"@samuelmeuli/eslint-config":"^3.0.2","@samuelmeuli/stylelint-config":"^1.0.2","@samuelmeuli/tsconfig":"^0.1.1","@types/draft-js":"^0.10.35","@types/react":"^16.9.2","@types/react-dom":"^16.9.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","draft-js":"^0.11.0","draft-js-plugins-editor":"^3.0.0","eslint":"6.1.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.1.0","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.14.3","eslint-plugin-react-hooks":"^1.7.0","eslint-plugin-simple-import-sort":"^4.0.0","husky":"^3.0.4","lint-staged":"^9.2.4","np":"^5.0.3","npm-run-all":"^4.1.5","prettier":"^1.17.1","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^1.20.2","rollup-plugin-commonjs":"^10.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-replace":"^2.2.0","rollup-plugin-typescript2":"^0.24.0","serve":"^11.1.0","stylelint":"^10.1.0","typescript":"^3.4.5"},"eslintConfig":{"root":true,"extends":["@samuelmeuli/eslint-config/react-typescript","prettier","prettier/@typescript-eslint"],"env":{"browser":true,"node":true},"rules":{"import/no-extraneous-dependencies":["error",{"devDependencies":["./demo/**/*.*","./rollup.config.js"]}]}},"stylelint":{"extends":"@samuelmeuli/stylelint-config"},"prettier":{"printWidth":100,"trailingComma":"all"},"lint-staged":{"*.{ts,tsx}":["yarn lint:ts","yarn format","git add"],"*.{js,jsx}":["yarn lint:js","yarn format","git add"],"*.css":["yarn lint:css","yarn format","git add"],"*.scss":["yarn lint:scss","yarn format","git add"],"*.{json,md,yml}":["yarn format","git add"]},"husky":{"hooks":{"pre-commit":"yarn test && lint-staged"}},"licenseText":"# MIT License\n\nCopyright (c) 2019 Samuel Meuli\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"draft-js-list-plugin@1.0.0","dist":{"shasum":"e2258a5f07fd0cf64c03f25737967d177988b7e7","integrity":"sha512-mU3RPqj714fHV8s51WuK2qnLGFKfe7cJ4IrTxLJ69qB+DBNn5Lns+9OLEtSnp+i5/m1TVBG3V+UKWb4dkdhLpg==","tarball":"https://registry.npmjs.org/draft-js-list-plugin/-/draft-js-list-plugin-1.0.0.tgz","fileCount":13,"unpackedSize":15682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaoj0CRA9TVsSAnZWagAAu/0P/jdCvcvhEZdMw3CRGamh\nDKuO6igmFWk95syAx2DL4dLoeyfloeWF+AJRzDji6wrxCgVtGQDnhOCTmt5B\nbpTwMpVEfqrsOJ9g8NTNAvQSx0em/4HbzIgRfFYSLY4QdgEwru4ZfXu3Q2Zn\nHLfqbO8kQzAFznGMA1tmb+yuS8k+eaXancnXa+kSB3qbIhgRCUctaSnkmHMh\nv/JgAyBjUiLI2o8FwHcAB7A93a+ZzUY7NKCQlB4TlTpwU5iXkjmwMcJ6Qskm\nsxlwocWm+X/+rLybrIRe+IDx1z8PW/OVJgIl+WdNF0Pte3xTF1eR3Z2T4zRv\nAacFPITp67RlWmtk0Q0aobt3qQ5lhk5KYdc4mzglJWdi32BdXRH/lF+NXdc2\nVA/SQSRFJYZmb3wEeE4GY5F5GO9wFREC4Iy83ESO/MJUZBa9GarsydVNon++\nwCu+nSTpnNUxPwP/VyJQOr4IYAjh5SoZ4xggRJFzgA0CEpCTvpDjS2kDerC+\nEaF3XbUrSM/Mg3ocKUAtLTOkn8OYD9NlDvBhsmPbAnJegc+5mUfuIAZg2o3V\njraQvWQpD9h3ozvMc8q4GoUX9gdvycVA1X32Tf9ufXNbqyyotsa50Uzv84Vy\nMSxtTI6cqPwdBVZkOwB/3C+rXp8NDzqlngwQHyJM6Fv3uj3EtbUJWAXrDjM3\nUWs9\r\n=RVrO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0uaxcSrvGhRdiY8yGsYlRk0PsNvdLBRtVRuoo6n8hlAiA32aPZ/wXjHH8mh6UFgI4DMZ+ZcCJCL2iVuWYP4on9qQ=="}]},"maintainers":[{"name":"samuelmeuli","email":"me@samuelmeuli.com"}],"_npmUser":{"name":"samuelmeuli","email":"me@samuelmeuli.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/draft-js-list-plugin_1.0.0_1567262963979_0.36563720528237"},"_hasShrinkwrap":false},"1.0.1":{"name":"draft-js-list-plugin","version":"1.0.1","description":"Better lists for Draft.js","keywords":["react","draft-js","draft-js-plugin","plugin","editor","list","auto-list","nested-list"],"author":{"name":"Samuel Meuli","email":"me@samuelmeuli.com","url":"https://samuelmeuli.com"},"repository":{"type":"git","url":"https://github.com/samuelmeuli/draft-js-list-plugin.git"},"homepage":"https://draft-js-list-plugin.samuelmeuli.com/","license":"MIT","main":"./dist/index.js","module":"./dist/index.es.js","types":"./dist/index.d.ts","scripts":{"start":"npm-run-all build:ts --parallel start:*","start:ts":"rollup --config --sourcemap --watch","start:serve":"serve ./demo/public/ --listen 3000","build":"run-s build:*","build:clean":"rm -rf ./dist/","build:ts":"rollup --config","format":"prettier --write","lint:js":"eslint --ext .js,.jsx --fix --max-warnings 0","lint:ts":"eslint --ext .ts,.tsx --fix --max-warnings 0","lint:css":"stylelint --fix --max-warnings 0","lint:scss":"stylelint --fix --max-warnings 0 --syntax scss","test":"tsc --noEmit","version":"yarn build","release":"np"},"dependencies":{},"peerDependencies":{"@types/draft-js":"^0.10.0","@types/react":"^16.0.0","draft-js":"^0.11.0","draft-js-plugins-editor":"^3.0.0","react":"^16.0.0"},"devDependencies":{"@samuelmeuli/eslint-config":"^3.0.2","@samuelmeuli/stylelint-config":"^1.0.2","@samuelmeuli/tsconfig":"^0.1.1","@types/draft-js":"^0.10.35","@types/react":"^16.9.2","@types/react-dom":"^16.9.0","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","draft-js":"^0.11.0","draft-js-plugins-editor":"^3.0.0","eslint":"6.1.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.1.0","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.14.3","eslint-plugin-react-hooks":"^1.7.0","eslint-plugin-simple-import-sort":"^4.0.0","husky":"^3.0.4","lint-staged":"^9.2.4","np":"^5.0.3","npm-run-all":"^4.1.5","prettier":"^1.17.1","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^1.20.2","rollup-plugin-commonjs":"^10.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-replace":"^2.2.0","rollup-plugin-typescript2":"^0.24.0","serve":"^11.1.0","stylelint":"^10.1.0","typescript":"^3.4.5"},"eslintConfig":{"root":true,"extends":["@samuelmeuli/eslint-config/react-typescript","prettier","prettier/@typescript-eslint"],"env":{"browser":true,"node":true},"rules":{"import/no-extraneous-dependencies":["error",{"devDependencies":["./demo/**/*.*","./rollup.config.js"]}]}},"stylelint":{"extends":"@samuelmeuli/stylelint-config"},"prettier":{"printWidth":100,"trailingComma":"all"},"lint-staged":{"*.{ts,tsx}":["yarn lint:ts","yarn format","git add"],"*.{js,jsx}":["yarn lint:js","yarn format","git add"],"*.css":["yarn lint:css","yarn format","git add"],"*.scss":["yarn lint:scss","yarn format","git add"],"*.{json,md,yml}":["yarn format","git add"]},"husky":{"hooks":{"pre-commit":"yarn test && lint-staged"}},"licenseText":"# MIT License\n\nCopyright (c) 2019 Samuel Meuli\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"draft-js-list-plugin@1.0.1","dist":{"shasum":"70ae93e0b80ac7586d27038041f70591e84f5029","integrity":"sha512-OM23dDj1Mmlw54H+5o2hGzVB3vtyyO5pS6kvg0e0vzPxJHrtJIsb83UUqjM3VkHlzAkJzLngoqOILDMn4t7nuA==","tarball":"https://registry.npmjs.org/draft-js-list-plugin/-/draft-js-list-plugin-1.0.1.tgz","fileCount":13,"unpackedSize":15682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaoq8CRA9TVsSAnZWagAAVY0P/RHV/R4lI3UNFiiZxWDT\neWgQdWyLgM1N1OPQ3UTc0tWuGUkaAJ/kxTcWasDdffajwLEl1vr6v5suEMFz\nXbx5Ab88ETiTZ/sDmqsgTkCNjegYstsi87qMl0qAfD8Li1mi+BKitM/7LbHr\n343BYgyjX1+EROzPcwo/xigSjKxQnQOUyzd3QxyBobVAXnuXJOZZfMXbrhQf\nDaT/PIAcVSrOuDCwxo98s+DPt7/imsk0lSTx5culHatbkBgjyOjLclInvzi4\nxDT0hsyNgkc6RvRVRMdockz808TP+/rr75+RejuCpMaCxn2N8Xti/Jq+hK/q\nBmBK3HczU/spBUUDV+5DLNdwentnJ0Zx/R7/yd60qu52OPzm8jPgRESh00H6\nvR+JSwZYnql5vmqa/C2S5je02Z7ccFFNmKogs/F0WapaB2XYT5LyyB8LGV9H\nHZGX19LEtr5lqXeN4k+/7bocNmCKSKDtoZVScmMftQYjHMp2Pr5DpDF71sTo\n7Hf/kxC+ACrJQlHg63MHC3b/anNQnb8Qr8XjaL2NU5ukNUzx3JVGcntRrY7A\n5q1/UeZGH+hbi3IP4IrwND2NnUi6G4SU7yYDwFLazRaAFaqLVTV1cplP47sy\nwiSrosDhy5faj7KCdRsb/tmHo+jhGfS4nVSlrE4r02CaSc0YxQcUSoSZpng5\n8HpT\r\n=INfL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWJkuWjP+ip2DvekYiPwaN9NASg5jnIOaC1LUxdr6s5gIgOFu2QLe1TlBYjW2HifmUAbcwUu0xvH5txFUrHQ6aEu4="}]},"maintainers":[{"name":"samuelmeuli","email":"me@samuelmeuli.com"}],"_npmUser":{"name":"samuelmeuli","email":"me@samuelmeuli.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/draft-js-list-plugin_1.0.1_1567263419972_0.1980492803528282"},"_hasShrinkwrap":false},"1.0.2":{"name":"draft-js-list-plugin","version":"1.0.2","description":"Better lists for Draft.js","keywords":["react","draft-js","draft-js-plugin","plugin","editor","list","auto-list","nested-list"],"author":{"name":"Samuel Meuli","email":"me@samuelmeuli.com","url":"https://samuelmeuli.com"},"repository":{"type":"git","url":"https://github.com/samuelmeuli/draft-js-list-plugin.git"},"homepage":"https://draft-js-list-plugin.samuelmeuli.com/","license":"MIT","main":"./dist/index.js","module":"./dist/index.es.js","types":"./dist/index.d.ts","scripts":{"start":"NODE_ENV=development npm-run-all build:ts --parallel start:*","start:ts":"rollup --config --sourcemap --watch","start:serve":"serve ./demo/public/ --listen 3000","build":"NODE_ENV=production run-s build:*","build:clean":"rm -rf ./dist/","build:ts":"rollup --config","format":"prettier --write","lint:js":"eslint --ext .js,.jsx --fix --max-warnings 0","lint:ts":"eslint --ext .ts,.tsx --fix --max-warnings 0","lint:css":"stylelint --fix --max-warnings 0","lint:scss":"stylelint --fix --max-warnings 0 --syntax scss","test":"tsc --noEmit","version":"yarn build","release":"np"},"dependencies":{},"peerDependencies":{"@types/draft-js":"^0.10.0","@types/react":"^16.0.0","draft-js":"^0.11.0","draft-js-plugins-editor":"^3.0.0","react":"^16.0.0"},"devDependencies":{"@samuelmeuli/eslint-config":"^5.0.2","@samuelmeuli/prettier-config":"^1.0.0","@samuelmeuli/stylelint-config":"^2.0.1","@samuelmeuli/tsconfig":"^0.2.0","@types/draft-js":"^0.10.37","@types/react":"^16.9.17","@types/react-dom":"^16.9.4","@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","draft-js":"^0.11.3","draft-js-plugins-editor":"^3.0.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.7.0","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.17.0","eslint-plugin-react-hooks":"^1.7.0","eslint-plugin-simple-import-sort":"^5.0.0","husky":"^3.1.0","lint-staged":"^9.5.0","np":"^5.2.1","npm-run-all":"^4.1.5","prettier":"^1.19.1","react":"^16.12.0","react-dom":"^16.12.0","rollup":"^1.27.14","rollup-plugin-commonjs":"^10.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-replace":"^2.2.0","rollup-plugin-typescript2":"^0.25.3","serve":"^11.2.0","stylelint":"^11.1.1","typescript":"^3.7.4"},"eslintConfig":{"root":true,"extends":["@samuelmeuli/eslint-config/typescript-react"],"env":{"browser":true,"node":true},"rules":{"import/no-extraneous-dependencies":["error",{"devDependencies":["./demo/**/*.*","./rollup.config.js"]}]}},"stylelint":{"extends":"@samuelmeuli/stylelint-config"},"prettier":"@samuelmeuli/prettier-config","lint-staged":{"*.{ts,tsx}":["yarn lint:ts","yarn format","git add"],"*.{js,jsx}":["yarn lint:js","yarn format","git add"],"*.css":["yarn lint:css","yarn format","git add"],"*.scss":["yarn lint:scss","yarn format","git add"],"*.{json,md,yml}":["yarn format","git add"]},"husky":{"hooks":{"pre-commit":"yarn test && lint-staged"}},"licenseText":"# MIT License\n\nCopyright (c) 2019 Samuel Meuli\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"draft-js-list-plugin@1.0.2","dist":{"shasum":"877ed5fde05f7f8963dc720398b3e8fcd2158dda","integrity":"sha512-Vqz+JCZl96TBXoaHKeam1R90xxOWjTfpK9UFmXWP90CjCe/07bMmerZW3582JXsfQkmp5pC4sI3dhPSdr9WF9Q==","tarball":"https://registry.npmjs.org/draft-js-list-plugin/-/draft-js-list-plugin-1.0.2.tgz","fileCount":13,"unpackedSize":18986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeANinCRA9TVsSAnZWagAAhtsP/jMOC1a61UZ7lblZ5xKW\nrZ9dB0TKSDmOSDkbrmTf6bROQUKDHWYNffjGvFJ+qvED0cYeezWov6Zq0JZp\ngL0gxFegfb+h61PFfPlVz57+12lrKgPf3r3pUTEAi8Pu/1/5OOv0lavFYDkP\ncF1aDZ1y86vATCKqBslqCjFN51WQz95YoP5asFM2MtXxDt/CHqA1mwqWxkaG\nsGY7RK0YJ1ZhiUx8UAMSm7Yy2vGPcvCyZVju6yuXfXM5vkUThpM6YyrcQp6F\n/DL+dfOwykCdDU0J7r3FTPjYvq9bDtPBTvzPibx15K1bUqQQGAtqYzTxJjHW\nYl7zrLJhqOp1qzSPY8qLrKki580WnT3yDwMaE+sz4sk3INQOFmo3rtzm2dbJ\nWEozCE6Jgk8R39WCPEg20BGSYGQdeqgmdYCBD3KYafoLdRHSI2YU6tjyw6AO\nXy65YAdENnn5eS9OlOiKL5OMFb5OHsMi6sB4NAK/VXhuAYqCR3sQNlQi5dvj\nLMxwGNMAUo8XxgXD6bYIGWznAW9j/anT803zeMmDnTapSsLdnhDDduQjXVUv\nRrz0BixZUrsLiW6xnWJDcfGP7ZfTcfBckOtebvamPTN/pq0eyBPxO2YL4JzK\noJxe2EeEtzFb9hjTnjANwtwuxX+cjKwKNiStT4lV4i1adgfhCkIzYEtJ7584\nDP1V\r\n=xnES\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHSr6E/ZvrOV/oxrFq025TVsRZEI6MgxwmSDnzLWeItAIhAM0R/SuuVUGuvjsLq8m5qx/a+Mfkcn3k0mDHyKHvk/Ru"}]},"maintainers":[{"name":"samuelmeuli","email":"me@samuelmeuli.com"}],"_npmUser":{"name":"samuelmeuli","email":"me@samuelmeuli.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/draft-js-list-plugin_1.0.2_1577113766758_0.067723794681813"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-31T14:49:23.978Z","1.0.0":"2019-08-31T14:49:24.096Z","modified":"2022-04-29T04:58:10.598Z","1.0.1":"2019-08-31T14:57:00.115Z","1.0.2":"2019-12-23T15:09:26.920Z"},"maintainers":[{"name":"samuelmeuli","email":"me@samuelmeuli.com"}],"description":"Better lists for Draft.js","homepage":"https://draft-js-list-plugin.samuelmeuli.com/","keywords":["react","draft-js","draft-js-plugin","plugin","editor","list","auto-list","nested-list"],"repository":{"type":"git","url":"https://github.com/samuelmeuli/draft-js-list-plugin.git"},"author":{"name":"Samuel Meuli","email":"me@samuelmeuli.com","url":"https://samuelmeuli.com"},"license":"MIT","readme":"# Draft.js List Plugin\n\n**Better lists for Draft.js**\n\n- **Automatically creates lists when lines begin with `*`, `1.` or similar**\n- **Allows creating nested lists using the tab key**\n- Simple setup\n- TypeScript type definitions\n\n→ **[Demo](https://draft-js-list-plugin.samuelmeuli.com)**\n\n## Usage\n\nThis plugin requires you to have [`draft-js-plugins`](https://github.com/draft-js-plugins/draft-js-plugins) set up in your project.\n\nInstall the plugin using NPM:\n\n```sh\nnpm install draft-js-list-plugin\n```\n\nImport the list plugin in your Editor component:\n\n```jsx\nimport React, { Component } from \"react\";\nimport PluginEditor from \"draft-js-plugins-editor\";\nimport createListPlugin from \"draft-js-list-plugin\";\n// ...\n\nconst listPlugin = createListPlugin();\nconst plugins = [listPlugin];\n\nexport default class Editor extends Component {\n  // ...\n\n  render() {\n    const { editorState } = this.state;\n\n    return (\n      <PluginEditor\n        // ...\n        editorState={editorState}\n        plugins={plugins}\n      />\n    );\n  }\n}\n```\n\nSee [Editor.tsx](./demo/src/Editor.tsx) for a full example.\n\n## Configuration\n\nYou can pass options to the plugin the following way:\n\n```jsx\nconst listPlugin = createListPlugin({\n  // Your options\n});\n```\n\nSupported options:\n\n- **`allowNestedLists`** (`boolean`): Whether the user should be able to create sublists (nested lists). Default: `true`\n- **`maxDepth`** (`number`): Allows you to control how deep the list nesting can be. Default: `4`\n- **`olRegex`** (`RegExp`): Regular expression for determining whether a numbered list should be started. Default: `/\\d\\./`\n- **`ulChars`** (`string[]`): List of characters with which bullet lists can be started. Default: `[\"-\", \"–\", \"*\"]`\n\n## Development\n\nRequirements: Node.js, Yarn\n\n1. Clone this repository: `git clone REPO_URL`\n2. Install all dependencies: `yarn`\n3. Generate the library bundle: `yarn start`\n4. View the demo on `localhost:3000`\n\nSuggestions and contributions are always welcome! Please discuss larger changes via issue before submitting a pull request.\n","readmeFilename":"README.md"}