1 | {
|
2 | "name": "@snowplow/javascript-tracker",
|
3 | "version": "3.15.0",
|
4 | "description": "Web analytics for Snowplow",
|
5 | "keywords": [
|
6 | "tracking",
|
7 | "web analytics",
|
8 | "events",
|
9 | "open source"
|
10 | ],
|
11 | "homepage": "http://bit.ly/sp-js",
|
12 | "bugs": "https://github.com/snowplow/snowplow-javascript-tracker/issues",
|
13 | "repository": {
|
14 | "type": "git",
|
15 | "url": "https://github.com/snowplow/snowplow-javascript-tracker.git"
|
16 | },
|
17 | "license": "BSD-3-Clause",
|
18 | "contributors": [
|
19 | "Alex Dean",
|
20 | "Simon Andersson",
|
21 | "Anthon Pang",
|
22 | "Fred Blundun",
|
23 | "Joshua Beemster",
|
24 | "Michael Hadam",
|
25 | "Paul Boocock"
|
26 | ],
|
27 | "browser": "dist/sp.js",
|
28 | "files": [
|
29 | "dist"
|
30 | ],
|
31 | "dependencies": {
|
32 | "@snowplow/browser-plugin-ad-tracking": "3.15.0",
|
33 | "@snowplow/browser-plugin-browser-features": "3.15.0",
|
34 | "@snowplow/browser-plugin-client-hints": "3.15.0",
|
35 | "@snowplow/browser-plugin-consent": "3.15.0",
|
36 | "@snowplow/browser-plugin-ecommerce": "3.15.0",
|
37 | "@snowplow/browser-plugin-enhanced-ecommerce": "3.15.0",
|
38 | "@snowplow/browser-plugin-error-tracking": "3.15.0",
|
39 | "@snowplow/browser-plugin-form-tracking": "3.15.0",
|
40 | "@snowplow/browser-plugin-ga-cookies": "3.15.0",
|
41 | "@snowplow/browser-plugin-geolocation": "3.15.0",
|
42 | "@snowplow/browser-plugin-link-click-tracking": "3.15.0",
|
43 | "@snowplow/browser-plugin-media-tracking": "3.15.0",
|
44 | "@snowplow/browser-plugin-optimizely": "3.15.0",
|
45 | "@snowplow/browser-plugin-optimizely-x": "3.15.0",
|
46 | "@snowplow/browser-plugin-performance-timing": "3.15.0",
|
47 | "@snowplow/browser-plugin-site-tracking": "3.15.0",
|
48 | "@snowplow/browser-plugin-snowplow-ecommerce": "3.15.0",
|
49 | "@snowplow/browser-plugin-timezone": "3.15.0",
|
50 | "@snowplow/browser-plugin-youtube-tracking": "3.15.0",
|
51 | "@snowplow/browser-plugin-media": "3.15.0",
|
52 | "@snowplow/browser-plugin-vimeo-tracking": "3.15.0",
|
53 | "@snowplow/browser-tracker": "3.15.0",
|
54 | "@snowplow/browser-tracker-core": "3.15.0",
|
55 | "@snowplow/tracker-core": "3.15.0",
|
56 | "tslib": "^2.3.1",
|
57 | "@snowplow/browser-plugin-enhanced-consent": "3.15.0",
|
58 | "@snowplow/browser-plugin-privacy-sandbox": "3.15.0"
|
59 | },
|
60 | "devDependencies": {
|
61 | "@ampproject/rollup-plugin-closure-compiler": "~0.27.0",
|
62 | "@rollup/plugin-alias": "~3.1.9",
|
63 | "@rollup/plugin-commonjs": "~21.0.2",
|
64 | "@rollup/plugin-json": "~4.1.0",
|
65 | "@rollup/plugin-node-resolve": "~13.1.3",
|
66 | "@rollup/plugin-replace": "~4.0.0",
|
67 | "@types/dockerode": "~3.3.5",
|
68 | "@types/jest": "~27.4.1",
|
69 | "@types/jsdom": "~16.2.14",
|
70 | "@types/lodash": "~4.14.180",
|
71 | "@types/node": "~14.6.0",
|
72 | "@wdio/cli": "~8.3.3",
|
73 | "@wdio/jasmine-framework": "~8.3.3",
|
74 | "@wdio/local-runner": "~8.3.3",
|
75 | "@wdio/sauce-service": "~8.3.3",
|
76 | "@wdio/spec-reporter": "~8.3.0",
|
77 | "@wdio/static-server-service": "~8.3.0",
|
78 | "@wdio/types": "~8.3.0",
|
79 | "chalk": "4.1.2",
|
80 | "chromedriver": "~114.0.0",
|
81 | "dockerode": "~3.3.1",
|
82 | "jest": "~27.5.1",
|
83 | "jest-environment-jsdom": "~27.5.1",
|
84 | "jest-environment-jsdom-global": "~3.0.0",
|
85 | "jest-standard-reporter": "~2.0.0",
|
86 | "lodash": "~4.17.21",
|
87 | "npm-run-all": "~4.1.5",
|
88 | "rollup": "~2.70.1",
|
89 | "rollup-plugin-cleanup": "~3.2.1",
|
90 | "rollup-plugin-filesize": "~9.1.2",
|
91 | "rollup-plugin-license": "~2.6.1",
|
92 | "rollup-plugin-sizes": "~1.0.4",
|
93 | "rollup-plugin-terser": "~7.0.2",
|
94 | "rollup-plugin-ts": "~2.0.5",
|
95 | "saucelabs": "~7.2.0",
|
96 | "ts-jest": "~27.1.3",
|
97 | "ts-node": "~10.9.1",
|
98 | "typescript": "~4.6.2",
|
99 | "wdio-chromedriver-service": "~8.0.1",
|
100 | "webdriverio": "~8.3.3",
|
101 | "@wdio/shared-store-service": "~8.11.2",
|
102 | "node-fetch": "2",
|
103 | "@types/node-fetch": "2",
|
104 | "@wdio/globals": "~8.11.2",
|
105 | "wdio-safaridriver-service": "~2.1.0",
|
106 | "wdio-edgedriver-service": "~3.0.2",
|
107 | "@types/youtube": "~0.0.46"
|
108 | },
|
109 | "scripts": {
|
110 | "build": "rollup -c --silent --failAfterWarnings",
|
111 | "docker:micro": "docker pull snowplow/snowplow-micro:latest",
|
112 | "test": "jest test/unit/*.test.ts --no-cache",
|
113 | "test:build": "rollup --config rollup.config.test.js --silent",
|
114 | "test:e2e:local": "npm-run-all --parallel test:build docker:micro --serial wdio:local",
|
115 | "test:e2e:sauce": "npm-run-all --parallel test:build docker:micro --serial wdio:sauce",
|
116 | "wdio:local": "wdio run ./test/wdio.local.conf.ts",
|
117 | "wdio:sauce": "wdio run ./test/wdio.sauce.conf.ts"
|
118 | },
|
119 | "readme": "# Snowplow JavaScript Tracker\n\n[![npm version][npm-image]][npm-url]\n[![License][license-image]](LICENSE)\n\nAdd Snowplow Tracking to your website via a tag solution.\n\n## Maintainer quick start\n\nPart of the Snowplow JavaScript Tracker monorepo. \nBuild with [Node.js](https://nodejs.org/en/) (14 or 16) and [Rush](https://rushjs.io/).\n\n### Setup repository\n\n```bash\nnpm install -g @microsoft/rush \ngit clone https://github.com/snowplow/snowplow-javascript-tracker.git\nrush update\n```\n\n## Select your version\n\nThis repository creates two versions of the tracker. \n\nThe fully featured `sp.js` contains the majority of the plugins included within this repository for a complete tracking experience. This is our recommended version.\n\nHowever, if you'd like a lightweight version of the tracker you can opt for `sp.lite.js`. \nThis version only includes Page Views, Page Activity, Structured and Self Describing events as well as global contexts and anonymous tracking.\n\n## Installation\n\nAdd the tag to your website or Tag Management solution:\n\n```html\n<script type=\"text/javascript\" async=1>\n;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[]; p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments) };p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1; n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,\"script\",\"{{URL to sp.js}}\",\"snowplow\"));\n</script>\n\n<script>\nwindow.snowplow('newTracker', 'sp', collector_endpoint, {\n appId: 'my-app',\n eventMethod: 'post',\n contexts: {\n performanceTiming: true,\n },\n});\n</script>\n```\n\nWe advise you host `sp.js` or `sp.lite.js` yourself, and rename it. However if you'd like use a CDN, you'll find the tracker on jsDelivr, unpkg and cdnjs.\n\n## Usage\n\n```js\nwindow.snowplow('enableLinkClickTracking');\n\nwindow.snowplow('trackPageView', {\n title: 'My Title',\n context: [\n // Set page title; add page context\n {\n schema: 'iglu:org.schema/WebPage/jsonschema/1-0-0',\n data: {\n keywords: ['tester'],\n },\n },\n ],\n});\n\nwindow.snowplow('trackSelfDescribingEvent', {\n event: {\n schema: 'iglu:com.acme/my_event/jsonschema/1-0-0',\n data: {\n myId: '12345-abc',\n },\n }\n});\n```\n\n## Copyright and license\n\nLicensed and distributed under the [BSD 3-Clause License](LICENSE) ([An OSI Approved License][osi]).\n\nCopyright (c) 2022 Snowplow Analytics Ltd, 2010 Anthon Pang.\n\nAll rights reserved.\n\n[npm-url]: https://www.npmjs.com/package/@snowplow/browser-tracker\n[npm-image]: https://img.shields.io/npm/v/@snowplow/browser-tracker\n[docs]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-tracker/\n[osi]: https://opensource.org/licenses/BSD-3-Clause\n[license-image]: https://img.shields.io/npm/l/@snowplow/javascript-tracker\n"
|
120 | } |
\ | No newline at end of file |