Commit f446c644 authored by AravindR-K's avatar AravindR-K

feat: initialize Angular frontend project with build and deployment configurations

parent 71d4a53e
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
"build": { "build": {
"builder": "@angular/build:application", "builder": "@angular/build:application",
"options": { "options": {
"outputPath": "dist/quiz-app",
"browser": "src/main.ts", "browser": "src/main.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"assets": [ "assets": [
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
"test": "ng test" "test": "ng test"
}, },
"private": true, "private": true,
"packageManager": "npm@10.9.0", "engines": {
"node": ">=18.0.0"
},
"dependencies": { "dependencies": {
"@angular/common": "^21.2.0", "@angular/common": "^21.2.0",
"@angular/compiler": "^21.2.0", "@angular/compiler": "^21.2.0",
......
{ {
"buildCommand": "npm run build", "buildCommand": "npm run build",
"outputDirectory": "dist/quiz-app/browser", "outputDirectory": "dist/quiz-app/browser",
"routes": [ "rewrites": [
{ { "source": "/(.*)", "destination": "/index.html" }
"src": "/assets/(.*)",
"dest": "/assets/$1"
},
{
"src": "/(.*\\.(js|css|png|jpg|svg|ico))",
"dest": "/$1"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
] ]
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment