You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
4.4 KiB

6 months ago
1 year ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. {
  2. "name": "lemmy",
  3. "description": "The official Lemmy UI",
  4. "version": "1.0.0",
  5. "author": "Dessalines",
  6. "license": "AGPL-3.0-or-later",
  7. "scripts": {
  8. "api-test": "jest src/api_tests/api.spec.ts",
  9. "build": "node generate_translations.js && node generate_git_version.js && tsc --noEmit && NODE_ENV=production vite build --base=/static/ --sourcemap",
  10. "lint": "tsc --noEmit && eslint --quiet --report-unused-disable-directives --ext .js,.ts,.tsx src",
  11. "start": "node generate_translations.js && vite --port 4444 --open",
  12. "storybook": "start-storybook -p 9009",
  13. "test": "jest"
  14. },
  15. "keywords": [],
  16. "dependencies": {
  17. "@emotion/styled": "^10.0.27",
  18. "@pika/react": "^16.13.1",
  19. "@pika/react-dom": "^16.13.1",
  20. "@reach/combobox": "^0.10.5",
  21. "@reach/dialog": "^0.11.2",
  22. "@reach/disclosure": "^0.11.2",
  23. "@reach/menu-button": "^0.10.5",
  24. "@reach/portal": "^0.11.2",
  25. "@reach/tabs": "^0.11.2",
  26. "@reach/tooltip": "^0.11.2",
  27. "@reach/utils": "^0.11.2",
  28. "@sentry/react": "^5.22.3",
  29. "@theme-ui/color": "^0.3.1",
  30. "@theme-ui/presets": "^0.3.0",
  31. "autosize": "^4.0.2",
  32. "axios": "^0.21.1",
  33. "body-scroll-lock": "^3.0.3",
  34. "bootswatch": "^4.5.0",
  35. "choices.js": "^9.0.1",
  36. "classcat": "^4.1.0",
  37. "clone": "^2.1.2",
  38. "emoji-mart": "^3.0.0",
  39. "emoji-short-name": "^1.0.0",
  40. "i18next": "^19.6.3",
  41. "immutability-helper": "^3.1.1",
  42. "immutable": "^4.0.0-rc.12",
  43. "js-cookie": "^2.2.1",
  44. "jwt-decode": "^2.2.0",
  45. "line-height": "^0.3.1",
  46. "lodash.isequal": "^4.5.0",
  47. "markdown-it": "^11.0.0",
  48. "markdown-it-container": "^3.0.0",
  49. "markdown-it-emoji": "^1.4.0",
  50. "markdown-it-for-inline": "^0.1.1",
  51. "match-sorter": "^4.2.0",
  52. "moment": "^2.27.0",
  53. "parse-domain": "^3.0.2",
  54. "prettier": "^2.0.5",
  55. "psl": "^1.8.0",
  56. "qs": "^6.9.4",
  57. "react": "^16.13.1",
  58. "react-dom": "^16.13.1",
  59. "react-helmet": "^6.1.0",
  60. "react-i18next": "^11.7.0",
  61. "react-router-dom": "^5.2.0",
  62. "reconnecting-websocket": "^4.4.0",
  63. "register-service-worker": "^1.7.1",
  64. "rxjs": "^6.6.2",
  65. "styled-components": "npm:@esm-bundle/styled-components",
  66. "swr": "^0.3.1",
  67. "terser": "^5.0.0",
  68. "theme-ui": "^0.3.1",
  69. "tippy.js": "^6.2.6",
  70. "toastify-js": "^1.9.0",
  71. "tributejs": "^5.1.3",
  72. "twemoji": "^13.0.1",
  73. "url": "^0.11.0",
  74. "ws": "^7.3.1"
  75. },
  76. "devDependencies": {
  77. "@babel/core": "^7.11.1",
  78. "@storybook/addon-info": "^5.3.20",
  79. "@storybook/addon-viewport": "^6.0.19",
  80. "@storybook/react": "^6.0.19",
  81. "@testing-library/jest-dom": "^5.11.3",
  82. "@testing-library/react": "^10.4.8",
  83. "@testing-library/user-event": "^12.1.1",
  84. "@types/autosize": "^3.0.7",
  85. "@types/jest": "^26.0.10",
  86. "@types/js-cookie": "^2.2.6",
  87. "@types/jwt-decode": "^2.2.1",
  88. "@types/markdown-it": "^10.0.1",
  89. "@types/markdown-it-container": "^2.0.3",
  90. "@types/node": "^14.0.27",
  91. "@types/node-fetch": "^2.5.7",
  92. "@types/qs": "^6.9.4",
  93. "@types/react": "^16.9.44",
  94. "@types/react-dom": "^16.9.8",
  95. "@types/react-router-dom": "^5.1.5",
  96. "@types/styled-components": "^5.1.2",
  97. "@types/testing-library__jest-dom": "^5.9.2",
  98. "@types/theme-ui": "^0.3.6",
  99. "@typescript-eslint/eslint-plugin": "^3.9.0",
  100. "babel-jest": "^26.3.0",
  101. "babel-loader": "^8.1.0",
  102. "babel-preset-react-app": "^9.1.2",
  103. "cssnano": "^4.1.10",
  104. "eslint": "^7.6.0",
  105. "eslint-config-prettier": "^6.11.0",
  106. "eslint-plugin-inferno": "^7.20.1",
  107. "eslint-plugin-jane": "^8.0.5",
  108. "eslint-plugin-prettier": "^3.1.4",
  109. "git-describe": "^4.0.4",
  110. "jest": "^26.4.0",
  111. "jest-environment-jsdom-fourteen": "^1.0.1",
  112. "jest-watch-typeahead": "^0.6.0",
  113. "lint-staged": "^10.2.11",
  114. "node-fetch": "^2.6.1",
  115. "react-app-polyfill": "^1.0.6",
  116. "react-docgen-typescript-loader": "^3.7.2",
  117. "sortpack": "^2.1.6",
  118. "source-map-loader": "^1.0.1",
  119. "ts-jest": "^26.1.4",
  120. "ts-loader": "^8.0.2",
  121. "ts-node": "^8.10.2",
  122. "ts-transform-classcat": "^1.0.0",
  123. "ts-transform-inferno": "^4.0.3",
  124. "typescript": "^3.9.7",
  125. "vite": "^1.0.0-rc.4",
  126. "vite-plugin-react": "^3.0.2"
  127. },
  128. "extends": "@parcel/config-default",
  129. "engines": {
  130. "node": ">=8.9.0"
  131. },
  132. "engineStrict": true,
  133. "lint-staged": {
  134. "*.{ts,tsx,js}": [
  135. "eslint --fix"
  136. ],
  137. "package.json": [
  138. "sortpack"
  139. ]
  140. },
  141. "babel": {
  142. "presets": [
  143. "react-app"
  144. ]
  145. }
  146. }