This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-auth-server/package.json

128 lines
3.9 KiB
JSON
Raw Normal View History

2022-03-09 18:37:04 +00:00
{
"name": "icynet-auth-server",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build && npm run build:fe",
"build:fe": "rimraf public/css public/js && NODE_ENV=production webpack --mode=production",
2022-03-09 18:37:04 +00:00
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:fe": "rimraf public/css public/js && webpack --mode=development -w",
2022-08-22 18:23:25 +00:00
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
2022-03-09 18:37:04 +00:00
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
2022-08-22 18:23:25 +00:00
"@icynet/oauth2-provider": "git+https://gitlab.icynet.eu/IcyNetwork/oauth2-provider.git",
"@nestjs/common": "^9.0.11",
"@nestjs/core": "^9.0.11",
"@nestjs/platform-express": "^9.0.11",
"@nestjs/serve-static": "^3.0.0",
"@nestjs/swagger": "^6.1.0",
"@nestjs/throttler": "^3.0.0",
2022-03-09 18:37:04 +00:00
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
2022-03-20 14:50:12 +00:00
"connect-redis": "^6.1.3",
"cookie-parser": "^1.4.6",
"cropperjs": "^1.5.12",
"csrf": "^3.1.0",
"dotenv": "^16.0.1",
"express-session": "^1.17.3",
2022-09-09 17:12:22 +00:00
"express-useragent": "^1.0.15",
"geoip-lite": "^1.4.6",
"image-size": "^1.0.2",
"jsonwebtoken": "^8.5.1",
"marked": "^4.0.18",
"mime-types": "^2.1.35",
"multer": "^1.4.4",
2022-03-09 18:37:04 +00:00
"mysql2": "^2.3.3",
"nodemailer": "^6.7.8",
2022-03-09 20:03:29 +00:00
"otplib": "^12.0.1",
2022-03-09 18:37:04 +00:00
"pug": "^3.0.2",
"qrcode": "^1.5.1",
2022-08-27 08:59:26 +00:00
"redis": "^4.3.0",
2022-03-09 18:37:04 +00:00
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.6",
2022-09-10 09:52:39 +00:00
"thirty-two": "^1.0.2",
"toml": "^3.0.0",
"typeorm": "^0.3.7",
2022-03-09 18:37:04 +00:00
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.1",
"@nestjs/testing": "^9.0.11",
2022-03-09 18:37:04 +00:00
"@types/bcrypt": "^5.0.0",
2022-03-20 14:50:12 +00:00
"@types/connect-redis": "^0.0.18",
2022-08-17 18:56:47 +00:00
"@types/cookie-parser": "^1.4.3",
2022-03-09 18:37:04 +00:00
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.5",
2022-09-09 17:12:22 +00:00
"@types/express-useragent": "^1.0.2",
"@types/geoip-lite": "^1.4.1",
"@types/jest": "28.1.7",
"@types/jsonwebtoken": "^8.5.8",
"@types/marked": "^4.0.4",
"@types/mime-types": "^2.1.1",
"@types/multer": "^1.4.7",
2022-09-10 09:52:39 +00:00
"@types/node": "^18.7.16",
"@types/nodemailer": "^6.4.5",
"@types/qrcode": "^1.4.3",
"@types/supertest": "^2.0.12",
2022-03-09 18:37:04 +00:00
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"mini-css-extract-plugin": "^2.6.1",
"prettier": "^2.7.1",
"sass": "^1.54.4",
"sass-loader": "^13.0.2",
"source-map-support": "^0.5.21",
"supertest": "^6.2.4",
"text-loader": "^0.0.1",
"ts-jest": "^28.0.8",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
2022-03-09 18:37:04 +00:00
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}