UNPKG

time2fa

Version:
91 lines (90 loc) 2.05 kB
{ "name": "time2fa", "type": "module", "version": "1.4.2", "description": "NodeJS OTP implementation", "author": "@MarcAndreG", "license": "MIT", "homepage": "https://github.com/PlanetHoster/time2fa#readme", "repository": { "type": "git", "url": "git+https://github.com/PlanetHoster/time2fa.git" }, "bugs": "https://github.com/PlanetHoster/time2fa/issues", "sideEffects": false, "exports": { ".": { "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }, "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist" ], "scripts": { "build": "unbuild", "dev": "unbuild --stub", "lint": "eslint src", "lint-staged": "lint-staged", "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest run --coverage", "typecheck": "tsc --noEmit" }, "devDependencies": { "@antfu/ni": "^0.23.0", "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "@vitest/coverage-v8": "^2.0.0", "bumpp": "^9.1.0", "eslint": "^9.0.0", "eslint-config-prettier": "^9.0.0", "esno": "^4.0.0", "lint-staged": "^15.0.0", "prettier": "^3.0.0", "rimraf": "^5.0.0", "simple-git-hooks": "^2.8.1", "ts-node": "^10.9.1", "typescript": "^5.0.3", "unbuild": "^2.0.0", "vitest": "^2.0.0" }, "simple-git-hooks": { "pre-commit": "npm run lint-staged" }, "lint-staged": { "src/*": "eslint --fix" }, "keywords": [ "otp", "totp", "hotp", "googleauth", "googleauthenticator", "authy", "2fa", "tfa", "passcode", "password", "onetimepassword" ] }