Slinto DevStack is my simple automated DevStack for creating Node.js apps including:
- Express - web application framework for node
- Webpack - Module bundler
- Babel - Next generation JavaScript ES2015+
- Stylus — expressive, robust, feature-rich CSS preprocessor
- nib - CSS3 extensions for Stylus
- Jade - Template Engine
- Mongoose
- Nodemon
- Mocha - test framework
- CSS3 Autoprefixer
- Image minifier
- i18n
- Livereloading (Good with Google Chrome Extension)
npm install -g gulp
npm install -g bower
git clone [email protected]:slinto/slinto-devstack.git
cd slinto-devstack
npm install && bower install
Run server, nodemon for automatically reload node.js app, livereloading when is jade, js or css changed and run JSHint. Automatic compilation of Stylus code and automatic creating of google deps file.
gulp
Type gulp
or gulp server
and open localhost:8080 in your browser.
Compilation of Stylus code, minifying CSS code, image minifying and run Google Closure Compiler.
gulp build
App building, version bump, commit and push to git repository.
gulp release --version major|minor|patch
or
gulp release -v major|minor|patch
Call ulimit -n 10240
or gulp set-ulimit
.
For automatic setup on start, call gulp server-ulimit
instead gulp server