2022-02-03 18:06:44 +02:00
|
|
|
{
|
|
|
|
"name": "immich",
|
2024-04-05 04:39:51 +02:00
|
|
|
"version": "1.101.0",
|
2022-02-03 18:06:44 +02:00
|
|
|
"description": "",
|
|
|
|
"author": "",
|
|
|
|
"private": true,
|
2024-02-12 17:31:59 +02:00
|
|
|
"license": "GNU Affero General Public License version 3",
|
2022-02-03 18:06:44 +02:00
|
|
|
"scripts": {
|
2023-06-08 17:01:07 +02:00
|
|
|
"build": "nest build",
|
2023-01-12 16:44:11 +02:00
|
|
|
"format": "prettier --check .",
|
|
|
|
"format:fix": "prettier --write .",
|
2023-06-08 17:01:07 +02:00
|
|
|
"start": "npm run start:dev",
|
2022-11-15 06:39:32 +02:00
|
|
|
"nest": "nest",
|
2023-09-08 17:17:45 +02:00
|
|
|
"start:dev": "nest start --watch --",
|
|
|
|
"start:debug": "nest start --debug 0.0.0.0:9230 --watch --",
|
2023-08-01 17:49:50 +02:00
|
|
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" --max-warnings 0",
|
2022-06-25 19:53:06 +02:00
|
|
|
"lint:fix": "npm run lint -- --fix",
|
2023-01-12 16:44:11 +02:00
|
|
|
"check": "tsc --noEmit",
|
|
|
|
"check:code": "npm run format && npm run lint && npm run check",
|
2023-01-13 00:07:57 +02:00
|
|
|
"check:all": "npm run check:code && npm run test:cov",
|
2022-02-03 18:06:44 +02:00
|
|
|
"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",
|
2024-01-29 17:11:02 +02:00
|
|
|
"e2e:jobs": "jest --config e2e/jobs/jest-e2e.json --runInBand",
|
2023-10-05 18:35:58 +02:00
|
|
|
"typeorm": "typeorm",
|
|
|
|
"typeorm:migrations:create": "typeorm migration:create",
|
2024-03-21 05:15:09 +02:00
|
|
|
"typeorm:migrations:generate": "typeorm migration:generate -d ./dist/database.config.js",
|
|
|
|
"typeorm:migrations:run": "typeorm migration:run -d ./dist/database.config.js",
|
|
|
|
"typeorm:migrations:revert": "typeorm migration:revert -d ./dist/database.config.js",
|
|
|
|
"typeorm:schema:drop": "typeorm query -d ./dist/database.config.js 'DROP schema public cascade; CREATE schema public;'",
|
2023-02-18 22:58:55 +02:00
|
|
|
"typeorm:schema:reset": "npm run typeorm:schema:drop && npm run typeorm:migrations:run",
|
2024-03-21 05:15:09 +02:00
|
|
|
"sql:generate": "node ./dist/utils/sql.js"
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-08-28 21:41:57 +02:00
|
|
|
"@babel/runtime": "^7.22.11",
|
|
|
|
"@nestjs/bullmq": "^10.0.1",
|
|
|
|
"@nestjs/common": "^10.2.2",
|
|
|
|
"@nestjs/config": "^3.0.0",
|
|
|
|
"@nestjs/core": "^10.2.2",
|
2024-03-17 21:16:02 +02:00
|
|
|
"@nestjs/event-emitter": "^2.0.4",
|
2023-08-28 21:41:57 +02:00
|
|
|
"@nestjs/platform-express": "^10.2.2",
|
|
|
|
"@nestjs/platform-socket.io": "^10.2.2",
|
2024-01-02 05:25:25 +02:00
|
|
|
"@nestjs/schedule": "^4.0.0",
|
2023-08-28 21:41:57 +02:00
|
|
|
"@nestjs/swagger": "^7.1.8",
|
|
|
|
"@nestjs/typeorm": "^10.0.0",
|
|
|
|
"@nestjs/websockets": "^10.2.2",
|
2024-03-20 21:34:12 +02:00
|
|
|
"@opentelemetry/auto-instrumentations-node": "^0.43.0",
|
2024-03-13 18:54:46 +02:00
|
|
|
"@opentelemetry/exporter-prometheus": "^0.49.0",
|
|
|
|
"@opentelemetry/sdk-node": "^0.49.0",
|
2023-12-09 03:38:25 +02:00
|
|
|
"@socket.io/postgres-adapter": "^0.3.1",
|
2024-01-31 10:15:54 +02:00
|
|
|
"@types/picomatch": "^2.3.3",
|
2024-03-05 19:26:54 +02:00
|
|
|
"archiver": "^7.0.0",
|
2023-12-08 18:15:46 +02:00
|
|
|
"async-lock": "^1.4.0",
|
2023-08-28 21:41:57 +02:00
|
|
|
"bcrypt": "^5.1.1",
|
|
|
|
"bullmq": "^4.8.0",
|
2024-01-31 18:26:51 +02:00
|
|
|
"chokidar": "^3.5.3",
|
2022-02-03 18:06:44 +02:00
|
|
|
"class-transformer": "^0.5.1",
|
2023-04-12 22:56:07 +02:00
|
|
|
"class-validator": "^0.14.0",
|
2022-07-18 21:14:25 +02:00
|
|
|
"cookie-parser": "^1.4.6",
|
2024-03-15 22:40:32 +02:00
|
|
|
"exiftool-vendored": "~24.6.0",
|
|
|
|
"exiftool-vendored.pl": "12.78",
|
2024-03-11 04:30:57 +02:00
|
|
|
"fast-glob": "^3.3.2",
|
2022-05-27 21:02:06 +02:00
|
|
|
"fluent-ffmpeg": "^2.1.2",
|
2024-01-15 15:27:59 +02:00
|
|
|
"geo-tz": "^8.0.0",
|
2023-09-27 22:32:58 +02:00
|
|
|
"glob": "^10.3.3",
|
2023-08-28 21:41:57 +02:00
|
|
|
"handlebars": "^4.7.8",
|
|
|
|
"i18n-iso-countries": "^7.6.0",
|
|
|
|
"ioredis": "^5.3.2",
|
|
|
|
"joi": "^17.10.0",
|
2024-03-12 17:29:49 +02:00
|
|
|
"js-yaml": "^4.1.0",
|
2022-02-03 18:06:44 +02:00
|
|
|
"lodash": "^4.17.21",
|
2023-08-28 21:41:57 +02:00
|
|
|
"luxon": "^3.4.2",
|
2024-03-14 07:52:30 +02:00
|
|
|
"mnemonist": "^0.39.8",
|
2023-08-28 21:41:57 +02:00
|
|
|
"nest-commander": "^3.11.1",
|
2024-03-12 07:19:12 +02:00
|
|
|
"nestjs-otel": "^5.1.5",
|
2023-08-28 21:41:57 +02:00
|
|
|
"openid-client": "^5.4.3",
|
|
|
|
"pg": "^8.11.3",
|
2024-02-13 06:37:10 +02:00
|
|
|
"picomatch": "^4.0.0",
|
2022-02-03 18:06:44 +02:00
|
|
|
"reflect-metadata": "^0.1.13",
|
2023-08-28 21:41:57 +02:00
|
|
|
"rxjs": "^7.8.1",
|
2022-09-18 22:16:53 +02:00
|
|
|
"sanitize-filename": "^1.6.3",
|
2023-12-08 18:52:43 +02:00
|
|
|
"sharp": "^0.33.0",
|
2024-03-09 04:15:38 +02:00
|
|
|
"sirv": "^2.0.4",
|
2023-06-18 05:22:31 +02:00
|
|
|
"thumbhash": "^0.1.1",
|
2023-08-28 21:41:57 +02:00
|
|
|
"typeorm": "^0.3.17",
|
2023-07-10 19:56:45 +02:00
|
|
|
"ua-parser-js": "^1.0.35"
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-28 21:41:57 +02:00
|
|
|
"@nestjs/cli": "^10.1.16",
|
|
|
|
"@nestjs/schematics": "^10.0.2",
|
|
|
|
"@nestjs/testing": "^10.2.2",
|
|
|
|
"@testcontainers/postgresql": "^10.2.1",
|
2023-11-19 17:29:51 +02:00
|
|
|
"@types/archiver": "^6.0.0",
|
2023-12-08 18:15:46 +02:00
|
|
|
"@types/async-lock": "^1.4.2",
|
2022-02-03 18:06:44 +02:00
|
|
|
"@types/bcrypt": "^5.0.0",
|
2022-07-18 21:14:25 +02:00
|
|
|
"@types/cookie-parser": "^1.4.3",
|
2023-08-28 21:41:57 +02:00
|
|
|
"@types/express": "^4.17.17",
|
|
|
|
"@types/fluent-ffmpeg": "^2.1.21",
|
|
|
|
"@types/imagemin": "^8.0.1",
|
2024-02-07 00:06:02 +02:00
|
|
|
"@types/jest": "29.5.12",
|
2022-12-23 22:08:50 +02:00
|
|
|
"@types/jest-when": "^3.5.2",
|
2024-03-12 17:29:49 +02:00
|
|
|
"@types/js-yaml": "^4.0.9",
|
2023-08-28 21:41:57 +02:00
|
|
|
"@types/lodash": "^4.14.197",
|
2023-09-20 13:16:33 +02:00
|
|
|
"@types/mock-fs": "^4.13.1",
|
2022-02-03 18:06:44 +02:00
|
|
|
"@types/multer": "^1.4.7",
|
2023-08-28 21:41:57 +02:00
|
|
|
"@types/node": "^20.5.7",
|
2024-01-01 21:27:00 +02:00
|
|
|
"@types/supertest": "^6.0.0",
|
2023-04-26 04:19:23 +02:00
|
|
|
"@types/ua-parser-js": "^0.7.36",
|
2024-02-18 21:26:01 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
|
|
"@typescript-eslint/parser": "^7.0.0",
|
2023-08-28 21:41:57 +02:00
|
|
|
"dotenv": "^16.3.1",
|
2024-02-02 05:18:00 +02:00
|
|
|
"eslint": "^8.56.0",
|
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
2024-02-07 00:53:55 +02:00
|
|
|
"eslint-plugin-unicorn": "^51.0.0",
|
2023-08-28 21:41:57 +02:00
|
|
|
"jest": "^29.6.4",
|
|
|
|
"jest-when": "^3.6.0",
|
2023-09-20 13:16:33 +02:00
|
|
|
"mock-fs": "^5.2.0",
|
2023-08-28 21:41:57 +02:00
|
|
|
"prettier": "^3.0.2",
|
|
|
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
|
|
"rimraf": "^5.0.1",
|
|
|
|
"source-map-support": "^0.5.21",
|
2023-12-15 07:28:05 +02:00
|
|
|
"sql-formatter": "^15.0.0",
|
2023-08-28 21:41:57 +02:00
|
|
|
"supertest": "^6.3.3",
|
|
|
|
"testcontainers": "^10.2.1",
|
|
|
|
"ts-jest": "^29.1.1",
|
|
|
|
"ts-loader": "^9.4.4",
|
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"tsconfig-paths": "^4.2.0",
|
2024-02-02 05:18:00 +02:00
|
|
|
"typescript": "^5.3.3",
|
2023-10-06 23:32:28 +02:00
|
|
|
"utimes": "^5.2.1"
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
2022-06-18 17:56:36 +02:00
|
|
|
"clearMocks": true,
|
2022-02-03 18:06:44 +02:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
2022-06-11 23:12:06 +02:00
|
|
|
"rootDir": ".",
|
2022-02-03 18:06:44 +02:00
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
2023-03-22 04:49:19 +02:00
|
|
|
"^.+\\.ts$": "ts-jest"
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
2024-03-21 05:15:09 +02:00
|
|
|
"<rootDir>/src/cores/*.(t|j)s",
|
|
|
|
"<rootDir>/src/dtos/*.(t|j)s",
|
|
|
|
"<rootDir>/src/interfaces/*.(t|j)s",
|
|
|
|
"<rootDir>/src/services/*.(t|j)s",
|
|
|
|
"<rootDir>/src/utils/*.(t|j)s",
|
|
|
|
"<rootDir>/src/*.t|j)s"
|
2022-02-03 18:06:44 +02:00
|
|
|
],
|
2022-06-11 23:12:06 +02:00
|
|
|
"coverageDirectory": "./coverage",
|
2023-01-13 00:07:57 +02:00
|
|
|
"coverageThreshold": {
|
2024-03-21 05:15:09 +02:00
|
|
|
"./src/": {
|
2024-03-21 15:07:47 +02:00
|
|
|
"branches": 70,
|
|
|
|
"functions": 75,
|
|
|
|
"lines": 80,
|
|
|
|
"statements": 80
|
2023-01-13 00:07:57 +02:00
|
|
|
}
|
|
|
|
},
|
2022-06-11 23:12:06 +02:00
|
|
|
"testEnvironment": "node",
|
|
|
|
"moduleNameMapper": {
|
2024-03-20 20:32:04 +02:00
|
|
|
"^test(|/.*)$": "<rootDir>/test/$1",
|
|
|
|
"^src(|/.*)$": "<rootDir>/src/$1"
|
2023-03-16 16:02:40 +02:00
|
|
|
},
|
2023-06-08 17:01:07 +02:00
|
|
|
"globalSetup": "<rootDir>/test/global-setup.js"
|
2024-01-27 20:52:14 +02:00
|
|
|
},
|
|
|
|
"volta": {
|
2024-04-02 08:20:52 +02:00
|
|
|
"node": "20.12.0"
|
2022-02-03 18:06:44 +02:00
|
|
|
}
|
2023-04-26 04:19:23 +02:00
|
|
|
}
|