otpauth
Version:
One Time Password (HOTP/TOTP) library for Node.js and browser
89 lines (88 loc) • 2.3 kB
JSON
{
"name": "otpauth",
"version": "5.0.3",
"description": "One Time Password (HOTP/TOTP) library for Node.js and browser",
"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.js",
"types": "types/index.d.ts",
"files": [
"/dist",
"/src",
"/types"
],
"scripts": {
"lint": "eslint --fix .",
"build": "webpack --display-reasons",
"test:browser:unminified": "karma start",
"test:browser:minified": "IS_MINIFIED=true karma start",
"test:browser": "run-s test:browser:*",
"test:node:unminified": "mocha --reporter dot",
"test:node:minified": "IS_MINIFIED=true mocha --reporter dot",
"test:node": "run-s test:node:*",
"test": "run-s test:*",
"docs": "rimraf 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.6.0",
"@babel/preset-env": "~7.6.0",
"babel-loader": "~8.0.6",
"chai": "~4.2.0",
"documentation": "~12.1.2",
"eslint": "~6.4.0",
"eslint-config-airbnb-base": "~14.0.0",
"eslint-config-hectorm": "~1.0.2",
"eslint-plugin-import": "~2.18.2",
"karma": "~4.3.0",
"karma-chai": "~0.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-firefox-launcher": "~1.2.0",
"karma-mocha": "~1.3.0",
"mocha": "~6.2.0",
"npm-run-all": "~4.1.5",
"rimraf": "~3.0.0",
"sjcl": "1.0.8",
"terser-webpack-plugin": "~2.0.1",
"tmp": "~0.1.0",
"webpack": "~4.40.2",
"webpack-cli": "~3.3.8"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"browserslist": [
"Maintained Node versions",
"Last 2 versions and not dead",
"Firefox ESR"
]
}