Scope Javascript Agent
Javascript agent for Scope
Install
With npm
:
npm install @undefinedlabs/scope-agent
With yarn
:
yarn add @undefinedlabs/scope-agent
Usage
Please refer to the documentation at https://docs.scope.dev/docs/javascript-installation
Development
Before you run the unit and e2e tests you need to build the project:
npm run build
Linter
To run the linter:
npm run lint
Unit tests
To run the unit tests:
npm test
E2E tests
To run the E2E tests:
npm run setup:e2e && npm run test:e2e
Publishing
To publish a new version of scope-javascript-agent
to npm:
npm run npm:publish
You need to set NODE_AUTH_TOKEN
environment variable with the npm auth token.