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