hockeystack

1.3.204 • Public • Published

hockeystack-js

You should make your changes in the develop branch. We don't actually use the master branch here.

The main tracking script is in hockeystack.js. This script can call other integration specific scripts within it.

CDN and Hosting

The script is generated through an NPM package and is hosted through the JSDelivr CDN like this: https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack.min.js

Deploying to CDN

When you've made a change and want to deploy it to the CDN, follow these steps:

  1. git push your changes to develop branch
  2. npm version patch to save your changes to the NPM package. This will output the new version of the script in your terminal (Make sure you have authenticated)
  3. npm publish to publish them to NPM
  4. git push again because NPM creates one extra commit
  5. Purge the script in CDN to get the latest version.
  6. Hard reload the jsdelivr link and make sure you see the new version.

NPM Authentication

We have an NPM account that you might need to publish the change. Ask Arda for the username and password.

Readme

Keywords

none

Package Sidebar

Install

npm i hockeystack

Weekly Downloads

154

Version

1.3.204

License

MIT

Unpacked Size

776 kB

Total Files

173

Last publish

Collaborators

  • bgrgndzz
  • ardaa627