package.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. {
  2. "name": "firefox-send",
  3. "description": "File Sharing Experiment",
  4. "version": "2.5.4",
  5. "author": "Mozilla (https://mozilla.org)",
  6. "repository": "mozilla/send",
  7. "homepage": "https://github.com/mozilla/send/",
  8. "license": "MPL-2.0",
  9. "private": true,
  10. "scripts": {
  11. "precommit": "lint-staged",
  12. "prepush": "npm test",
  13. "clean": "rimraf dist",
  14. "build": "npm run clean && webpack",
  15. "lint": "npm-run-all lint:*",
  16. "lint:css": "stylelint app/*.css app/**/*.css",
  17. "lint:js": "eslint .",
  18. "lint-locales": "node scripts/lint-locales",
  19. "lint-locales:dev": "npm run lint-locales",
  20. "lint-locales:prod": "npm run lint-locales -- --production",
  21. "format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
  22. "get-prod-locales": "node scripts/get-prod-locales",
  23. "get-prod-locales:write": "npm run get-prod-locales -- --write",
  24. "contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
  25. "release": "npm-run-all contributors changelog",
  26. "test": "npm-run-all test:*",
  27. "test:backend": "nyc mocha --reporter=min test/backend",
  28. "test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js && nyc report --reporter=html",
  29. "test-integration": "docker-compose up --abort-on-container-exit --exit-code-from integration-tests --build --remove-orphans --quiet-pull && docker-compose down",
  30. "test-integration-stage": "cross-env BASE_URL=https://send.stage.mozaws.net npm run test-integration",
  31. "start": "npm run clean && cross-env NODE_ENV=development BASE_URL=http://localhost:8080 webpack-dev-server --mode=development",
  32. "prod": "node server/bin/prod.js"
  33. },
  34. "lint-staged": {
  35. "*.js": [
  36. "prettier --single-quote --write",
  37. "eslint",
  38. "git add"
  39. ],
  40. "*.css": [
  41. "prettier --single-quote --write",
  42. "stylelint",
  43. "git add"
  44. ]
  45. },
  46. "nyc": {
  47. "reporter": [
  48. "text"
  49. ],
  50. "cache": true
  51. },
  52. "engines": {
  53. "node": ">=10.0.0"
  54. },
  55. "devDependencies": {
  56. "@babel/core": "^7.0.0",
  57. "@babel/plugin-proposal-class-properties": "^7.0.0",
  58. "@babel/polyfill": "^7.0.0",
  59. "@babel/preset-env": "^7.0.0",
  60. "@dannycoates/webpack-dev-server": "^3.1.4",
  61. "@mattiasbuelens/web-streams-polyfill": "0.1.0",
  62. "asmcrypto.js": "^2.3.2",
  63. "babel-loader": "^8.0.2",
  64. "babel-plugin-istanbul": "^4.1.6",
  65. "babel-plugin-yo-yoify": "^2.0.0",
  66. "base64-js": "^1.3.0",
  67. "content-disposition": "^0.5.2",
  68. "copy-webpack-plugin": "^4.5.2",
  69. "crc": "^3.8.0",
  70. "cross-env": "^5.2.0",
  71. "css-loader": "^1.0.0",
  72. "css-mqpacker": "^7.0.0",
  73. "eslint": "^5.5.0",
  74. "eslint-plugin-mocha": "^5.2.0",
  75. "eslint-plugin-node": "^7.0.1",
  76. "eslint-plugin-security": "^1.4.0",
  77. "expose-loader": "^0.7.5",
  78. "extract-loader": "^2.0.1",
  79. "extract-text-webpack-plugin": "^4.0.0-beta.0",
  80. "fast-text-encoding": "^1.0.0",
  81. "file-loader": "^1.1.11",
  82. "fluent-intl-polyfill": "^0.1.0",
  83. "git-rev-sync": "^1.12.0",
  84. "html-loader": "^0.5.5",
  85. "http_ece": "^1.0.5",
  86. "husky": "^0.14.3",
  87. "lint-staged": "^7.2.2",
  88. "mocha": "^5.2.0",
  89. "morgan": "^1.9.0",
  90. "nanobus": "^4.3.2",
  91. "nanotiming": "^7.3.1",
  92. "node-jose": "^1.0.0",
  93. "npm-run-all": "^4.1.3",
  94. "nyc": "^12.0.2",
  95. "postcss-cssnext": "^3.1.0",
  96. "postcss-import": "^11.1.0",
  97. "postcss-loader": "^2.1.5",
  98. "prettier": "^1.14.2",
  99. "proxyquire": "^2.1.0",
  100. "puppeteer": "^1.7.0",
  101. "raven-js": "^3.27.0",
  102. "redis-mock": "^0.29.0",
  103. "require-from-string": "^2.0.2",
  104. "rimraf": "^2.6.2",
  105. "sinon": "^6.1.5",
  106. "string-hash": "^1.1.3",
  107. "stylelint": "^9.5.0",
  108. "stylelint-config-standard": "^18.2.0",
  109. "stylelint-no-unsupported-browser-features": "^3.0.1",
  110. "svgo": "^1.0.5",
  111. "svgo-loader": "^2.1.0",
  112. "testpilot-ga": "^0.3.0",
  113. "val-loader": "^1.1.1",
  114. "webpack": "^4.17.2",
  115. "webpack-cli": "^3.1.0",
  116. "webpack-dev-middleware": "^3.2.0",
  117. "webpack-manifest-plugin": "^2.0.3",
  118. "webpack-unassert-loader": "^1.2.0"
  119. },
  120. "dependencies": {
  121. "aws-sdk": "^2.307.0",
  122. "babel-polyfill": "^6.26.0",
  123. "choo": "^6.12.1",
  124. "cldr-core": "^33.0.0",
  125. "convict": "^4.3.2",
  126. "express": "^4.16.3",
  127. "express-ws": "^4.0.0",
  128. "fluent": "^0.8.0",
  129. "fluent-langneg": "^0.1.0",
  130. "helmet": "^3.13.0",
  131. "mkdirp": "^0.5.1",
  132. "mozlog": "^2.2.0",
  133. "node-fetch": "^2.2.0",
  134. "raven": "^2.6.4",
  135. "redis": "^2.8.0",
  136. "websocket-stream": "^5.1.2"
  137. },
  138. "availableLanguages": [
  139. "en-US",
  140. "ar",
  141. "ast",
  142. "az",
  143. "bs",
  144. "ca",
  145. "cak",
  146. "cs",
  147. "cy",
  148. "da",
  149. "de",
  150. "dsb",
  151. "el",
  152. "es-AR",
  153. "es-CL",
  154. "es-ES",
  155. "es-MX",
  156. "et",
  157. "fa",
  158. "fr",
  159. "fy-NL",
  160. "hsb",
  161. "hu",
  162. "ia",
  163. "id",
  164. "it",
  165. "ja",
  166. "ka",
  167. "kab",
  168. "ko",
  169. "ms",
  170. "nb-NO",
  171. "nl",
  172. "nn-NO",
  173. "pt-BR",
  174. "pt-PT",
  175. "ro",
  176. "ru",
  177. "sk",
  178. "sl",
  179. "sq",
  180. "sr",
  181. "sv-SE",
  182. "te",
  183. "tl",
  184. "tr",
  185. "uk",
  186. "vi",
  187. "zh-CN",
  188. "zh-TW"
  189. ]
  190. }