UNPKG

@humanmark/sdk-js

Version:

Browser-native JavaScript SDK for Humanmark human verification challenges

93 lines 2.42 kB
{ "name": "@humanmark/sdk-js", "version": "1.0.1", "description": "Browser-native JavaScript SDK for Humanmark human verification challenges", "type": "module", "main": "dist/umd/index.js", "browser": "dist/browser/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "files": [ "dist/", "README.md", "LICENSE" ], "scripts": { "build": "vite build", "build:sri": "node scripts/generate-sri.js", "build:check-size": "node scripts/check-bundle-size.js", "build:analyze": "node scripts/analyze-bundle.js", "build:update-readme": "node scripts/update-readme-sri.js", "typecheck": "tsc --noEmit", "lint": "eslint src", "test": "vitest run", "test:browser": "playwright test", "prepublishOnly": "npm run build && npm run build:sri && npm run build:check-size" }, "keywords": [ "humanmark", "verification", "challenge", "browser", "security", "sdk", "human-verification", "bot-prevention" ], "author": "Humanmark SPC", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/humanmark/sdk-js.git" }, "bugs": { "url": "https://github.com/humanmark/sdk-js/issues" }, "homepage": "https://github.com/humanmark/sdk-js#readme", "engines": { "node": ">=22.0.0" }, "browserslist": [ "defaults", "not ie 11", "not op_mini all" ], "dependencies": { "qrcode": "^1.5.3" }, "devDependencies": { "@types/qrcode": "^1.5.5", "typescript": "^5.3.3", "vite": "^7.0.4", "vite-plugin-css-injected-by-js": "^3.5.2", "vite-plugin-dts": "^4.5.4", "terser": "^5.43.1", "eslint": "^9.31.0", "@eslint/js": "9.31.0", "@typescript-eslint/eslint-plugin": "^8.36.0", "@typescript-eslint/parser": "^8.36.0", "eslint-plugin-security": "^3.0.1", "vitest": "^3.2.4", "jsdom": "^26.1.0", "@vitest/coverage-v8": "3.2.4", "glob": "11.0.3", "rollup-plugin-analyzer": "^4.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "exports": { ".": { "types": "./dist/types/index.d.ts", "browser": "./dist/browser/index.js", "import": "./dist/esm/index.js", "require": "./dist/umd/index.js" }, "./package.json": "./package.json" }, "sideEffects": [ "*.css", "dist/browser/index.js" ] }