UNPKG

@skyway-sdk/token

Version:

The official Next Generation JavaScript SDK for SkyWay

54 lines (53 loc) 2.07 kB
{ "name": "@skyway-sdk/token", "version": "1.7.0", "description": "The official Next Generation JavaScript SDK for SkyWay", "homepage": "https://skyway.ntt.com/", "repository": { "type": "git", "url": "https://github.com/skyway/js-sdk.git" }, "license": "MIT", "author": "NTT Communications Corp.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "LICENSE" ], "scripts": { "build": "zx bundle.mjs", "compile": "npm run compile:tsc && npm run compile:esbuild", "compile:esbuild": "esbuild src/index.ts --bundle --format=esm --target=es6 --outfile=dist/index.mjs", "compile:tsc": "rm -rf dist && tsc -p tsconfig.build.json", "doc": "npm run doc:html && npm run doc:md", "doc:html": "rm -rf docs/html && typedoc --excludePrivate --disableSources --excludeInternal --tsconfig ./tsconfig.build.json --out docs/html --plugin typedoc-plugin-zod ./src/index.ts ", "doc:md": "rm -rf docs/md && typedoc --excludePrivate --disableSources --excludeInternal --tsconfig ./tsconfig.build.json --out docs/md --plugin typedoc-plugin-markdown ./src/index.ts ", "format": "eslint ./src --fix", "lint": "eslint ./src --fix", "graph": "dependency-cruiser --include-only '^src' --output-type dot src | dot -T svg > docs/dependencygraph.svg", "publish:npm": "npx can-npm-publish --verbose && npm run build && npm publish --access public", "watch": "npm-run-all --parallel watch:tsc watch:esbuild", "watch:esbuild": "esbuild src/index.ts --bundle --watch --format=esm --target=es6 --outfile=dist/index.mjs", "watch:tsc": "tsc -p tsconfig.build.json -w" }, "dependencies": { "@skyway-sdk/common": "^1.4.8", "jsrsasign": "^11.1.0", "jwt-decode": "3.1.2", "uuid": "^9.0.0", "zod": "^3.24.1", "zod-validation-error": "^3.4.0" }, "devDependencies": { "@types/jsrsasign": "^10.5.14", "@types/uuid": "^9.0.1", "vitest": "^2.1.8" }, "keywords": [ "webrtc", "skyway", "conferencing" ] }