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",
|
2022-03-19 10:25:37 +00:00
|
|
|
"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",
|
2022-03-19 10:25:37 +00:00
|
|
|
"start:fe": "rimraf public/css public/js && webpack --mode=development -w",
|
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": {
|
|
|
|
"@icynet/oauth2-provider": "git+ssh://git@gitlab.icynet.eu:IcyNetwork/oauth2-provider.git",
|
2022-08-17 19:48:20 +00:00
|
|
|
"@nestjs/common": "^9.0.11",
|
|
|
|
"@nestjs/core": "^9.0.11",
|
|
|
|
"@nestjs/platform-express": "^9.0.11",
|
|
|
|
"@nestjs/serve-static": "^3.0.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",
|
2022-03-20 12:09:36 +00:00
|
|
|
"cropperjs": "^1.5.12",
|
2022-03-20 15:06:04 +00:00
|
|
|
"csrf": "^3.1.0",
|
2022-08-17 19:48:20 +00:00
|
|
|
"dotenv": "^16.0.1",
|
|
|
|
"express-session": "^1.17.3",
|
|
|
|
"image-size": "^1.0.2",
|
2022-03-19 10:25:37 +00:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2022-08-17 19:48:20 +00:00
|
|
|
"marked": "^4.0.18",
|
2022-03-20 12:09:36 +00:00
|
|
|
"mime-types": "^2.1.35",
|
|
|
|
"multer": "^1.4.4",
|
2022-03-09 18:37:04 +00:00
|
|
|
"mysql2": "^2.3.3",
|
2022-08-17 19:48:20 +00:00
|
|
|
"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",
|
2022-08-17 19:48:20 +00:00
|
|
|
"qrcode": "^1.5.1",
|
2022-03-20 14:50:12 +00:00
|
|
|
"redis": "^3.1.2",
|
2022-03-09 18:37:04 +00:00
|
|
|
"reflect-metadata": "^0.1.13",
|
|
|
|
"rimraf": "^3.0.2",
|
2022-08-17 19:48:20 +00:00
|
|
|
"rxjs": "^7.5.6",
|
2022-03-15 17:00:15 +00:00
|
|
|
"toml": "^3.0.0",
|
2022-08-17 19:48:20 +00:00
|
|
|
"typeorm": "^0.3.7",
|
2022-03-09 18:37:04 +00:00
|
|
|
"uuid": "^8.3.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-17 19:48:20 +00:00
|
|
|
"@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",
|
2022-08-17 19:48:20 +00:00
|
|
|
"@types/express-session": "^1.17.5",
|
|
|
|
"@types/jest": "28.1.7",
|
2022-03-19 10:25:37 +00:00
|
|
|
"@types/jsonwebtoken": "^8.5.8",
|
2022-08-17 19:48:20 +00:00
|
|
|
"@types/marked": "^4.0.4",
|
2022-03-20 12:09:36 +00:00
|
|
|
"@types/mime-types": "^2.1.1",
|
|
|
|
"@types/multer": "^1.4.7",
|
2022-08-17 19:48:20 +00:00
|
|
|
"@types/node": "^18.7.6",
|
|
|
|
"@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",
|
2022-08-17 19:48:20 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
|
|
"@typescript-eslint/parser": "^5.33.1",
|
|
|
|
"babel-loader": "^8.2.5",
|
2022-03-19 10:25:37 +00:00
|
|
|
"css-loader": "^6.7.1",
|
2022-08-17 19:48:20 +00:00
|
|
|
"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",
|
2022-03-19 10:25:37 +00:00
|
|
|
"text-loader": "^0.0.1",
|
2022-08-17 19:48:20 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|