Files
rudder-js-sdk/package.json
T

52 lines
1.4 KiB
JSON
Raw Normal View History

2026-08-12 14:02:25 +03:00
{
"name": "@rudder/js-sdk",
2026-09-04 15:36:37 +03:00
"version": "1.0.0",
2026-08-12 14:02:25 +03:00
"publishConfig": {
"registry": "https://hub.rudder.build/api/packages/rudder/npm/"
},
"description": "LiveOps Web SDK for browser games — player authentication, leaderboards, stores, remote config, and typed runtime effects",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://hub.rudder.build/rudder/rudder-js-sdk"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "vitest run test/e2e",
"test:e2e-prod": "vitest run --config vitest.e2e-prod.config.ts",
"e2e:prod": "vitest run --config vitest.e2e-prod.config.ts",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
"check:package": "npm run build && npm pack --dry-run --json",
"generate": "make -C ../liveops-gateway generate-openapi"
},
"devDependencies": {
"@types/node": "^26.1.1",
"jsdom": "^29.1.1",
"tsup": "^8.3.5",
"typescript": "^5.7.0",
"vitest": "^2.1.0"
}
}