Skip to content

butterflydevelopment/butterfly-test

 
 

Repository files navigation

#Getting started

This project requires:

Install node dependencies:

npm install

Install bower:

grunt build runs the bower too

To run a grunt build:

grunt build

Then open http://localhost:80 in your web browser

Building the project

The project uses Grunt to compile scss to css, generate sprite, minify and concatenate the assets. The main grunt tasks are:

  • grunt build: runs an entire build from scratch, running all grunt tasks

Single grunt tasks explained

  • grunt jshint: runs jshint on javascript files before any concat and uglify tasks
  • grunt concat: Copies assets from bower_components into the public site structure
  • grunt uglify: Minifies all javascript in the public directory
  • grunt sass: Compiles the source SASS files into CSS, placing them in the public directory
  • grunt cssmin: Minifies all the CSS in the public directory
  • bower-install-simple: Download vendor from bower
  • autoprefixer: Add a all browser prefixer on css
  • sprite: sprite generator
  • conect: create local server

Author

  • Somy Taheri

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 78.2%
  • JavaScript 11.7%
  • CSS 10.1%