hapi-nextauth: update packages, fix linter and typescript

This commit is contained in:
Abel Luck 2023-03-13 09:34:36 +00:00
parent 7aa1ec74eb
commit fbe33c5c7b
6 changed files with 595 additions and 3870 deletions

View file

@ -8,28 +8,26 @@
"private": false,
"devDependencies": {
"@types/jest": "^27.0.2",
"@hapi/basic": "^6.0.0",
"@hapi/basic": "^7.0.1",
"tsconfig-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*"
"jest-config-link": "*",
"babel-preset-link": "*"
},
"dependencies": {
"@hapi/hapi": "^20.2.0",
"@hapi/hoek": "^9.2.1",
"joi": "^17.4.2",
"@hapipal/toys": "^3.1.0",
"@hapi/hapi": "^21.3.0",
"@hapi/hoek": "^11.0.1",
"joi": "^17.6.1",
"next-auth": "3.29.0"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"fix:lint": "eslint src --ext .ts --fix",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"test": "yarn test:jest && yarn test:lint && yarn test:prettier",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:jest": "jest --coverage --forceExit --detectOpenHandles --reporters=default --reporters=jest-junit",
"doc": "yarn run doc:html",
"doc:html": "typedoc src/ --exclude '**/*.test.ts' --exclude '**/*.spec.ts' --name $npm_package_name --readme README.md --target es2019 --mode file --out build/docs",
"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",
"watch:build": "tsc -p tsconfig.json -w"
}
}