Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

package.json 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "excalidraw-room",
  3. "version": "1.0.0",
  4. "description": "Excalidraw collaboration server",
  5. "main": "index.js",
  6. "scripts": {
  7. "build": "tsc",
  8. "fix": "yarn prettier --write",
  9. "lint": "yarn prettier --list-different",
  10. "postinstall": "npm run build",
  11. "prettier": "prettier \"**/*.{ts,md,json,yaml,yml}\"",
  12. "start": "node dist/index.js",
  13. "test": "yarn lint"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git+https://github.com/excalidraw/excalidraw-room.git"
  18. },
  19. "keywords": [],
  20. "author": "",
  21. "license": "MIT",
  22. "bugs": {
  23. "url": "https://github.com/excalidraw/excalidraw-room/issues"
  24. },
  25. "homepage": "https://github.com/excalidraw/excalidraw-room#readme",
  26. "dependencies": {
  27. "@types/socket.io": "^2.1.4",
  28. "eslint": "6.8.0",
  29. "eslint-config-prettier": "6.10.0",
  30. "eslint-plugin-prettier": "3.1.2",
  31. "express": "^4.17.1",
  32. "prettier": "1.19.1",
  33. "socket.io": "^2.3.0"
  34. },
  35. "devDependencies": {
  36. "@types/express": "^4.17.3",
  37. "@types/node": "^13.9.0",
  38. "typescript": "^3.8.3"
  39. },
  40. "eslintConfig": {
  41. "extends": [
  42. "prettier"
  43. ],
  44. "plugins": [
  45. "prettier"
  46. ],
  47. "rules": {
  48. "curly": "warn",
  49. "no-console": [
  50. "warn",
  51. {
  52. "allow": [
  53. "warn",
  54. "error",
  55. "info"
  56. ]
  57. }
  58. ],
  59. "no-else-return": "warn",
  60. "no-useless-return": "warn",
  61. "prefer-const": [
  62. "warn",
  63. {
  64. "destructuring": "all"
  65. }
  66. ],
  67. "prefer-template": "warn",
  68. "prettier/prettier": "warn"
  69. }
  70. }
  71. }