25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

82 lines
2.1 KiB

  1. {
  2. "name": "quill-delta",
  3. "version": "4.2.2",
  4. "description": "Format for representing rich text documents and changes.",
  5. "author": "Jason Chen <jhchen7@gmail.com>",
  6. "homepage": "https://github.com/quilljs/delta",
  7. "main": "dist/Delta.js",
  8. "dependencies": {
  9. "fast-diff": "1.2.0",
  10. "lodash.clonedeep": "^4.5.0",
  11. "lodash.isequal": "^4.5.0"
  12. },
  13. "devDependencies": {
  14. "@types/lodash.clonedeep": "^4.5.0",
  15. "@types/lodash.isequal": "^4.5.0",
  16. "@typescript-eslint/eslint-plugin": "^2.28.0",
  17. "@typescript-eslint/parser": "^2.28.0",
  18. "coveralls": "^3.0.11",
  19. "eslint": "^6.8.0",
  20. "eslint-config-prettier": "^6.10.1",
  21. "eslint-plugin-prettier": "^3.1.2",
  22. "istanbul": "~0.4.5",
  23. "jasmine": "^3.5.0",
  24. "prettier": "^2.0.4",
  25. "typescript": "^3.8.3"
  26. },
  27. "files": [
  28. "tsconfig.json",
  29. "dist",
  30. "src"
  31. ],
  32. "license": "MIT",
  33. "scripts": {
  34. "build": "tsc",
  35. "prepare": "npm run build",
  36. "lint": "eslint 'src/**/*.ts'",
  37. "test": "npm run build; jasmine test/*.js test/**/*.js",
  38. "test:coverage": "istanbul cover jasmine test/*.js test/**/*.js",
  39. "test:coverage:report": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
  40. },
  41. "eslintConfig": {
  42. "parser": "@typescript-eslint/parser",
  43. "extends": [
  44. "plugin:@typescript-eslint/recommended",
  45. "prettier/@typescript-eslint",
  46. "plugin:prettier/recommended"
  47. ],
  48. "parserOptions": {
  49. "ecmaVersion": 6,
  50. "sourceType": "module"
  51. },
  52. "rules": {
  53. "@typescript-eslint/ban-ts-ignore": "off",
  54. "@typescript-eslint/no-explicit-any": "off",
  55. "@typescript-eslint/no-namespace": "off",
  56. "@typescript-eslint/no-unused-vars": [
  57. "error",
  58. {
  59. "argsIgnorePattern": "^_"
  60. }
  61. ]
  62. }
  63. },
  64. "prettier": {
  65. "singleQuote": true,
  66. "trailingComma": "all"
  67. },
  68. "repository": {
  69. "type": "git",
  70. "url": "https://github.com/quilljs/delta"
  71. },
  72. "bugs": {
  73. "url": "https://github.com/quilljs/delta/issues"
  74. },
  75. "keywords": [
  76. "rich text",
  77. "ot",
  78. "operational transform",
  79. "delta"
  80. ]
  81. }