import type { CapyseoConfig } from '@capyseo/core';
const config: CapyseoConfig = {
rules: {
'meta-title': { severity: 'error' },
'meta-description': { severity: 'error' },
// ... same as JavaScript
},
// ... same as JavaScript
};
export default config;
Post-Init Output
After running init, you'll see:
✓ Created capyseo.config.js
Next steps:
1. Edit the config file to customize rules
2. Run: capyseo analyze ./dist
3. For AI features, set GEMINI_API_KEY env variable
Available commands:
capyseo analyze <dir|url> Analyze pages for SEO issues
capyseo generate sitemap Generate sitemap.xml
capyseo generate robots Generate robots.txt
capyseo generate meta Generate meta tags with AI
capyseo watch <dir> Watch for changes