Feel free to fork this and use my code and designs for whatever you'd like. You can add credit to myself if you please, but it's not necessary.
# Start development server with hot reloading
npm run dev
# Just serve the site without watching for changes
npm run serve
# Build and serve the production site
npm run serve:prod
# Start development server (alternative to dev)
npm run start# Build for production
npm run build
# Build assets for development
npm run assets:build:dev
# Build assets for production
npm run assets:build:prod# Run all code quality checks
npm run validate
# Fix all auto-fixable issues
npm run fix
# Linting
npm run lint # Run all linters
npm run lint:js # Run JavaScript linting
npm run lint:css # Run SCSS linting
npm run lint:fix # Fix all auto-fixable lint issues
# Formatting
npm run format # Format all files
npm run check:format # Check formatting without making changes# Clean build artifacts
npm run clean # Remove _site directory
npm run clean:deps # Remove dependencies
npm run clean:all # Remove both build artifacts and dependencies
# Security and Updates
npm run audit # Check for vulnerabilities and outdated deps
npm run audit:fix # Try to fix vulnerabilities and update deps
# Build Analysis
npm run size # Show size of build directory
npm run size:detail # Generate detailed size report# Run Eleventy with debug output
npm run debug.
├── _site/ # Built site (gitignored)
├── _data/ # Global data files for Eleventy
├── _includes/ # Reusable template components
├── bookshelf/ # Bookshelf content
├── drafts/ # Draft content (not published)
├── feed/ # RSS feed configuration
├── fonts/ # Custom font files
├── images/ # Static image assets
├── js/ # JavaScript source files
├── portfolio/ # Portfolio project content
├── posts/ # Blog post content
├── sass/ # SCSS source files
├── services/ # Service-related content
├── type/ # TypeScript type definitions
├── .eleventy.js # Eleventy configuration
├── .eleventyignore # Files to ignore during build
├── .eslintrc.json # ESLint configuration
├── .prettierrc # Prettier configuration
├── .stylelintrc.json # Stylelint configuration
├── .node-version # Node.js version specification
├── netlify.toml # Netlify deployment configuration
├── package.json # Project dependencies and scripts
└── postcss.config.js # PostCSS configuration
-
Starting Development:
npm install # Install dependencies npm run dev # Start development server
-
Code Quality:
- Run
npm run validatebefore committing to check all code quality rules - Use
npm run fixto automatically fix common issues - Format your code with
npm run format
- Run
-
Building for Production:
npm run build # Creates optimized production build npm run serve:prod # Serves production build locally
-
Maintenance:
- Regularly run
npm run auditto check for security issues - Use
npm run sizeto monitor build size - Clean up with
npm run clean:allwhen needed
- Regularly run
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Netlify
- Superb web hosting and deployment platform
- Eleventy
- Flexible JavaScript static site generator
- Sass
- CSS preprocessor for better styling
- PostCSS
- CSS transformation tool with autoprefixer and custom media queries
- Markdown-it
- Markdown parser with support for footnotes and anchors
- Luxon
- Modern JavaScript date/time library
- ESLint
- JavaScript linting utility
- Prettier
- Code formatter for consistent style
- Stylelint
- CSS/SCSS linting utility
- Eleventy Plugins
- Navigation, RSS, syntax highlighting, and external links
- Node.js
- JavaScript runtime environment
- Git
- Version control system
This project is licensed under the MIT License - see the LICENSE file for details.