{"id":21420139,"url":"https://github.com/melhosseiny/es-starter-kit","last_synced_at":"2026-04-11T04:32:32.500Z","repository":{"id":42827341,"uuid":"266409576","full_name":"melhosseiny/es-starter-kit","owner":"melhosseiny","description":"Starter kit for web projects","archived":false,"fork":false,"pushed_at":"2023-01-06T06:47:38.000Z","size":1581,"stargazers_count":1,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T20:11:14.596Z","etag":null,"topics":["babel","browserslist","ecmascript","express","javascript","postcss","webpack"],"latest_commit_sha":null,"homepage":"","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/melhosseiny.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}},"created_at":"2020-05-23T19:56:53.000Z","updated_at":"2023-03-07T03:29:06.000Z","dependencies_parsed_at":"2023-02-05T13:46:47.096Z","dependency_job_id":null,"html_url":"https://github.com/melhosseiny/es-starter-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/melhosseiny/es-starter-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melhosseiny%2Fes-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melhosseiny%2Fes-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melhosseiny%2Fes-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melhosseiny%2Fes-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melhosseiny","download_url":"https://codeload.github.com/melhosseiny/es-starter-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melhosseiny%2Fes-starter-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271578517,"owners_count":24784051,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","browserslist","ecmascript","express","javascript","postcss","webpack"],"created_at":"2024-11-22T20:12:09.673Z","updated_at":"2025-12-30T21:40:34.125Z","avatar_url":"https://github.com/melhosseiny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# es-starter-kit\n\nStarter kit for ECMAScript projects.\n\n## Build\n\n1. `npm install` to install dependencies\n2. `npm run watch` to run Webpack\n3. `npm start` to start the app at `localhost:8000`\n\nYou can also run `npm run build:dev` to build for development or `npm run build` to build for production.\n\n## Supported Browsers\n\n```\n\"browserslist\": {\n  \"development\": [\n    \"last 1 version\",\n    \"\u003e 1%\",\n    \"not ie 11\",\n    \"not dead\"\n  ],\n  \"production\": [\n    \"last 1 version\",\n    \"\u003e 1%\",\n    \"not ie 11\",\n    \"not dead\"\n  ],\n  \"test\": [\n    \"node 12\"\n  ]\n}\n```\n\n## App Structure\n\n```\nsrc/\n  assets/            --\u003e Global assets such as custom CSS props\n  app.js             --\u003e Main app entry\ndist/                --\u003e Webpack build output\n.editorconfig        --\u003e EditorConfig settings\nbabel.config.js      --\u003e Babel config\nserver.mjs           --\u003e Express server\nindex.html           --\u003e Root markup template\npostcss.config.js    --\u003e PostCSS config\nwebpack.config.*     --\u003e Webpack config\n```\n\n## Babel config\n\n- [preset-env](https://babeljs.io/docs/en/babel-preset-env) to automatically manage syntax transforms.\n- [plugin-syntax-dynamic-import](https://babeljs.io/docs/en/babel-plugin-syntax-dynamic-import) to transform `() =\u003e import()` syntax.\n\n## PostCSS config\n\n- [CSS Modules](https://github.com/css-modules/css-modules) to locally scope style rules\n- [autoprefixer](https://github.com/postcss/autoprefixer) to automatically add vendor prefixes\n- [postcss-preset-env](https://preset-env.cssdb.org/) to use modern CSS features such as custom props, custom media queries and nesting rules\n- [cssnano](https://cssnano.co/) to compress CSS\n\n## Webpack config\n\n### Common\n\n- [babel-loader](https://github.com/babel/babel-loader) to transpile JavaScript files using babel\n- [clean-webpack-plugin](https://github.com/johnagan/clean-webpack-plugin) to clean build folder\n\n### Dev\n\n- mode set to `development`\n- Inline source maps\n- `postcss-loader` to process CSS with PostCSS\n\n### Prod\n\n- mode set to `production`\n- [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to avoid flash of unstyled content\n\nDev/prod configs are merged with the common config using [webpack-merge](https://github.com/survivejs/webpack-merge).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelhosseiny%2Fes-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelhosseiny%2Fes-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelhosseiny%2Fes-starter-kit/lists"}