web-auth-library
Version:
Authentication library for the browser environment using Web Crypto API
151 lines • 3.23 kB
JSON
{
"name": "web-auth-library",
"version": "1.0.3",
"packageManager": "yarn@4.0.0-rc.39",
"description": "Authentication library for the browser environment using Web Crypto API",
"license": "MIT",
"author": {
"name": "Kriasoft",
"email": "hello@kriasoft.com",
"url": "https://github.com/kriasoft"
},
"contributors": [
{
"name": "Konstantin Tarkus",
"email": "hello@tarkus.me",
"url": "https://github.com/koistya"
}
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/kriasoft"
},
{
"type": "patreon",
"url": "https://www.patreon.com/koistya"
}
],
"repository": "github:kriasoft/web-auth-library",
"keywords": [
"auth",
"authentication",
"authorization",
"bearer",
"browser",
"bun",
"cloudflare-workers",
"cloudflare",
"crypto",
"decrypt",
"deno",
"encrypt",
"hono",
"jsonwebtoken",
"jwk",
"jwt",
"keys",
"oauth",
"oauth2",
"sign",
"subtlecrypto",
"token",
"typescript",
"web",
"webcrypto"
],
"files": [
"dist"
],
"type": "module",
"exports": {
".": "./dist/index.js",
"./jwt": "./dist/core/jwt.js",
"./google": {
"types": "./dist/google/index.d.ts",
"import": "./dist/google/index.js",
"default": "./dist/google/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint --report-unused-disable-directives .",
"test": "node --experimental-vm-modules $(yarn bin jest)",
"build": "rm -rf ./dist && yarn tsc"
},
"dependencies": {
"jose": ">= 4.12.0 < 5.0.0",
"rfc4648": "^1.5.2"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@cloudflare/workers-types": "^4.20230228.0",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-jest": "^29.4.3",
"babel-plugin-replace-import-extension": "^1.1.3",
"dotenv": "^16.0.3",
"envalid": "^7.3.1",
"eslint": "^8.35.0",
"jest": "^29.4.3",
"jest-environment-miniflare": "^2.12.1",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "last 2 Chrome versions",
"modules": false
}
],
"@babel/preset-typescript"
],
"plugins": [
[
"replace-import-extension",
{
"extMapping": {
".js": ".ts"
}
}
]
]
},
"eslintConfig": {
"root": true,
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"files": [
"*.test.ts",
"*.test.js"
],
"env": {
"jest": true
}
}
],
"ignorePatterns": [
"/.yarn/**",
"/dist/**",
"/node_modules/**"
]
}
}