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": "6.2.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", "browser": "dist/otpauth.umd.js", "module": "dist/otpauth.esm.js", "types": "types/index.d.ts", "files": [ "dist/", "src/", "types/" ], "scripts": { "lint": "eslint ./", "build": "rollup -c", "test:node:unminified": "mocha --ui bdd --reporter spec", "test:node:minified": "IS_MINIFIED=true mocha --ui bdd --reporter spec", "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": "IS_MINIFIED=true deno run --allow-read --allow-net --allow-env --location http://127.0.0.1 ./test/test.js", "test:deno": "run-s test:deno:*", "test:browser:unminified": "karma start", "test:browser:minified": "IS_MINIFIED=true karma start", "test:browser": "run-s test:browser:*", "test": "run-s test:*", "docs": "rm -rf ./docs/ && documentation build ./src/** -f html -o ./docs/", "dist": "run-s lint build test docs", "version": "run-s dist && git add -A ./dist/ ./docs/" }, "dependencies": {}, "devDependencies": { "@babel/core": "~7.13.8", "@babel/preset-env": "~7.13.8", "@rollup/plugin-alias": "~3.1.2", "@rollup/plugin-babel": "~5.3.0", "@rollup/plugin-node-resolve": "~11.2.0", "@rollup/plugin-replace": "~2.4.1", "chai": "~4.3.0", "documentation": "~13.1.1", "eslint-config-airbnb-base": "~14.2.1", "eslint-config-hectorm": "~1.0.9", "eslint-plugin-import": "~2.22.1", "eslint": "~7.20.0", "karma-chrome-launcher": "~3.1.0", "karma-firefox-launcher": "~2.1.0", "karma-mocha": "~2.0.1", "karma": "~6.1.1", "mocha": "~8.3.0", "npm-run-all": "~4.1.5", "playwright-chromium": "~1.9.1", "playwright-firefox": "~1.9.1", "rollup-plugin-terser": "~7.0.2", "rollup": "~2.40.0", "sjcl": "1.0.8", "tmp": "~0.2.1" }, "babel": { "presets": [ "@babel/preset-env" ] }, "browserslist": [ "Maintained Node versions", "Last 2 versions and not dead", "Firefox ESR" ]}