Yeoman project for setting up a modern build setup for Sitefinity Feather.
- Webpack with support for SASS, ES5 with babel, Spritesmith and image optimization
- Support for Bootstrap/Foundation/SemantecUi/Minimal Feather packages
- Support for previous version of sitefinity/feather
- Webpack Dev Server with support for setting up inline hot reloading
It is assumed that you will be installing feather to ~/ResourcePackages
.
You can being by simply typing yo
and follow the prompts to install feather
.
Or you run the following to first install it globally then start the install
yarn global add generator-feather
yo feather
Once you begin, you may choose which framework you want and which version of feather you want.
Once installed, you will now be able to use yarn to run your project's tasks.
yarn run build
- Uses webpack to compile out to/assets
yarn run build:dev
- Builds a development version to diskyarn run dev
- Starts up a local dev server for the project on http://localhost:8080/yarn run lint
- Lint for code issues using eslintyarn run lintfix
- Fix linting issuesyarn run test
- Built in mocha and unit tests to get you going
The build system is built around Webpack and uses Yarn to manage your dependencies. By default all your code is contained in the src/
folder and starts with src/js/app.js
as it's entry point.
If anything here is confusing or you have an issue, feel free to open an issue on github or check the wiki for help.