sdk-simple-auth
Version:
Universal JavaScript/TypeScript authentication SDK with multi-backend support, automatic token refresh, and React integration
112 lines (111 loc) • 2.96 kB
JSON
{
"name": "sdk-simple-auth",
"version": "2.1.1",
"description": "Universal JavaScript/TypeScript authentication SDK with multi-backend support, automatic token refresh, and React integration",
"keywords": [
"authentication",
"auth",
"sdk",
"typescript",
"react",
"jwt",
"token-refresh",
"session-management",
"node-express",
"laravel-sanctum",
"multi-backend",
"javascript",
"frontend",
"login",
"oauth"
],
"homepage": "https://github.com/olivio-git/sdk-simple-auth#readme",
"bugs": {
"url": "https://github.com/olivio-git/sdk-simple-auth/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/olivio-git/sdk-simple-auth.git"
},
"license": "MIT",
"author": {
"name": "Olivio Subelza",
"email": "subelzaolivitocabezas@gmail.com",
"url": "https://github.com/olivio-git"
},
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"browser": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"browser": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"docs",
"examples"
],
"scripts": {
"build": "rollup -c",
"build:prod": "rollup -c && npm run build:minify",
"build:minify": "npm run clean && rollup -c",
"dev": "rollup -c -w",
"test": "jest --detectOpenHandles --forceExit",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"prepublishOnly": "npm run build",
"format": "prettier --write src/**/*.ts",
"clean": "rm -rf dist",
"type-check": "tsc --noEmit",
"validate": "npm run type-check && npm run lint && npm run test"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.8",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^8.35.1",
"@typescript-eslint/parser": "^8.35.1",
"eslint": "^9.30.0",
"jest": "^30.0.3",
"jest-environment-jsdom": "^30.0.5",
"prettier": "^3.6.2",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rollup": "^2.79.2",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"dependencies": {
"tslib": "^2.8.1"
}
}