2022-02-21 10:46:03 +01:00
|
|
|
{
|
2022-02-27 20:27:22 +01:00
|
|
|
"name": "picsur-backend",
|
2023-11-28 20:20:29 +01:00
|
|
|
"version": "0.5.3",
|
2022-02-27 20:27:22 +01:00
|
|
|
"description": "Backend for Picsur",
|
2022-02-21 10:46:03 +01:00
|
|
|
"license": "GPL-3.0",
|
2023-03-15 14:24:26 +01:00
|
|
|
"repository": "https://github.com/caramelfur/Picsur",
|
|
|
|
|
"author": "Caramel <picsur@caramelfur.dev>",
|
2022-02-21 22:17:44 +01:00
|
|
|
"type": "module",
|
2022-02-24 22:56:27 +01:00
|
|
|
"main": "dist/main.js",
|
2022-02-21 10:46:03 +01:00
|
|
|
"scripts": {
|
|
|
|
|
"prebuild": "rimraf dist",
|
|
|
|
|
"build": "nest build",
|
2024-10-30 20:06:09 +01:00
|
|
|
"start": "nest start",
|
|
|
|
|
"start:dev": "pnpm clean && nest start --watch",
|
|
|
|
|
"start:debug": "nest start --debug --watch",
|
2023-06-15 13:24:34 +02:00
|
|
|
"start:prod": "node --experimental-loader=extensionless dist/main",
|
2022-08-28 16:31:20 +02:00
|
|
|
"typeorm": "typeorm-ts-node-esm",
|
2024-08-04 15:48:12 +02:00
|
|
|
"migrate": "PICSUR_PRODUCTION=\"true\" pnpm typeorm migration:generate -d ./src/datasource.ts",
|
2022-02-21 14:53:21 +01:00
|
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
2024-10-30 20:06:09 +01:00
|
|
|
"clean": "rm -rf dist",
|
2022-05-02 12:11:25 +02:00
|
|
|
"purge": "rm -rf dist && rm -rf node_modules"
|
2022-02-21 10:46:03 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2023-11-28 18:55:41 +01:00
|
|
|
"@fastify/helmet": "^11.1.1",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@fastify/multipart": "^8.3.0",
|
2024-10-30 20:06:09 +01:00
|
|
|
"@fastify/reply-from": "^10.0.0",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@fastify/static": "^7.0.4",
|
2024-10-30 20:06:09 +01:00
|
|
|
"@nestjs/common": "^10.4.6",
|
|
|
|
|
"@nestjs/config": "^3.3.0",
|
|
|
|
|
"@nestjs/core": "^10.4.6",
|
2023-11-28 18:55:41 +01:00
|
|
|
"@nestjs/jwt": "^10.2.0",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@nestjs/passport": "^10.0.3",
|
2024-10-30 20:06:09 +01:00
|
|
|
"@nestjs/platform-fastify": "^10.4.6",
|
|
|
|
|
"@nestjs/schedule": "^4.1.1",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@nestjs/serve-static": "^4.0.2",
|
2024-10-30 20:06:09 +01:00
|
|
|
"@nestjs/throttler": "^6.2.1",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@nestjs/typeorm": "^10.0.2",
|
2023-11-28 18:55:41 +01:00
|
|
|
"bcrypt": "^5.1.1",
|
2024-08-04 15:48:12 +02:00
|
|
|
"bmp-img": "^1.3.0",
|
2022-04-15 13:05:17 +02:00
|
|
|
"cors": "^2.8.5",
|
2024-08-04 15:48:12 +02:00
|
|
|
"fastify": "^4.28.1",
|
2024-10-30 20:06:09 +01:00
|
|
|
"file-type": "^19.6.0",
|
2022-12-25 23:36:42 +01:00
|
|
|
"is-docker": "^3.0.0",
|
2023-06-15 13:27:30 +02:00
|
|
|
"ms": "2.1.3",
|
2023-11-28 18:55:41 +01:00
|
|
|
"node-fetch": "^3.3.2",
|
2024-10-30 20:06:09 +01:00
|
|
|
"p-timeout": "^6.1.3",
|
2023-11-28 18:55:41 +01:00
|
|
|
"passport": "^0.7.0",
|
2022-09-03 14:46:39 +02:00
|
|
|
"passport-headerapikey": "^1.2.2",
|
2022-12-25 13:59:43 +01:00
|
|
|
"passport-jwt": "^4.0.1",
|
2022-02-21 14:53:21 +01:00
|
|
|
"passport-local": "^1.0.0",
|
2022-03-09 11:53:06 +01:00
|
|
|
"passport-strategy": "^1.0.0",
|
2024-10-30 20:06:09 +01:00
|
|
|
"pg": "^8.13.1",
|
2024-08-04 15:48:12 +02:00
|
|
|
"picsur-shared": "workspace:^",
|
|
|
|
|
"posix.js": "^0.1.2",
|
|
|
|
|
"qoi-img": "^2.2.0",
|
|
|
|
|
"reflect-metadata": "^0.2.2",
|
2023-06-02 16:35:31 +02:00
|
|
|
"rxjs": "^7.8.1",
|
2024-10-30 20:06:09 +01:00
|
|
|
"sharp": "^0.33.5",
|
2022-08-27 17:25:39 +02:00
|
|
|
"stream-parser": "^0.3.1",
|
|
|
|
|
"thunks": "^4.9.6",
|
2024-08-04 15:48:12 +02:00
|
|
|
"typeorm": "^0.3.20",
|
|
|
|
|
"zod": "^3.23.8"
|
2022-02-21 10:46:03 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2024-10-30 20:06:09 +01:00
|
|
|
"@nestjs/cli": "^10.4.5",
|
|
|
|
|
"@nestjs/schematics": "^10.2.3",
|
|
|
|
|
"@nestjs/testing": "^10.4.6",
|
2023-11-28 18:55:41 +01:00
|
|
|
"@types/bcrypt": "^5.0.2",
|
|
|
|
|
"@types/cors": "^2.8.17",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@types/ms": "^0.7.34",
|
2024-10-30 20:06:09 +01:00
|
|
|
"@types/multer": "^1.4.12",
|
|
|
|
|
"@types/node": "^22.8.4",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@types/passport-jwt": "^4.0.1",
|
2023-11-28 18:55:41 +01:00
|
|
|
"@types/passport-local": "^1.0.38",
|
|
|
|
|
"@types/passport-strategy": "^0.2.38",
|
2024-08-04 15:48:12 +02:00
|
|
|
"@types/supertest": "^6.0.2",
|
|
|
|
|
"prettier": "^3.3.3",
|
2022-02-23 11:10:25 +01:00
|
|
|
"source-map-support": "^0.5.21",
|
2023-11-28 18:55:41 +01:00
|
|
|
"ts-loader": "^9.5.1",
|
2024-08-04 15:48:12 +02:00
|
|
|
"ts-node": "^10.9.2",
|
2023-06-02 16:35:31 +02:00
|
|
|
"tsconfig-paths": "^4.2.0",
|
2024-08-04 15:48:12 +02:00
|
|
|
"typescript": "~5.5.4"
|
2022-02-21 10:46:03 +01:00
|
|
|
}
|
|
|
|
|
}
|