summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPawel Zelawski <pawel.zelawski@outlook.com>2025-04-10 10:46:15 +0200
committerPawel Zelawski <pawel.zelawski@outlook.com>2025-04-10 10:46:15 +0200
commitef435a15ca67c829ce6cd8551ac45c419cb9792e (patch)
treed8c1cbe036370d6952a306f0fea0a7de3522ae31 /package.json
parentb290aec2899208169b5f90c9e2b66ebffd565a87 (diff)
feat: setup project structure and tooling
- Initialized npm project and added core dependencies (React, Express, etc.). - Added development dependencies (TypeScript, Vite, ESLint, Prettier, etc.). - Configured TypeScript (`tsconfig.json`). - Configured Vite (`vite.config.ts`) with React plugin and API proxy. - Configured ESLint (`.eslintrc.cjs`) and Prettier (`.prettierrc.cjs`, `.prettierignore`). - Added standard `.gitignore`. - Created basic project structure (`src/client`, `src/server`, `public`). - Created default `.env` file (PORT=3001, PUBLIC_URL=http://localhost:3001).
Diffstat (limited to 'package.json')
-rw-r--r--package.json23
1 files changed, 22 insertions, 1 deletions
diff --git a/package.json b/package.json
index ca86823..b0e3c03 100644
--- a/package.json
+++ b/package.json
@@ -16,5 +16,26 @@
"bugs": {
"url": "https://github.com/pawelzelawski/digiid-ts-demo/issues"
},
- "homepage": "https://github.com/pawelzelawski/digiid-ts-demo#readme"
+ "homepage": "https://github.com/pawelzelawski/digiid-ts-demo#readme",
+ "devDependencies": {
+ "@types/express": "^5.0.1",
+ "@types/node": "^22.14.0",
+ "@types/qrcode": "^1.5.5",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.2",
+ "@typescript-eslint/eslint-plugin": "^8.29.1",
+ "@typescript-eslint/parser": "^8.29.1",
+ "@vitejs/plugin-react": "^4.3.4",
+ "eslint": "^9.24.0",
+ "eslint-config-prettier": "^10.1.1",
+ "eslint-plugin-prettier": "^5.2.6",
+ "eslint-plugin-react": "^7.37.5",
+ "eslint-plugin-react-hooks": "^5.2.0",
+ "nodemon": "^3.1.9",
+ "npm-run-all": "^4.1.5",
+ "prettier": "^3.5.3",
+ "ts-node": "^10.9.2",
+ "typescript": "^5.8.3",
+ "vite": "^6.2.6"
+ }
}