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.0.6", "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 --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": "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.15.5", "@babel/eslint-parser": "~7.15.4", "@babel/eslint-plugin": "~7.14.5", "@babel/preset-env": "~7.15.6", "@rollup/plugin-babel": "~5.3.0", "@rollup/plugin-node-resolve": "~13.0.4", "@rollup/plugin-replace": "~3.0.0", "chai": "~4.3.4", "eslint": "~7.32.0", "eslint-config-airbnb-base": "~14.2.1", "eslint-config-hectorm": "~2.0.1", "eslint-plugin-import": "~2.24.2", "mocha": "~9.1.1", "npm-run-all": "~4.1.5", "playwright": "~1.14.1", "rimraf": "~3.0.2", "rollup": "~2.56.3", "rollup-plugin-dts": "~4.0.0", "rollup-plugin-terser": "~7.0.2", "typedoc": "~0.22.3", "typescript": "~4.4.3" }}