{"id":18024207,"url":"https://github.com/robisim74/static-web-app","last_synced_at":"2026-04-08T18:31:29.605Z","repository":{"id":143841934,"uuid":"280440511","full_name":"robisim74/static-web-app","owner":"robisim74","description":"Build a static web app with Webpack, Babel, TypeScript or ES6, critical CSS, differential loading \u0026 Web Components. SEO \u0026 performance friendly","archived":false,"fork":false,"pushed_at":"2022-07-29T14:59:11.000Z","size":852,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T18:35:08.641Z","etag":null,"topics":["babel","critical-css","differential-loading","es6","typescript","web-components","webpack"],"latest_commit_sha":null,"homepage":"https://robisim74.github.io/static-web-app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robisim74.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-17T14:07:33.000Z","updated_at":"2022-11-15T12:17:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"e221f868-dc2f-4fa8-80b4-2dcf664123f9","html_url":"https://github.com/robisim74/static-web-app","commit_stats":null,"previous_names":[],"tags_count":6,"template":true,"template_full_name":null,"purl":"pkg:github/robisim74/static-web-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robisim74%2Fstatic-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robisim74%2Fstatic-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robisim74%2Fstatic-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robisim74%2Fstatic-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robisim74","download_url":"https://codeload.github.com/robisim74/static-web-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robisim74%2Fstatic-web-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31568584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["babel","critical-css","differential-loading","es6","typescript","web-components","webpack"],"created_at":"2024-10-30T07:12:10.088Z","updated_at":"2026-04-08T18:31:29.573Z","avatar_url":"https://github.com/robisim74.png","language":"JavaScript","readme":"# Static Web App\n![Node.js CI](https://github.com/robisim74/static-web-app/workflows/Node.js%20CI/badge.svg)\n\u003e Build a static web app with Webpack, Babel, TypeScript or ES6, critical CSS, differential loading \u0026 Web Components. SEO \u0026 performance friendly\n\n[Live example]( https://robisim74.github.io/static-web-app/)\n\n## Features\n\n* _Babel_ \u0026 _webpack_\n* _TypeScript_ \u0026 ES6\n* CSS, _SASS_ \u0026 _Autoprefixer_\n* _ESLint_\n* Critical CSS\n* Differential loading\n* One page or Multi page\n* Web Components\n* Sitemap\n* End-to-end testing with _Cypress_\n\n\n## Contents\n* [Getting started](#1)\n* [Project structure](#2)\n* [What's new](#3)\n\n\n## \u003ca name=\"1\"\u003e\u003c/a\u003eGetting started\nDownload the code \u0026 configure the project in `config.js` file.\n\n### Installation\nFor development, _Node.js_ 12 or higher is required.\n\n```Shell\nnpm install\n```\n\n### Start DevServer\n```Shell\nnpm start\n```\n\n### Test\n```Shell\nnpm test\n```\n\n### Build\n```Shell\nnpm run build\n```\n\n![build](https://user-images.githubusercontent.com/14012361/103531475-b17a4b00-4e89-11eb-99d1-6679d08bde4c.png)\n\n\n## \u003ca name=\"2\"\u003e\u003c/a\u003eProject structure\n- Site\n    - **src/** source code folder\n    - **config.js** app configuration\n    \n- Scripts \u0026 configuration files\n    - **build.js** building process\n        - runs _webpack_ to generate es2015 bundles\n        - runs _webpack_ to generate es5 bundles\n        - runs _critical_ to inline critical CSS\n        - runs _sitemap_ to generate `sitemap.xml`\n    - **scripts/** scripts used by the building process\n    - **babel.config.js** _Babel_ configuration\n        - _modern_ env for development \u0026 production (es2015)\n        - _legacy_ env for production (es5)\n    - **webpack.config.dev.js** _webpack_ configuration for development\n    - **webpack.config.prod.js** _webpack_ configurations for building es2015 \u0026 es5 bundles\n    - **.browserslistrc** target browsers for es5 bundles \u0026 _Autoprefixer_\n    - **postcss.config.js** _PostCSS_ configuration file to use _Autoprefixer_\n    - **.eslintrc.js** _ESLint_ configuration file\n    - **tsconfig** _TypeScript_ configuration file\n    - **package.json** _npm_ options \u0026 scripts\n- Testing:\n    - **cypress/** _Cypress_ folder with test files\n    - **cypress.json** _Cypress_ configuration file\n\n## \u003ca name=\"3\"\u003e\u003c/a\u003eWhat's new\nYou can find template changes [here](https://github.com/robisim74/static-web-app/releases).\n\n\n## License\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobisim74%2Fstatic-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobisim74%2Fstatic-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobisim74%2Fstatic-web-app/lists"}