File size: 713 Bytes
0c591a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

echo "πŸš€ Starting frontend dependency installation..."
echo "This may take several minutes depending on your network speed."

echo "πŸ“¦ Installing core dependencies..."
npm install --no-audit --no-fund

if [ $? -eq 0 ]; then
    echo "βœ… Dependencies installed successfully!"
    
    echo "πŸ§ͺ Running syntax check..."
    npx tsc --noEmit
    
    if [ $? -eq 0 ]; then
        echo "βœ… TypeScript compilation successful!"
        
        echo "πŸš€ Starting development server..."
        npm run dev
    else
        echo "❌ TypeScript compilation failed. Please check for errors."
        exit 1
    fi
else
    echo "❌ Dependency installation failed. Please try again."
    exit 1
fi