diff --git a/.gitignore b/.gitignore index a547bf3..5354263 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ dist-ssr *.njsproj *.sln *.sw? + +*.deb +reminder-dashboard/usr/share/reminder-dashboard/* diff --git a/package.json b/package.json index 3ba5b91..a665517 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "dev": "vite build --watch --mode development", "build": "vite build", - "preview": "vite preview" + "preview": "vite preview", + "package": "mkdir -p reminder-dashboard/usr/share/reminder-dashboard && vite build --mode production --outDir reminder-dashboard/usr/share/reminder-dashboard && dpkg-deb --build reminder-dashboard" }, "dependencies": { "axios": "^1.5.1", diff --git a/reminder-dashboard/DEBIAN/control b/reminder-dashboard/DEBIAN/control new file mode 100644 index 0000000..dc65f2c --- /dev/null +++ b/reminder-dashboard/DEBIAN/control @@ -0,0 +1,7 @@ +Package: reminder-dashboard +Version: 1.0 +Section: base +Priority: optional +Architecture: amd64 +Maintainer: Jude Southworth +Description: NPM managed dashboard