Bug 1460851 - Package the hybrid content telemetry lib in npm. r?chutten,janerik,wlach draft
authorAlessio Placitelli <alessio.placitelli@gmail.com>
Mon, 28 May 2018 17:31:25 +0200
changeset 801339 c5d5b08faa8fa54b18fb597f5ab83230351441cd
parent 800491 a466172aed4bc2afc21169b749b8068a4b98c93f
child 801340 c5ce841d2d3b20c3de2ceec813bd8be56c665376
push id111645
push userbmo:alessio.placitelli@gmail.com
push dateWed, 30 May 2018 08:43:31 +0000
reviewerschutten, janerik, wlach
bugs1460851
milestone62.0a1
Bug 1460851 - Package the hybrid content telemetry lib in npm. r?chutten,janerik,wlach This changeset adds a package.json, .npmignore and a readme file. They are used by the 'npm' command to publish the hybrid content telemetry library to the NPM directory. MozReview-Commit-ID: KwGEhOmbfbW
toolkit/components/telemetry/hybrid-content/.npmignore
toolkit/components/telemetry/hybrid-content/package.json
toolkit/components/telemetry/hybrid-content/readme.md
new file mode 100644
--- /dev/null
+++ b/toolkit/components/telemetry/hybrid-content/.npmignore
@@ -0,0 +1,5 @@
+.npmignore
+moz.build
+content-HybridContentTelemetry.js
+jar.mn
+HybridContentTelemetry.jsm
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/toolkit/components/telemetry/hybrid-content/package.json
@@ -0,0 +1,14 @@
+{
+  "name": "mozilla-hybrid-content-telemetry",
+  "version": "1.0.0",
+  "description": "The content library for Mozilla's Hybrid Content Telemetry.",
+  "main": "HybridContentTelemetry-lib.js",
+  "author": "Alessio Placitelli <aplacitelli@mozilla.com>",
+  "contributors": [
+    "Chris Hutten-Czapski <chutten@mozilla.com>",
+    "Georg Fritzsche <gfritzsche@mozilla.com>",
+    "Jan-Erik Rediger <jrediger@mozilla.com>"
+  ],
+  "license": "MPL-2.0",
+  "homepage": "https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/hybrid-content.html"
+}
new file mode 100644
--- /dev/null
+++ b/toolkit/components/telemetry/hybrid-content/readme.md
@@ -0,0 +1,7 @@
+# Hybrid Content Telemetry
+This package exports the content library for Mozilla's Hybrid Content Telemetry. Hybrid content telemetry allows authorized Mozilla pages to check whether Firefox data collection is enabled and to submit Telemetry data.
+
+For additional information, see the [official documentation](https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/hybrid-content.html).
+
+# License
+Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.