{"id":13394402,"url":"https://github.com/elm-community/elm-webpack-starter","last_synced_at":"2025-04-04T01:08:43.419Z","repository":{"id":66269497,"uuid":"48860215","full_name":"elm-community/elm-webpack-starter","owner":"elm-community","description":"Boilerplate for developing Elm apps on Webpack","archived":false,"fork":false,"pushed_at":"2021-12-12T20:40:22.000Z","size":498,"stargazers_count":861,"open_issues_count":10,"forks_count":107,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-10-30T05:57:43.262Z","etag":null,"topics":["elm","webpack"],"latest_commit_sha":null,"homepage":"http://elm-community.org/elm-webpack-starter/","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/elm-community.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}},"created_at":"2015-12-31T19:32:20.000Z","updated_at":"2024-08-21T08:06:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a76b5ab-5058-4233-9ac1-1e19008cab03","html_url":"https://github.com/elm-community/elm-webpack-starter","commit_stats":null,"previous_names":["moarwick/elm-webpack-starter"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm-community%2Felm-webpack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm-community%2Felm-webpack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm-community%2Felm-webpack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm-community%2Felm-webpack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elm-community","download_url":"https://codeload.github.com/elm-community/elm-webpack-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103307,"owners_count":20884023,"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":["elm","webpack"],"created_at":"2024-07-30T17:01:18.233Z","updated_at":"2025-04-04T01:08:43.386Z","avatar_url":"https://github.com/elm-community.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# elm-webpack-starter\n\n\n### About:\nA simple Webpack setup for writing [Elm](http://elm-lang.org/) apps:\n\n* Dev server with live reloading, HMR\n* Support for CSS/SCSS (with Autoprefixer), image assets\n* Bootstrap 3.3+ (Sass version)\n* Bundling and minification for deployment\n* Basic app scaffold, using `Html.beginnerProgram`\n* A snippet of example code to get you started!\n\n\n### Install:\nClone this repo into a new project folder, e.g. `my-elm-project`:\n```\ngit clone https://github.com/moarwick/elm-webpack-starter my-elm-project\ncd my-elm-project\n```\n\nRe-initialize the project folder as your own repo:\n```\nrm -rf .git         # on Windows: rmdir .git /s /q\ngit init\ngit add .\ngit commit -m 'first commit'\n```\n\nInstall all dependencies using the handy `reinstall` script:\n```\nnpm run reinstall\n```\n*This does a clean (re)install of all npm and elm packages, plus a global elm install.*\n\n\n### Serve locally:\n```\nnpm start\n```\n* Access app at `http://localhost:8080/`\n* Get coding! The entry point file is `src/elm/Main.elm`\n* Browser will refresh automatically on any file changes..\n\n\n### Build \u0026 bundle for prod:\n```\nnpm run build\n```\n\n* Files are saved into the `/dist` folder\n* To check it, open `dist/index.html`\n\n\n### Changelog\n\n**Ver 0.8.6**\n* Update Packages (-\u003e Webpack 2)\n* fix paths in file-loader\n* clean up build script\n\n**Ver 0.8.5**\n* Fix loading path of generated js file, per [Issue 47](https://github.com/moarwick/elm-webpack-starter/issues/47)\n\n**Ver 0.8.4**\n* Fix hot reloading of components, per [Issue 44](https://github.com/moarwick/elm-webpack-starter/issues/44)\n\n**Ver 0.8.3**\n* Update packages\n* Attempt to fix path issues when building for prod (temp)\n\n**Ver 0.8.2**\n* Webpack config improvements (PR by [Lesuk](https://github.com/moarwick/elm-webpack-starter/pull/39))\n\n**Ver 0.8.0**\n* Update to Elm 0.18, use `debug=true` on webpack loader (PR by [douglascorrea](https://github.com/moarwick/elm-webpack-starter/pull/33))\n* Add a script for one-step installs\n* Update to latest packages\n\n**Ver 0.7.1**\n* Fix favicon issues, per [Issue 30](https://github.com/moarwick/elm-webpack-starter/issues/30)\n\n**Ver 0.7.0**\n* Modify project structure, per [Issue 26](https://github.com/moarwick/elm-webpack-starter/issues/26)\n* Include Bootstrap JS, per [Issue 28](https://github.com/moarwick/elm-webpack-starter/issues/28)\n* More helpful install steps in README, per [Issue 29](https://github.com/moarwick/elm-webpack-starter/issues/29)\n* Update to latest packages\n\n**Ver 0.6.2**\n* Use `copy-webpack-plugin` instead of `cp` to copy files (Windows compatible)\n\n**Ver 0.6.0**\n* `elm-hot-loader` is back (no Elm code changes required!)\n* Switch to [bootstrap-sass](https://www.npmjs.com/package/bootstrap-sass) to demo CSS\n\n**Ver 0.5.0**\n* Update to Elm 0.17.0 (and other latest modules)\n* Upgrade starter code per [upgrade-docs](https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md)\n* Remove `elm-hot-loader` (for now)\n\n**Ver 0.4.0**\n* Add [elm-hot-loader](https://github.com/fluxxu/elm-hot-loader) for HMR support (PR by [fluxxu](https://github.com/fluxxu))\n\n**Ver 0.3.0**\n* Use `html-webpack-plugin` to generate `index.html`\n* Apply hash filenames for bundled JS and CSS (prevents caching)\n* Image and favicon assets copied to `dist/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felm-community%2Felm-webpack-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felm-community%2Felm-webpack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felm-community%2Felm-webpack-starter/lists"}