package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {
  2. "name": "quill",
  3. "version": "2.0.0-dev.4",
  4. "description": "Your powerful, rich text editor",
  5. "author": "Jason Chen <jhchen7@gmail.com>",
  6. "homepage": "http://quilljs.com",
  7. "main": "dist/quill.js",
  8. "files": [
  9. "assets",
  10. "blots",
  11. "core",
  12. "formats",
  13. "modules",
  14. "themes",
  15. "ui",
  16. "dist/quill.bubble.css",
  17. "dist/quill.snow.css",
  18. "dist/quill.core.css",
  19. "dist/quill.js",
  20. "dist/quill.core.js",
  21. "dist/quill.min.js.map",
  22. "dist/quill.min.js",
  23. "core.js",
  24. "quill.js"
  25. ],
  26. "config": {
  27. "ports": {
  28. "proxy": "9000",
  29. "jekyll": "4000",
  30. "karma": "9876",
  31. "webpack": "9080"
  32. }
  33. },
  34. "dependencies": {
  35. "eventemitter3": "^4.0.0",
  36. "lodash.clonedeep": "^4.5.0",
  37. "lodash.isequal": "^4.5.0",
  38. "lodash.merge": "^4.5.0",
  39. "parchment": "2.0.0-dev.2",
  40. "quill-delta": "4.2.2"
  41. },
  42. "devDependencies": {
  43. "@babel/core": "^7.9.0",
  44. "@babel/preset-env": "^7.9.5",
  45. "babel-loader": "^8.1.0",
  46. "babel-plugin-istanbul": "^6.0.0",
  47. "css-loader": "^3.5.1",
  48. "eslint": "^6.8.0",
  49. "eslint-config-airbnb": "^18.1.0",
  50. "eslint-config-prettier": "^6.10.1",
  51. "eslint-import-resolver-webpack": "~0.12.1",
  52. "eslint-plugin-import": "^2.20.2",
  53. "eslint-plugin-jsx-a11y": "^6.2.3",
  54. "eslint-plugin-prettier": "^3.1.2",
  55. "eslint-plugin-react": "^7.19.0",
  56. "eslint-plugin-react-hooks": "^3.0.0",
  57. "highlight.js": "^9.18.1",
  58. "html-loader": "~1.1.0",
  59. "http-proxy": "^1.18.0",
  60. "jasmine": "^3.5.0",
  61. "jasmine-core": "^3.5.0",
  62. "karma": "^5.0.1",
  63. "karma-chrome-launcher": "^3.1.0",
  64. "karma-coverage": "^2.0.1",
  65. "karma-jasmine": "^3.1.1",
  66. "karma-sauce-launcher": "^4.1.2",
  67. "lodash": "^4.17.15",
  68. "mini-css-extract-plugin": "~0.9.0",
  69. "prettier": "^1.17.0",
  70. "puppeteer": "^2.1.1",
  71. "style-loader": "~1.1.3",
  72. "stylus": "~0.54.7",
  73. "stylus-loader": "^3.0.2",
  74. "ts-loader": "^6.2.2",
  75. "typescript": "^3.8.3",
  76. "webpack": "^4.42.1",
  77. "webpack-cli": "^3.3.11",
  78. "webpack-dev-server": "^3.10.3"
  79. },
  80. "license": "BSD-3-Clause",
  81. "repository": {
  82. "type": "git",
  83. "url": "https://github.com/quilljs/quill"
  84. },
  85. "bugs": {
  86. "url": "https://github.com/quilljs/quill/issues"
  87. },
  88. "eslintConfig": {
  89. "extends": [
  90. "airbnb",
  91. "prettier"
  92. ],
  93. "env": {
  94. "browser": true,
  95. "commonjs": true,
  96. "es6": true
  97. },
  98. "plugins": [
  99. "prettier"
  100. ],
  101. "settings": {
  102. "import/resolver": {
  103. "webpack": {
  104. "config": "_develop/webpack.config.js"
  105. }
  106. }
  107. },
  108. "rules": {
  109. "arrow-body-style": [
  110. "off"
  111. ],
  112. "class-methods-use-this": [
  113. "off"
  114. ],
  115. "import/no-extraneous-dependencies": [
  116. "error",
  117. {
  118. "devDependencies": [
  119. "_develop/*.js",
  120. "test/**/*.js"
  121. ]
  122. }
  123. ],
  124. "no-param-reassign": [
  125. "off"
  126. ],
  127. "no-use-before-define": [
  128. "error",
  129. {
  130. "functions": false
  131. }
  132. ],
  133. "import/named": [
  134. "error"
  135. ],
  136. "max-classes-per-file": [
  137. "off"
  138. ],
  139. "prettier/prettier": "error"
  140. }
  141. },
  142. "eslintIgnore": [
  143. "dist/",
  144. "docs/",
  145. "node_modules/"
  146. ],
  147. "prettier": {
  148. "singleQuote": true,
  149. "trailingComma": "all"
  150. },
  151. "scripts": {
  152. "build": "npm run lint && npm run build:webpack",
  153. "build:webpack": "webpack --config _develop/webpack.config.js; rm dist/quill.core dist/quill.bubble dist/quill.snow",
  154. "build:release": "./_develop/scripts/release.sh",
  155. "develop": "npm run start",
  156. "lint": "eslint blots core formats modules themes ui test",
  157. "start": "npm run build:webpack; bundle exec foreman start -f _develop/procfile",
  158. "test": "npm run test:unit",
  159. "test:all": "npm run test:unit; npm run test:functional",
  160. "test:functional": "./_develop/scripts/puppeteer.sh",
  161. "test:unit": "npm run build; karma start _develop/karma.config.js",
  162. "test:coverage": "webpack --env.coverage --config _develop/webpack.config.js; karma start _develop/karma.config.js --reporters coverage",
  163. "travis": "npm run lint && karma start _develop/karma.config.js --reporters dots,saucelabs"
  164. },
  165. "keywords": [
  166. "editor",
  167. "rich text",
  168. "wysiwyg"
  169. ]
  170. }