Add bin to package.json

This commit is contained in:
Tim Van Baak
2024-11-28 12:04:09 -08:00
parent d1475538c5
commit 7a64176b0e
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@
"url": "https://github.com/alangrainger/immich-public-proxy.git"
},
"main": "dist/index.js",
"bin": "dist/index.js",
"dependencies": {
"archiver": "^7.0.1",
"dayjs": "^1.11.13",
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env node
import express from 'express'
import immich from './immich'
import render from './render'