Convert to Typescript

This commit is contained in:
Alan Grainger
2024-10-28 09:56:11 +01:00
parent 94ebc61867
commit ca0eba5949
10 changed files with 3888 additions and 14 deletions
+15 -4
View File
@@ -1,12 +1,12 @@
{
"name": "immich-public-proxy",
"version": "1.0.0",
"main": "src/index.js",
"main": "src/index.ts",
"scripts": {
"dev": "node src/index.js",
"start": "node src/index.js"
"dev": "ts-node src/index.ts",
"build": "npx tsc",
"start": "node dist/index.js"
},
"type": "module",
"author": "",
"license": "ISC",
"description": "",
@@ -14,5 +14,16 @@
"express": "^4.21.1",
"dotenv": "^16.4.5",
"dayjs": "^1.11.13"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^16.18.111",
"@immich/sdk": "^1.118.2",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"eslint": "^8.49.0",
"eslint-config-standard": "^17.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
}
}