package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. {
  2. "name": "activity-streams",
  3. "description": "A rich visual history feed and a reimagined home page make it easier than ever to find exactly what you're looking for in Firefox.\n\nLearn more about this Test Pilot experiment at https://testpilot.firefox.com/.",
  4. "version": "1.14.3",
  5. "author": "Mozilla (https://mozilla.org/)",
  6. "bugs": {
  7. "url": "https://github.com/mozilla/activity-stream/issues"
  8. },
  9. "dependencies": {
  10. "fluent": "0.12.0",
  11. "fluent-react": "0.8.4",
  12. "react": "16.8.6",
  13. "react-dom": "16.8.6",
  14. "react-intl": "2.9.0",
  15. "react-redux": "7.0.3",
  16. "redux": "4.0.1",
  17. "reselect": "4.0.0"
  18. },
  19. "devDependencies": {
  20. "@babel/core": "7.4.5",
  21. "@babel/plugin-proposal-async-generator-functions": "7.2.0",
  22. "@babel/preset-react": "7.0.0",
  23. "acorn": "6.1.1",
  24. "babel-eslint": "10.0.1",
  25. "babel-loader": "8.0.6",
  26. "babel-plugin-jsm-to-commonjs": "0.5.0",
  27. "babel-plugin-jsm-to-esmodules": "0.6.0",
  28. "chai": "4.2.0",
  29. "chai-json-schema": "1.5.1",
  30. "cpx": "1.5.0",
  31. "enzyme": "3.9.0",
  32. "enzyme-adapter-react-16": "1.13.2",
  33. "eslint": "5.16.0",
  34. "eslint-plugin-fetch-options": "0.0.5",
  35. "eslint-plugin-import": "2.17.3",
  36. "eslint-plugin-jsx-a11y": "6.2.1",
  37. "eslint-plugin-mozilla": "1.2.1",
  38. "eslint-plugin-no-unsanitized": "3.0.2",
  39. "eslint-plugin-react": "7.13.0",
  40. "eslint-plugin-react-hooks": "1.6.0",
  41. "istanbul-instrumenter-loader": "3.0.1",
  42. "joi-browser": "13.4.0",
  43. "karma": "4.1.0",
  44. "karma-chai": "0.1.0",
  45. "karma-coverage-istanbul-reporter": "2.0.5",
  46. "karma-firefox-launcher": "1.1.0",
  47. "karma-mocha": "1.3.0",
  48. "karma-mocha-reporter": "2.2.5",
  49. "karma-sinon": "1.0.5",
  50. "karma-sourcemap-loader": "0.3.7",
  51. "karma-webpack": "3.0.5",
  52. "loader-utils": "1.2.3",
  53. "minimist": "1.2.0",
  54. "mocha": "6.1.4",
  55. "mock-raf": "1.0.1",
  56. "node-fetch": "2.6.0",
  57. "node-sass": "4.12.0",
  58. "npm-run-all": "4.1.5",
  59. "pontoon-to-json": "2.0.0",
  60. "prop-types": "15.7.2",
  61. "raw-loader": "2.0.0",
  62. "react-test-renderer": "16.8.6",
  63. "rimraf": "2.6.3",
  64. "sass": "1.20.1",
  65. "sass-lint": "1.13.1",
  66. "shelljs": "0.8.3",
  67. "sinon": "7.3.2",
  68. "webpack": "4.32.2",
  69. "webpack-cli": "3.3.2",
  70. "yamscripts": "0.1.0"
  71. },
  72. "engines": {
  73. "firefox": ">=45.0 <=*",
  74. "//": "when changing node versions, also edit .travis.yml and .nvmrc",
  75. "node": "8.*",
  76. "npm": "6.4.1"
  77. },
  78. "homepage": "https://github.com/mozilla/activity-stream",
  79. "keywords": [
  80. "mozilla",
  81. "firefox",
  82. "activity-stream"
  83. ],
  84. "license": "MPL-2.0",
  85. "main": "bootstrap.js",
  86. "repository": "mozilla/activity-stream",
  87. "config": {
  88. "default_locale": "en-US",
  89. "/*": "NB: This directory is *not* 'locales' to avoid mercurial hook for uplifts.",
  90. "**": "It contains the source default locale strings to be exported for localization",
  91. "*/": "and is the path used to update translated strings and to prerender strings.",
  92. "locales_dir": "locales-src",
  93. "mc_dir": "../mozilla-central"
  94. },
  95. "scripts": {
  96. "mochitest": "(cd $npm_package_config_mc_dir && ./mach mochitest browser/components/newtab/test/browser --headless)",
  97. "mochitest-debug": "(cd $npm_package_config_mc_dir && ./mach mochitest --jsdebugger browser/components/newtab/test/browser)",
  98. "bundle": "npm-run-all bundle:*",
  99. "bundle:locales": "pontoon-to-json --src $npm_package_config_locales_dir --dest data",
  100. "bundle:webpack": "webpack --config webpack.system-addon.config.js",
  101. "bundle:css": "node-sass content-src/styles -o css",
  102. "bundle:html": "rimraf prerendered && node ./bin/render-activity-stream-html.js",
  103. "buildmc": "npm-run-all buildmc:*",
  104. "prebuildmc": "rimraf $npm_package_config_mc_dir/browser/components/newtab/",
  105. "buildmc:bundle": "npm run bundle",
  106. "buildmc:copy": "rsync --exclude-from .mcignore -a . $npm_package_config_mc_dir/browser/components/newtab/",
  107. "buildmc:stringsExport": "cp $npm_package_config_locales_dir/$npm_package_config_default_locale/strings.properties $npm_package_config_mc_dir/browser/locales/$npm_package_config_default_locale/chrome/browser/activity-stream/newtab.properties",
  108. "buildmc:copyPingCentre": "cpx \"ping-centre/PingCentre.jsm\" $npm_package_config_mc_dir/browser/modules",
  109. "builduplift": "npm-run-all builduplift:*",
  110. "prebuilduplift": "npm run prebuildmc",
  111. "builduplift:bundle": "npm run bundle",
  112. "builduplift:copy": "npm run buildmc:copy",
  113. "buildlibrary": "npm-run-all buildlibrary:*",
  114. "buildlibrary:webpack": "webpack --config webpack.aboutlibrary.config.js",
  115. "buildlibrary:css": "node-sass --source-map true --source-map-contents content-src/aboutlibrary -o aboutlibrary/content",
  116. "buildlibrary:copy": "cpx \"aboutlibrary/**/{,.}*\" $npm_package_config_mc_dir/browser/components/library",
  117. "startmc": "npm-run-all --parallel startmc:*",
  118. "prestartmc": "npm run buildmc",
  119. "startmc:copy": "cpx \"{{,.}*,!(node_modules)/**/{,.}*}\" $npm_package_config_mc_dir/browser/components/newtab/ -w",
  120. "startmc:copyPingCentre": "npm run buildmc:copyPingCentre -- -w",
  121. "startmc:webpack": "npm run bundle:webpack -- --env.development -w",
  122. "startmc:css": "npm run bundle:css && npm run bundle:css -- --source-map-embed --source-map-contents -w",
  123. "importmc": "rsync --exclude-from .mcignore -a $npm_package_config_mc_dir/browser/components/newtab/ .",
  124. "testmc": "npm-run-all testmc:*",
  125. "testmc:lint": "npm run lint",
  126. "testmc:build": "npm run bundle:webpack && npm run bundle:locales",
  127. "testmc:unit": "karma start karma.mc.config.js",
  128. "tddmc": "karma start karma.mc.config.js --tdd",
  129. "debugcoverage": "open logs/coverage/index.html",
  130. "lint": "npm-run-all lint:*",
  131. "lint:eslint": "eslint --ext=.js,.jsm,.jsx .",
  132. "lint:sasslint": "sass-lint -v -q",
  133. "strings-import": "node ./bin/strings-import.js",
  134. "test": "npm run testmc",
  135. "tdd": "npm run tddmc",
  136. "vendor": "npm-run-all vendor:*",
  137. "vendor:react": "node ./bin/vendor-react.js",
  138. "help": "yamscripts help",
  139. "yamscripts": "yamscripts compile",
  140. "__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
  141. },
  142. "title": "Activity Stream",
  143. "permissions": {
  144. "multiprocess": true,
  145. "private-browsing": true
  146. }
  147. }