Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathanielinman/mithril-boilerplate
Mithril boilerplate with webpack, pug and stylus
https://github.com/nathanielinman/mithril-boilerplate
autoprefixer boilerplate eslint jsx mithril postcss pug stylus webpack
Last synced: 23 days ago
JSON representation
Mithril boilerplate with webpack, pug and stylus
- Host: GitHub
- URL: https://github.com/nathanielinman/mithril-boilerplate
- Owner: NathanielInman
- Created: 2018-05-10T17:26:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-12T14:53:30.000Z (over 2 years ago)
- Last Synced: 2024-11-07T20:55:12.991Z (3 months ago)
- Topics: autoprefixer, boilerplate, eslint, jsx, mithril, postcss, pug, stylus, webpack
- Language: Pug
- Size: 59.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mithril Project Boilerplate
This is a simple boilerplate with a single `app.js`.
## Technologies used (easy to swap any out.)
- [Mithril](https://mithril.js.org/) light and modern frontend framework
- [Pug](https://pugjs.org/) html templating (converts pug->jsx)
- [Stylus](http://stylus-lang.com/) stylesheet templating
- [Webpack](https://webpack.js.org/) bundler
- [Babel](https://babeljs.io/) javascript transpiler
- [Eslint](https://eslint.org/) javascript linter
- [PostCSS](https://github.com/postcss/postcss) allows smart css transforms
- [Autoprefixer](https://github.com/postcss/autoprefixer) auto css prefixes
- [Browsersync](https://browsersync.io/) auto-reload on saved changes## Creating a repo based on this boilerplate
**Cloning the boilerplate remote repo**
```
git clone -o mithril-boilerplate https://github.com/NathanielInman/mithril-boilerplate.git [new-project repo folder name]
```**Enter the cloned repo folder**
```
cd [new-project repo folder name]
```**Clean the README**
```
rm README.md && touch README.md
```**If you have LICENSE, you can clean it too.**
```
rm LICENSE
touch LICENSE
```**Remove all git info from the boilerplate**
```
rm -rf .git
```**Initiate the new git repo**
```
git init
git add -A
git commit -m "first commit"
git remote add origin [new-project repo folder name]
git push -u origin master
```