ably

v2.4.1
Realtime client library for Ably, the realtime messaging service

start:react

npx vite serve

grunt

grunt

test

npm run test:node

test:node

npm run build:node && npm run build:push && mocha

test:node:skip-build

mocha

test:webserver

grunt test:webserver

test:playwright

node test/support/runPlaywrightTests.js

test:react

vitest run

test:package

grunt test:package

concat

grunt concat

build

grunt build:all && npm run build:react

build:node

grunt build:node

build:browser

grunt build:browser

build:react

npm run build:react:mjs && npm run build:react:cjs && cp src/platform/react-hooks/res/package.react.json react/package.json

build:react:mjs

tsc --project src/platform/react-hooks/tsconfig.mjs.json && cp src/platform/react-hooks/res/package.mjs.json react/mjs/package.json

build:react:cjs

tsc --project src/platform/react-hooks/tsconfig.cjs.json && cp src/platform/react-hooks/res/package.cjs.json react/cjs/package.json

build:push

grunt build:push

requirejs

grunt requirejs

lint

eslint .

lint:fix

eslint --fix .

prepare

npm run build

format

prettier --write .

format:check

prettier --check .

sourcemap

source-map-explorer build/ably.min.js

modulereport

tsc --noEmit --esModuleInterop scripts/moduleReport.ts && esr scripts/moduleReport.ts

speccoveragereport

tsc --noEmit --esModuleInterop --target ES2017 --moduleResolution node scripts/specCoverageReport.ts && esr scripts/specCoverageReport.ts

process-private-api-data

tsc --noEmit --esModuleInterop --strictNullChecks scripts/processPrivateApiData/run.ts && esr scripts/processPrivateApiData/run.ts

docs

typedoc
npm i ably

Metadata

Downloads