{"id":13628002,"url":"https://github.com/spacejack/mithril-browserify-ts-budo","last_synced_at":"2025-04-17T00:32:58.850Z","repository":{"id":20701063,"uuid":"90664511","full_name":"spacejack/mithril-browserify-ts-budo","owner":"spacejack","description":"Mithril, Browserify-HMR, TS, Budo, PostCSS starter project","archived":false,"fork":false,"pushed_at":"2022-12-10T16:12:12.000Z","size":1021,"stargazers_count":19,"open_issues_count":14,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T21:52:36.141Z","etag":null,"topics":["browserify","mithriljs","postcss","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/spacejack.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":"2017-05-08T19:24:00.000Z","updated_at":"2023-05-23T22:39:33.000Z","dependencies_parsed_at":"2023-01-11T20:56:47.413Z","dependency_job_id":null,"html_url":"https://github.com/spacejack/mithril-browserify-ts-budo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fmithril-browserify-ts-budo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fmithril-browserify-ts-budo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fmithril-browserify-ts-budo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fmithril-browserify-ts-budo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacejack","download_url":"https://codeload.github.com/spacejack/mithril-browserify-ts-budo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223735225,"owners_count":17194066,"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":["browserify","mithriljs","postcss","typescript"],"created_at":"2024-08-01T22:00:42.571Z","updated_at":"2024-11-08T18:31:14.520Z","avatar_url":"https://github.com/spacejack.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Mithril / Typescript / Browserify / HMR / Budō\n\nThis is a starter project for [Mithril](https://mithril.js.org/), Typescript, Browserify with hot-module-replacement and [Budō](https://github.com/mattdesl/budo) local dev server for hot CSS reloading.\n\nThis project also uses PostCSS for CSS compilation.\n\nThis repo also contains a branch that performs code-splitting (separating your app and vendor bundles.)\n\n\tgit checkout code-split\n\nAnd a Babel branch for plain ES20XX instead of Typescript.\n\n\tgit checkout babel\n\nNote that each branch has different npm dependencies so you will need to run `npm install` for the branch you want to use.\n\n## Install\n\n\tnpm install\n\n### Recommended VSCode Extensions\n\n* tslint\n* eslint\n* stylelint\n* postcss-sugarss-language\n* EditorConfig\n\n(Or equivalents for your preferred editor/IDE.)\n\n## Run \u0026 Develop\n\n\tnpm start\n\nThen go to http://localhost:3000 in your browser\n\n## Build Minified\n\n\tnpm run build\n\nOutputs compiled JS to `public/js` and CSS to `public/css`.\n\n---\n\n## Using this repo to start your own project\n\nTo use this repo to create your own project follow these steps.\n\n1 - Clone this repo into a directory with a custom name (eg. `your-project-name` instead of the default `mithril-browserify-ts-budo`)\n\n```\ngit clone https://github.com/spacejack/mithril-browserify-ts-budo.git your-project-name\n```\n\n2 - `cd` into this new directory\n\n```\ncd your-project-name\n```\n\n3 - Remove the `.git` directory so it is no longer linked to this repo:\n\n```\nrm -fr .git\n```\n\n4 - Initialize it as a new git repo and point it at your own remote (assumes you've created one on Github, Bitbucket, Gitlab, etc.):\n\n```\ngit init\ngit remote add origin \u003cyour-repo-url\u003e\ngit add .\ngit commit -m \"Initial commit\"\ngit push -u origin master\n```\n\nNow you can follow the [install](#install) instructions above.\n\n---\n\nFor a more barebones Mithril/Typescript example (no PostCSS, no live-reload/HMR) take a look at [this repo](https://github.com/spacejack/mithril-ts-example).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacejack%2Fmithril-browserify-ts-budo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacejack%2Fmithril-browserify-ts-budo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacejack%2Fmithril-browserify-ts-budo/lists"}