otpauth
Version:
One Time Password (HOTP/TOTP) library for Node.js, Deno and browsers
96 lines (95 loc) • 3.19 kB
JSON
{
"name": "otpauth",
"version": "7.0.5",
"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 minimal --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.0",
"@babel/eslint-parser": "~7.15.0",
"@babel/eslint-plugin": "~7.14.5",
"@babel/preset-env": "~7.15.0",
"@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.23.4",
"mocha": "~9.0.3",
"npm-run-all": "~4.1.5",
"playwright": "~1.13.1",
"rimraf": "~3.0.2",
"rollup": "~2.56.1",
"rollup-plugin-dts": "~3.0.2",
"rollup-plugin-terser": "~7.0.2",
"typedoc": "~0.21.5",
"typescript": "~4.3.5"
}
}