35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"name": "@digiresilience/hapi-nextauth",
|
|
"version": "1.0.0",
|
|
"description": "a plugin for hapi.js that exposes NextAuth's database adapter via HTTP",
|
|
"main": "build/main/index.js",
|
|
"type": "module",
|
|
"author": "Abel Luck <abel@guardianproject.info>",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"devDependencies": {
|
|
"@hapi/basic": "^7.0.2",
|
|
"@types/jest": "^29.5.5",
|
|
"babel-preset-link": "*",
|
|
"eslint-config-link": "*",
|
|
"jest-config-link": "*",
|
|
"tsc-watch": "^6.0.4",
|
|
"tsconfig-link": "*"
|
|
},
|
|
"dependencies": {
|
|
"@hapi/hapi": "^21.3.2",
|
|
"@hapi/hoek": "^11.0.2",
|
|
"joi": "^17.11.0",
|
|
"next-auth": "4.23.2"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"fix:lint": "eslint src --ext .ts --fix",
|
|
"fmt": "prettier \"src/**/*.ts\" --write",
|
|
"test": "jest --coverage --forceExit --detectOpenHandles --reporters=default --reporters=jest-junit",
|
|
"lint": "eslint src --ext .ts",
|
|
"lint-fmt": "prettier \"src/**/*.ts\" --list-different",
|
|
"doc": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --target es2019 --mode file --out build/docs",
|
|
"dev": "tsc-watch --build --noClear"
|
|
}
|
|
}
|