1.99.1 • Published 3 years ago
@jitsu/js-sdk v1.99.1
Jitsu JavaScript SDK (jitsu.js)
Jitsu.js is a JavaScript SDK for Jitsu. Please, see main Jitsu JavaScript integration docs on the website.
Questions?
Join Jitsu Slack
Development
ATTENTION: Use yarn
for everything except publishing
Building and local debug
- To spin off a local development server run
yarn devserver
, then open http://localhost:8081- The server listens to all changes to src and rebuilds npm and
lib.js
automatically. Open test cases HTML files to see jitsu in action- http://localhost:8081/test-case/embed.html - embedded Jitsu
- http://localhost:8081/test-case/embed-no-init.html - Jitsu without automatic initialization
- http://localhost:8081/test-case/segment-intercept.html - test segment interception
- The server listens to all changes to src and rebuilds npm and
yarn test
runs Playwright testyarn build
builds both npm package andlib.js
browser bundlenpm publish --public
to publish the package (change version inpackage.json
manually). You need to runnpm login
with your personal npmjs account beforehand (make sure you have access to Jitsu team)
Publishing new version
Make