mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
90 lines
2.4 KiB
JSON
90 lines
2.4 KiB
JSON
{
|
|
"name": "@immich/cli",
|
|
"version": "2.0.6",
|
|
"description": "Command Line Interface (CLI) for Immich",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"immich": "./dist/src/index.js"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"immich",
|
|
"cli"
|
|
],
|
|
"dependencies": {
|
|
"@immich/sdk": "file:../open-api/typescript-sdk",
|
|
"axios": "^1.6.7",
|
|
"byte-size": "^8.1.1",
|
|
"cli-progress": "^3.12.0",
|
|
"commander": "^11.0.0",
|
|
"form-data": "^4.0.0",
|
|
"glob": "^10.3.1",
|
|
"yaml": "^2.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@testcontainers/postgresql": "^10.4.0",
|
|
"@types/byte-size": "^8.1.0",
|
|
"@types/cli-progress": "^3.11.0",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/node": "^20.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"eslint": "^8.43.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-jest": "^27.2.2",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-unicorn": "^50.0.0",
|
|
"immich": "file:../server",
|
|
"jest": "^29.5.0",
|
|
"jest-extended": "^4.0.0",
|
|
"mock-fs": "^5.2.0",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"tslib": "^2.5.3",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.build.json",
|
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" --max-warnings 0",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"prepack": "npm run build",
|
|
"test": "jest",
|
|
"test:cov": "jest --coverage",
|
|
"format": "prettier --check .",
|
|
"format:fix": "prettier --write .",
|
|
"check": "tsc --noEmit",
|
|
"test:e2e": "jest --config test/e2e/jest-e2e.json --runInBand"
|
|
},
|
|
"jest": {
|
|
"clearMocks": true,
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": ".",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"<rootDir>/src/**/*.(t|j)s",
|
|
"!**/open-api/**"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@test(|/.*)$": "<rootDir>../server/test/$1",
|
|
"^@app/immich(|/.*)$": "<rootDir>../server/src/immich/$1",
|
|
"^@app/infra(|/.*)$": "<rootDir>../server/src/infra/$1",
|
|
"^@app/domain(|/.*)$": "<rootDir>../server/src/domain/$1"
|
|
},
|
|
"coverageDirectory": "./coverage",
|
|
"testEnvironment": "node"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "github:immich-app/immich",
|
|
"directory": "cli"
|
|
}
|
|
}
|