Spin.js - is a tool that sets up great JavaScript build infrastructure for you
Installation
npm install -g spinjs
Basic Usage
The idea behind spin.js
is very simple. You add into your package.json
the property spin
that describes your stack:
{
"spin": "webpack:es6:apollo:react:styled-components:sass:server"
}
and you are all set.
You can then execute
spin watch
to launch your project in webpack watch
mode for development. After making changes to your code, they will be
automatically reloaded from disk using Webpack Hot Module Replacement.
spin build
will build your project for production environment.
spin test "src/**/*.spec.js"
will run tests located in .spec.js
files via Mocha Webpack.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
Copyright © 2017 SysGears INC. This source code is licensed under the MIT license.