2023-07-06 14:37:47 +00:00
|
|
|
{
|
2023-11-19 22:16:24 +00:00
|
|
|
"name": "@immich/cli",
|
2023-11-20 13:04:20 +00:00
|
|
|
"version": "2.0.3",
|
|
|
|
"description": "Command Line Interface (CLI) for Immich",
|
2023-11-19 22:16:24 +00:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"bin": {
|
|
|
|
"immich": "./dist/index.js"
|
|
|
|
},
|
2023-11-20 13:04:20 +00:00
|
|
|
"license": "MIT",
|
2023-07-06 14:37:47 +00:00
|
|
|
"dependencies": {
|
2023-11-19 22:16:24 +00:00
|
|
|
"axios": "^1.6.2",
|
2023-07-22 04:01:20 +00:00
|
|
|
"byte-size": "^8.1.1",
|
|
|
|
"cli-progress": "^3.12.0",
|
|
|
|
"commander": "^11.0.0",
|
2023-07-06 14:37:47 +00:00
|
|
|
"form-data": "^4.0.0",
|
2023-07-22 04:01:20 +00:00
|
|
|
"glob": "^10.3.1",
|
|
|
|
"yaml": "^2.3.1"
|
2023-07-06 14:37:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/byte-size": "^8.1.0",
|
|
|
|
"@types/chai": "^4.3.5",
|
|
|
|
"@types/cli-progress": "^3.11.0",
|
|
|
|
"@types/jest": "^29.5.2",
|
|
|
|
"@types/js-yaml": "^4.0.5",
|
|
|
|
"@types/mime-types": "^2.1.1",
|
|
|
|
"@types/mock-fs": "^4.13.1",
|
|
|
|
"@types/node": "^20.3.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
2023-07-22 04:01:20 +00:00
|
|
|
"@typescript-eslint/parser": "^5.48.1",
|
2023-07-06 14:37:47 +00:00
|
|
|
"chai": "^4.3.7",
|
|
|
|
"eslint": "^8.43.0",
|
|
|
|
"eslint-config-prettier": "^8.8.0",
|
|
|
|
"eslint-plugin-jest": "^27.2.2",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"eslint-plugin-unicorn": "^47.0.0",
|
|
|
|
"jest": "^29.5.0",
|
|
|
|
"jest-extended": "^4.0.0",
|
|
|
|
"jest-message-util": "^29.5.0",
|
|
|
|
"jest-mock-axios": "^4.7.2",
|
|
|
|
"jest-when": "^3.5.2",
|
|
|
|
"mock-fs": "^5.2.0",
|
|
|
|
"ts-jest": "^29.1.0",
|
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"tslib": "^2.5.3",
|
2023-07-22 04:01:20 +00:00
|
|
|
"typescript": "^4.9.4"
|
2023-07-06 14:37:47 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-07-21 18:10:01 +00:00
|
|
|
"build": "tsc --project tsconfig.build.json",
|
2023-07-06 14:37:47 +00:00
|
|
|
"lint": "eslint \"src/**/*.ts\" --max-warnings 0",
|
2023-11-20 13:04:20 +00:00
|
|
|
"prepack": "npm run build",
|
2023-07-06 14:37:47 +00:00
|
|
|
"test": "jest",
|
|
|
|
"test:cov": "jest --coverage",
|
2023-11-19 22:16:24 +00:00
|
|
|
"format": "prettier --check .",
|
|
|
|
"format:fix": "prettier --write .",
|
|
|
|
"check": "tsc --noEmit"
|
2023-07-21 18:10:01 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"clearMocks": true,
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": ".",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.ts$": "ts-jest"
|
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.(t|j)s"
|
|
|
|
],
|
2023-11-19 22:16:24 +00:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@api(|/.*)$": "<rootDir>/src/api/$1"
|
|
|
|
},
|
2023-07-21 18:10:01 +00:00
|
|
|
"coverageDirectory": "./coverage",
|
|
|
|
"testEnvironment": "node"
|
2023-11-20 13:36:17 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/immich-app/immich.git",
|
|
|
|
"directory": "cli"
|
2023-07-06 14:37:47 +00:00
|
|
|
}
|
|
|
|
}
|