1.99.1 • Published 5 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.jsautomatically. 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 testruns Playwright testyarn buildbuilds both npm package andlib.jsbrowser bundlenpm publish --publicto publish the package (change version inpackage.jsonmanually). You need to runnpm loginwith your personal npmjs account beforehand (make sure you have access to Jitsu team)
Publishing new version
Make