UNPKG

@alessiofrittoli/credentials-manager

Version:
117 lines (116 loc) 3.81 kB
{ "name": "@alessiofrittoli/credentials-manager", "version": "1.0.0-alpha.1", "description": "Handle OTP and Passkeys with ease", "author": { "name": "Alessio Frittoli", "email": "info@alessiofrittoli.it", "url": "https://alessiofrittoli.it" }, "license": "MIT", "funding": [ { "type": "github", "url": "https://github.com/sponsors/alessiofrittoli" } ], "keywords": [ "security", "cyber-security", "authorization", "biometric-auth", "passkeys", "auth-cerimony", "attestations", "assertions", "one-time-passwords", "hmac-one-time-passwords", "time-based-one-time-passwords" ], "homepage": "https://github.com/alessiofrittoli/credentials-manager#readme", "bugs": { "url": "https://github.com/alessiofrittoli/credentials-manager/issues", "email": "info@alessiofrittoli.it" }, "repository": { "type": "git", "url": "git+https://github.com/alessiofrittoli/credentials-manager.git" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "sideEffects": false, "scripts": { "//1a": "*********************************************************************", "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************", "//1c": "*********************************************************************", "dev": "NODE_ENV=development tsup --watch", "build:prod": "NODE_ENV=production tsup", "build": "pnpm lint && pnpm test:ci && pnpm build:prod", "lint": "eslint", "release": "node scripts/publish.js --verbose --npm", "//2a": "*********************************************************************", "//2b": "***************************** UNIT TESTS ****************************", "//2c": "*********************************************************************", "test": "jest --verbose", "test:watch": "jest --watchAll --verbose", "test:ci": "jest --ci --verbose", "//3a": "*********************************************************************", "//3b": "************************ UNIT TESTS COVERAGE ************************", "//3c": "*********************************************************************", "test:coverage": "pnpm test:watch --coverage", "test:coverage:ci": "pnpm test:ci --coverage", "test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent", "test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"", "//4a": "*********************************************************************", "//4b": "************************ TARGETED UNIT TESTS ************************", "//4c": "*********************************************************************", "test:credential": "pnpm test:watch Credential/*" }, "pnpm": { "onlyBuiltDependencies": [ "@alessiofrittoli/type-utils", "esbuild" ] }, "devDependencies": { "@alessiofrittoli/node-scripts": "^2.6.0", "@eslint/js": "^9.27.0", "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", "@types/node": "^22.15.21", "concurrently": "^9.1.2", "dotenv": "^16.5.0", "eslint": "^9.27.0", "globals": "^16.2.0", "http-server": "^14.1.1", "jest": "^29.7.0", "ts-jest": "^29.3.4", "ts-node": "^10.9.2", "tsup": "^8.5.0", "typescript": "^5.8.3", "typescript-eslint": "^8.32.1" }, "dependencies": { "@alessiofrittoli/crypto-algorithm": "^2.3.0", "@alessiofrittoli/crypto-otp": "3.0.0-alpha.6", "@alessiofrittoli/crypto-signature": "^2.3.0", "@alessiofrittoli/exception": "^3.2.0", "@alessiofrittoli/math-utils": "^1.13.0" } }