UNPKG

@safepassage/sdk

Version:

SafePassage SDK - Lightweight redirect-based age verification

73 lines (72 loc) 2.29 kB
{ "name": "@safepassage/sdk", "version": "3.0.3", "description": "SafePassage SDK - Lightweight redirect-based age verification", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc && node build-sdk.js", "dev": "tsc --watch", "demo": "python3 -m http.server 8080", "serve-demo": "npx serve . -p 8080", "test": "jest --config test/jest.config.js", "test:browser": "jest --config test/jest.config.js test/browser-compat", "test:mobile": "jest --config test/jest.config.js test/mobile", "test:performance": "jest --config test/jest.config.js test/performance", "test:security": "jest --config test/jest.config.js test/security", "test:accessibility": "jest --config test/jest.config.js test/accessibility", "test:edge": "jest --config test/jest.config.js test/edge-cases", "test:integration": "jest --config test/jest.config.js test/integration", "test:all": "node test/run-tests.js", "test:coverage": "jest --config test/jest.config.js --coverage", "benchmark": "node test/performance/benchmark.js", "prepublishOnly": "npm run build", "version": "npm run build && git add -A dist", "postversion": "git push && git push --tags" }, "keywords": [ "safepassage", "age-verification", "redirect", "sdk", "typescript", "lightweight" ], "author": "SafePassage", "license": "MIT", "devDependencies": { "@babel/core": "^7.27.4", "@babel/preset-env": "^7.27.2", "@types/jest": "^29.5.12", "@types/node": "^24.0.1", "babel-jest": "^30.0.0", "esbuild": "^0.25.5", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "puppeteer": "^21.11.0", "terser": "^5.42.0", "ts-jest": "^29.1.2", "typescript": "~5.8.3" }, "repository": { "type": "git", "url": "https://github.com/safepassage/safepassage-monorepo", "directory": "services/verify-ui/sdk" }, "bugs": { "url": "https://github.com/safepassage/safepassage-monorepo/issues" }, "homepage": "https://safepassageapp.com/docs/sdk", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "engines": { "node": ">=14.0.0" } }