This is a simple boilerplate with a single app.js
.
- Mithril light and modern frontend framework
- Pug html templating (converts pug->jsx)
- Stylus stylesheet templating
- Webpack bundler
- Babel javascript transpiler
- Eslint javascript linter
- PostCSS allows smart css transforms
- Autoprefixer auto css prefixes
- Browsersync auto-reload on saved changes
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