Skip to main content
Module

x/otpauth/package.json

One Time Password (HOTP/TOTP) library for Node.js, Deno and browsers.
Go to Latest
File
{ "name": "otpauth", "version": "7.1.3", "description": "One Time Password (HOTP/TOTP) library for Node.js, Deno and browsers", "keywords": [ "otp", "hotp", "totp", "one time password", "2fa", "2 factor", "two factor", "two-factor", "2step", "2 step", "two step", "two-step", "auth", "authenticator", "google authenticator" ], "author": "Héctor Molinero Fernández <hector@molinero.dev>", "license": "MIT", "homepage": "https://github.com/hectorm/otpauth", "repository": { "type": "git", "url": "https://github.com/hectorm/otpauth.git" }, "bugs": { "url": "https://github.com/hectorm/otpauth/issues" }, "main": "./dist/otpauth.cjs.js", "module": "./dist/otpauth.esm.js", "browser": "./dist/otpauth.umd.js", "types": "./dist/otpauth.d.ts", "files": [ "dist/", "src/", "types/" ], "scripts": { "lint": "eslint ./", "types:clean": "rimraf ./types/", "types:compile": "tsc", "types": "run-s types:clean types:compile", "build:clean": "rimraf ./dist/", "build:compile": "rollup -c", "build": "run-s build:clean build:compile", "docs:clean": "rimraf ./docs/", "docs:compile": "typedoc ./src/index.js --emit true --theme default --out ./docs/", "docs": "run-s docs:clean docs:compile", "test:node:unminified": "mocha --ui bdd --reporter spec ./test/test.js", "test:node:minified": "MINIFIED=true run-s test:node:unminified", "test:node": "run-s test:node:*", "test:deno:unminified": "deno run --allow-read --allow-net --allow-env --location http://127.0.0.1 ./test/test.js", "test:deno:minified": "MINIFIED=true run-s test:deno:unminified", "test:deno": "run-s test:deno:*", "test:browser:chromium:unminified": "BROWSER=chromium node ./test/playwright.js", "test:browser:chromium:minified": "MINIFIED=true run-s test:browser:chromium:unminified", "test:browser:chromium": "run-s test:browser:chromium:*", "test:browser:firefox:unminified": "BROWSER=firefox node ./test/playwright.js", "test:browser:firefox:minified": "MINIFIED=true run-s test:browser:firefox:unminified", "test:browser:firefox": "run-s test:browser:firefox:*", "test:browser:webkit:unminified": "BROWSER=webkit node ./test/playwright.js", "test:browser:webkit:minified": "MINIFIED=true run-s test:browser:webkit:unminified", "test:browser:webkit": "run-s test:browser:webkit:*", "test:browser": "run-s test:browser:*", "test": "run-s test:*", "all": "run-s lint types build docs test", "version": "run-s all && git add -A ./types/ ./dist/ ./docs/" }, "dependencies": { "jssha": "~3.2.0" }, "devDependencies": { "@babel/core": "~7.18.0", "@babel/eslint-parser": "~7.17.0", "@babel/eslint-plugin": "~7.17.7", "@babel/preset-env": "~7.18.0", "@rollup/plugin-babel": "~5.3.1", "@rollup/plugin-node-resolve": "~13.3.0", "@rollup/plugin-replace": "~4.0.0", "chai": "~4.3.6", "eslint": "~8.16.0", "eslint-config-prettier": "~8.5.0", "eslint-plugin-prettier": "~4.0.0", "mocha": "~10.0.0", "npm-run-all": "~4.1.5", "playwright": "~1.22.2", "prettier": "~2.6.2", "rimraf": "~3.0.2", "rollup": "~2.74.1", "rollup-plugin-dts": "~4.2.1", "rollup-plugin-terser": "~7.0.2", "typedoc": "~0.22.15", "typescript": "~4.6.4" }}