summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPawel Zelawski <pawel.zelawski@outlook.com>2025-04-10 14:35:56 +0200
committerPawel Zelawski <pawel.zelawski@outlook.com>2025-04-10 14:35:56 +0200
commitd858bd4e0fc7aaba15509a17b35138e843667bc1 (patch)
treeb8251d1579bebe7128efe5b93ed734f9a75b234b /package.json
parente29a1b9a652fe254d13afef7f5c7a3d7a64b68cc (diff)
refactor: improve layout and spacing across all views
- Remove extra space at the top of the page by adjusting body and root styles - Add consistent 20px top padding to all views through app-container - Simplify layout structure by removing unnecessary flex containers - Adjust spacing between elements for better visual hierarchy: - Reduce gaps between elements from 1.5rem to 1rem - Reduce bottom margin of h1 from 1.5rem to 1rem - Remove negative margins and extra padding - Maintain consistent box dimensions (390px width, 560px height) for all views - Ensure proper spacing for QR code and other content within views
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index 9bd6c3c..bfd0b66 100644
--- a/package.json
+++ b/package.json
@@ -2,13 +2,13 @@
"name": "digiid-ts-demo",
"version": "1.0.0",
"description": "",
- "main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev:frontend": "vite",
- "dev:backend": "nodemon --watch src/server --ext ts --exec \"node --loader ts-node/esm src/server/main.ts\"",
- "dev": "npm-run-all --parallel dev:frontend dev:backend",
+ "build:backend:watch": "tsc -p tsconfig.json --watch",
+ "dev:backend": "nodemon dist/server/server/main.js",
+ "dev": "npm-run-all --parallel dev:frontend build:backend:watch dev:backend",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"