UNPKG

balena-auth

Version:
86 lines (85 loc) 2.35 kB
{ "name": "balena-auth", "version": "6.0.1", "description": "Balena session authentication utilities", "main": "build/auth.js", "types": "build/auth.d.ts", "homepage": "https://github.com/balena-io-modules/balena-auth", "repository": { "type": "git", "url": "git://github.com/balena-io-modules/balena-auth.git" }, "files": [ "build/" ], "keywords": [ "balena", "auth", "jwt", "api-key", "session" ], "directories": { "test": "tests" }, "scripts": { "ci": "npm test && catch-uncommitted", "lint": "balena-lint src tests", "lint-fix": "balena-lint --fix src tests", "test:node": "mocha -r ts-node/register --reporter spec tests/**/*.spec.ts", "test:browser": "karma start", "prebuild": "rimraf ./build && npm run lint-fix", "build": "tsc --project tsconfig.dist.json && npm run readme", "pretest": "npm run build && npm run lint", "test": "npm run test:node && npm run test:browser", "prepack": "npm run build", "readme": "jsdoc2md --template doc/README.hbs build/*.js > README.md" }, "author": "Balena Team <hello@balena.io>", "license": "Apache-2.0", "engines": { "node": ">=18.0.0", "npm": ">=6.0.0" }, "devDependencies": { "@balena/lint": "^7.3.0", "@types/chai": "^4.3.3", "@types/chai-as-promised": "^7.1.5", "@types/jsonwebtoken": "^8.0.0", "@types/mocha": "^9.1.1", "@types/node": "^14.18.54", "balena-config-karma": "^4.0.0", "balena-settings-client": "^4.0.0", "buffer": "^5.7.1", "catch-uncommitted": "^1.0.0", "chai": "^4.3.6", "chai-as-promised": "^7.1.1", "crypto-browserify": "^3.12.0", "husky": "^4.2.5", "jsdoc-to-markdown": "^3.0.0", "jsonwebtoken": "^8.0.0", "karma": "^5.2.3", "mocha": "^10.0.0", "os-browserify": "^0.3.0", "process": "^0.11.10", "rimraf": "^2.6.1", "stream-browserify": "^3.0.0", "ts-node": "^10.9.1", "typescript": "^5.3.3", "util": "^0.12.4" }, "dependencies": { "balena-errors": "^4.7.1", "balena-settings-storage": "^8.1.0", "jwt-decode": "^3.1.2", "tslib": "^2.0.0" }, "husky": { "hooks": { "pre-commit": "npm run lint && npm run test:node -- --reporter dot" } }, "versionist": { "publishedAt": "2024-02-23T10:34:42.344Z" } }