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.0.2", "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:browser:unminified": "karma start", "test:browser:minified": "IS_MINIFIED=true karma start", "test:browser": "run-s test:browser:*", "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 ./test/test.js", "test:deno:minified": "IS_MINIFIED=true deno run --allow-read --allow-net --allow-env ./test/test.js", "test:deno": "run-s test:deno:*", "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.10.2", "@babel/preset-env": "~7.10.2", "@rollup/plugin-alias": "~3.1.1", "@rollup/plugin-babel": "~5.0.3", "@rollup/plugin-node-resolve": "~8.0.1", "@rollup/plugin-replace": "~2.3.3", "chai": "~4.2.0", "documentation": "~13.0.1", "eslint-config-airbnb-base": "~14.1.0", "eslint-config-hectorm": "~1.0.6", "eslint-plugin-import": "~2.21.1", "eslint": "~6.8.0", "karma-chrome-launcher": "~3.1.0", "karma-firefox-launcher": "~1.3.0", "karma-mocha": "~2.0.1", "karma": "~5.0.9", "mocha": "~7.2.0", "npm-run-all": "~4.1.5", "playwright-chromium": "~1.0.2", "playwright-firefox": "~1.0.2", "rollup-plugin-terser": "~6.1.0", "rollup": "~2.15.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" ]}