{"id":19238305,"url":"https://github.com/olical/bastion-example","last_synced_at":"2026-06-19T15:01:38.803Z","repository":{"id":66128218,"uuid":"60904361","full_name":"Olical/bastion-example","owner":"Olical","description":"An example project using all aspects of bastion","archived":false,"fork":false,"pushed_at":"2016-06-14T22:12:31.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T13:52:25.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/Olical/bastion","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/Olical.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":"2016-06-11T11:38:07.000Z","updated_at":"2016-06-12T13:49:09.000Z","dependencies_parsed_at":"2023-02-21T20:30:46.891Z","dependency_job_id":null,"html_url":"https://github.com/Olical/bastion-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Olical/bastion-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fbastion-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fbastion-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fbastion-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fbastion-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Olical","download_url":"https://codeload.github.com/Olical/bastion-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fbastion-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34536283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2024-11-09T16:30:38.856Z","updated_at":"2026-06-19T15:01:38.786Z","avatar_url":"https://github.com/Olical.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bastion-example\n\nSay hello to [bastion][]! It builds JavaScript related things for you with zero configuration. Don't worry, there's a powerful configuration file, but the defaults are pretty great!\n\n## What's this?\n\nIn this repository you'll find Elm and React code side by side with hot module reloading. That means you can change the code and it'll update live in your browser without losing the state.\n\nThe only configuration is a couple of simple lines in `bastion.conf.js`, you don't even need that if you just want a simple JavaScript application. You could still use React without this configuration file, the live reloading just wouldn't maintain state.\n\nThat configuration calls the pre-built mixins for React HMR and seamless Elm support, again with HMR. I hope to add more of these for things like CSS and image importing.\n\n## Usage\n\nYou can compile the code into `./dist/bundle.js` with `make build`. If you have bastion installed globally you can just run `bastion`, that's all the makefile is doing.\n\nThere's also `make dev` which just maps to `bastion --dev`. This starts the dev server (at port `8080` by default) and will automatically hot reload modules as you change them.\n\n## Want to know more?\n\nCheck out the [bastion][] repository as well as the files within this one. Especially `bastion.conf.js`, `Makefile` and `./src/entry.js`.\n\n[bastion]: https://github.com/Olical/bastion\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fbastion-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folical%2Fbastion-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fbastion-example/lists"}