UNPKG

fido2-lib

Version:

A library for performing FIDO 2.0 / WebAuthn functionality

136 lines (135 loc) 3 kB
{ "name": "fido2-lib", "version": "3.5.5", "description": "A library for performing FIDO 2.0 / WebAuthn functionality", "type": "module", "main": "dist/main.cjs", "module": "lib/main.js", "types": "./types/main.d.ts", "scripts": { "lint": "eslint .", "lint:fix": "eslint --fix .", "build": "npm run test && npx rollup -c rollup.config.js && npm run test:dist", "test": "c8 mocha", "test:dist": "npx mocha \"test/dist/**/*.mjs\"", "report": "c8 report --reporter=text-lcov > coverage.lcov", "docs": "jsdoc -c ./.jsdoc-conf.json", "publish-docs": "gh-pages --repo https://$GH_TOKEN@github.com/webauthn-open-source/fido2-lib.git --dist docs" }, "keywords": [ "webauthn", "authentication", "fido", "fido2", "web authentication", "u2f", "server" ], "author": "Adam Powers, JamesCullum, Hexagon & Contributors", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/webauthn-open-source/fido2-lib.git" }, "bugs": { "url": "https://github.com/webauthn-open-source/fido2-lib/issues" }, "devDependencies": { "c8": "^10.1.3", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "docdash": "^2.0.2", "eslint": "^8.57.1", "gh-pages": "^6.3.0", "jsdoc": "^4.0.5", "mocha": "^11.7.5", "rollup": "^4.53.1" }, "dependencies": { "@hexagon/base64": "~1.1.28", "@peculiar/webcrypto": "~1.4.6", "asn1js": "~3.0.6", "cbor-x": "~1.6.0", "jose": "^6.1.0", "pkijs": "~3.3.2", "punycode.js": "^2.3.1", "tldts": "~7.0.17" }, "eslintConfig": { "root": true, "env": { "node": true }, "rules": { "space-before-function-paren": [ "error", { "anonymous": "never", "named": "never", "asyncArrow": "always" } ], "no-mixed-spaces-and-tabs": "error", "quotes": [ "error", "double", { "avoidEscape": true } ], "comma-dangle": [ "error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "never", "exports": "never", "functions": "ignore" } ], "indent": [ "error", "tab", { "SwitchCase": 1 } ], "semi": [ "error", "always" ], "no-multiple-empty-lines": [ "error", { "max": 2, "maxEOF": 1 } ], "no-var": [ "error" ] }, "parserOptions": { "requireConfigFile": false, "sourceType": "module", "ecmaVersion": 13 }, "ignorePatterns": [ "dist/*", "test/dist/*" ], "overrides": [ { "files": [ "**/__tests__/*.{j,t}s?(x)" ], "env": { "mocha": true } } ] }, "engines": { "node": ">=10" } }