{"id":15987724,"url":"https://github.com/bholmesdev/create-react-app-with-11ty-image","last_synced_at":"2025-04-04T22:13:51.509Z","repository":{"id":139409720,"uuid":"364091282","full_name":"bholmesdev/create-react-app-with-11ty-image","owner":"bholmesdev","description":"When worlds collide... we get optimized images from the @11ty image plugin 🌅","archived":false,"fork":false,"pushed_at":"2021-05-04T00:00:58.000Z","size":805,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T06:42:13.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bholmesdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-03T23:51:28.000Z","updated_at":"2023-09-03T12:29:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b3ab4b4-856b-4b8d-9c80-7e4841f2bbbb","html_url":"https://github.com/bholmesdev/create-react-app-with-11ty-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Fcreate-react-app-with-11ty-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Fcreate-react-app-with-11ty-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Fcreate-react-app-with-11ty-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Fcreate-react-app-with-11ty-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bholmesdev","download_url":"https://codeload.github.com/bholmesdev/create-react-app-with-11ty-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256114,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T03:41:32.320Z","updated_at":"2025-04-04T22:13:51.496Z","avatar_url":"https://github.com/bholmesdev.png","language":"JavaScript","readme":"# Using Create React App with 11ty image\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app) with enhanced images from the [11ty image plugin](https://www.11ty.dev/docs/plugins/image/)!\n\nTo learn more about how this setup works and why we'd use the approach to optimize our images, [read the full blog post](https://bholmes.dev/blog/picture-perfect-image-optimization/).\n## Spinning this baby up\n\nIn the project directory, you can run:\n\n### `npm start`\n\nThis does 2 major tasks:\n- starts the app in development mode 👉 Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n- spins up a node script to watch for new image files in the `/public` directory. Whenever if finds one, it will use the 11ty image plugin to generate multiple resolutions and file formats (`jpg` and `webp`) of that same image.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbholmesdev%2Fcreate-react-app-with-11ty-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbholmesdev%2Fcreate-react-app-with-11ty-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbholmesdev%2Fcreate-react-app-with-11ty-image/lists"}