UNPKG

remix-auth-totp-dev

Version:

A Time-Based One-Time Password (TOTP) Authentication Strategy for Remix-Auth.

68 lines (67 loc) 1.79 kB
{ "name": "remix-auth-totp-dev", "version": "0.0.1", "type": "module", "description": "A Time-Based One-Time Password (TOTP) Authentication Strategy for Remix-Auth.", "author": "Daniel Kanem <devxo@mail.com> (https://twitter.com/DanielKanem)", "repository": "dev-xo/remix-auth-totp", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT", "keywords": [ "remix", "remix-run", "remix-auth", "remix-auth-totp", "authentication", "totp" ], "scripts": { "build": "tsc --project tsconfig.json", "lint": "eslint --ext .ts,.tsx src/", "typecheck": "tsc -b", "format": "prettier --write .", "test": "vitest --reporter verbose", "test:cov": "vitest run --coverage", "validate": "npm run lint && npm run typecheck && npx vitest --watch=false", "prepare": "husky install && npm run build", "prepublishOnly": "npm run validate && npm run build" }, "files": [ "dist", "package.json", "README.md" ], "eslintIgnore": [ "/node_modules", "/dist", "/public/dist" ], "dependencies": { "@epic-web/totp": "^2.0.0", "@mjackson/headers": "^0.8.0", "base32-encode": "^2.0.0", "jose": "^5.8.0" }, "peerDependencies": { "remix-auth": "^4.1.0" }, "devDependencies": { "@types/node": "^20.16.2", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "@vitest/coverage-v8": "1.0.0-beta.3", "eslint": "^8.57.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "prettier": "^2.8.8", "typescript": "^5.5.4", "vite": "^4.5.3", "vite-tsconfig-paths": "^4.3.2", "vitest": "^1.6.0" }, "engines": { "node": ">=20" } }