{"id":22712209,"url":"https://github.com/buildit/aem-react-scaffold","last_synced_at":"2025-03-29T22:21:50.868Z","repository":{"id":78235543,"uuid":"63795304","full_name":"buildit/aem-react-scaffold","owner":"buildit","description":"Scaffold project for using React within AEM","archived":false,"fork":false,"pushed_at":"2016-08-23T08:15:29.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T23:31:49.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-07-20T16:05:18.000Z","updated_at":"2025-01-06T16:50:36.000Z","dependencies_parsed_at":"2023-04-13T22:52:42.008Z","dependency_job_id":null,"html_url":"https://github.com/buildit/aem-react-scaffold","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/buildit%2Faem-react-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Faem-react-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Faem-react-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Faem-react-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildit","download_url":"https://codeload.github.com/buildit/aem-react-scaffold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246250089,"owners_count":20747293,"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-12-10T13:09:40.837Z","updated_at":"2025-03-29T22:21:50.862Z","avatar_url":"https://github.com/buildit.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AEM-React Scaffold Project\n\nThis is a scaffold project for getting React components working within AEM. It is based on this project https://github.com/sinnerschrader/aem-react-js\n\n## Build/deploy to AEM\n\nTo quickly build and deploy after cloning:\n\n```shell\nnpm install\nnpm run deploy\n```\n\n### NPM scripts in detail\n\n* Create new component with generator: `npm run generator`\n* Build: `npm run build`\n* Test (watch and produce HTML reports): `npm run test`\n* Test (single run for prod and cobertura reports): `npm run test:prod`\n* Build \u0026 test (single run): `npm run start`\n* Deploy to AEM (will build, run tests and push to AEM): `npm run deploy`\n* Run storybook on local server: `npm run storybook`\n\n### Creating components\n\nYou should use the generator to create components. This will make sure things go in the right place plus\nit will generate the AEM boilerplate code that needs to go with each component. The project is setup so that\nyou can have a deployable site (_src/com_) and an associated styleguide site (_src/styleguide_). Feel free to\nrearrange as needed but keep in mind you'll have to update the generator if you change these paths.\n\n_src/content_ has the AEM boilerplate. Normally you do not have to touch this, however you may need to if\nyou want to start restricting what can and cannot be shown in the sidekick when authoring.\n\nIn general you should only be working in _src/com_ and _src/styleguide_.\n\n### Sample page\n\nA sample page is included at http://localhost:4502/content/react-demo/sample-page.html?wcmmode=disabled\nAfter deployment you should be able to see it. This contains the sample components under the src directory.\n\n### Related projects\n\n* [Yeoman generator for creating components](https://www.npmjs.com/package/generator-aem-with-react)\n* [AEM-with-react package](https://www.npmjs.com/package/aem-with-react)\n\nThis project is based on the [AEM React](https://github.com/sinnerschrader/aem-react) project by [SinnerSchrader](https://github.com/sinnerschrader).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildit%2Faem-react-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildit%2Faem-react-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildit%2Faem-react-scaffold/lists"}