UNPKG

@softlock/sdk

Version:

Official Softlock SDK for access key validation and management

88 lines (87 loc) 2.03 kB
{ "name": "@softlock/sdk", "version": "0.0.11", "description": "Official Softlock SDK for access key validation and management", "type": "module", "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "default": "./dist/index.js" }, "./client": { "types": "./dist/client.d.ts", "import": "./dist/client.esm.js", "default": "./dist/client.js" }, "./server": { "types": "./dist/server.d.ts", "import": "./dist/server.esm.js", "default": "./dist/server.js" } }, "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build": "rollup -c", "dev": "rollup -c -w", "test": "jest", "type-check": "tsc --noEmit", "prepublishOnly": "npm run build" }, "publishConfig": { "access": "public" }, "keywords": [ "softlock", "access-control", "authentication", "react", "nextjs", "discord" ], "author": "Softlock Team", "license": "MIT", "peerDependencies": { "next": ">=14", "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "dependencies": { "cross-fetch": "^4.0.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@types/react": "^19", "@types/react-dom": "^19", "jest": "^29.7.0", "rollup": "^4.9.1", "rollup-plugin-dts": "^6.1.0", "tslib": "^2.6.2", "typescript": "^5.3.3" }, "repository": { "type": "git", "url": "https://github.com/eXt-Ra/softlock.git", "directory": "packages/softlock-sdk" }, "bugs": { "url": "https://github.com/eXt-Ra/softlock/issues" }, "homepage": "https://github.com/eXt-Ra/softlock#readme" }