@gomomento/sdk

v1.99.0
Client SDK for Momento services

prebuild

eslint . --ext .ts

test

jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1

integration-test-auth

jest auth/ --maxWorkers 1 -- useConsistentReads

integration-test-cache

jest cache/ --maxWorkers 1 -- useConsistentReads

integration-test-control-cache-topics

npm run integration-test-cache && npm run integration-test-topics

integration-test-leaderboard

jest leaderboard/ --maxWorkers 1 -- useConsistentReads

integration-test-storage

jest storage/ --maxWorkers 1 -- useConsistentReads

integration-test-store

npm run integration-test-storage

integration-test-topics

jest topics/ webhooks/ --maxWorkers 1 -- useConsistentReads

integration-test-consistent-reads

jest integration --maxWorkers 1 -- useConsistentReads

integration-test

jest integration --maxWorkers 1

unit-test

jest unit

build-deps

cd ../core && npm run build && cd - && cd ../common-integration-tests && npm run build && cd -

build-and-run-tests

npm run build-deps && jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1

lint

eslint . --ext .ts

format

eslint . --ext .ts --fix

watch

tsc -w

build

rm -rf dist && tsc && mkdir -p dist/src/internal/vendor && cp -r ../client-sdk-nodejs/src/internal/vendor/printf dist/src/internal/vendor/printf

build-without-local-core

rm -rf dist && tsc && mkdir -p dist/src/internal/vendor && cp -r ../client-sdk-nodejs/src/internal/vendor/printf dist/src/internal/vendor/printf
npm i @gomomento/sdk

Metadata

Downloads

Maintainers