Whenever I start developing a new project, it really takes me quite a lot of time to set up neccessary tools. In this repo, I would like to share the great tools which I have been using to build the Website. Plus, they were also standardized so that I totally develop the Website with high quality.
- Bower for front-end package management
- Grunt for running automation JavaScript tasks
- grunt-autoprefixer for parses CSS and adds vendor-prefixed CSS properties using the Can I Use database.
- grunt-contrib-compress for compress files and folders
- grunt-contrib-copy for copy files and folders
- grunt-contrib-concat for concatenate files
- grunt-contrib-uglify for minify files with UglifyJS
- grunt-contrib-jshint for validate files with JSHint
- grunt-contrib-less for compile LESS files to CSS
- grunt-contrib-watch for run tasks whenever watched files change
- grunt-git-deploy for deploy files to any branch of any remote git repository
- load-grunt-tasks for load multiple grunt tasks using globbing patterns
- time-grunt for display the elapsed execution time of grunt tasks
- Gitignore for determine which files and directories to ignore, before you make a commit
- Editor Config for configuring the editor according to the same standard
Your Computer must setup those tools before start develop this theme:
- Node.js
- Git CMD (For Windows, you must install Git Bash)
- Grunt-CLI: Open CMD (on Windows) or Termnial (Mac and Linux) type
npm install -g grunt-cli - Sublime Text
- Sublime Package Control
- Editor Config Sublime (You can install via Sublime Package Control)
From the command line, navigate to the theme directory
- Run
npm installto install Node modules - Run
bower installto install front-end packages - Run
git submodule initand thengit submodule updateto clone Git Sub-Modules
When completed, you'll be able to run the various Grunt commands provided from the command line:
grunt watch— Compile assets when file changes are made
Regarding Sublime Text Editor, you can install a plugin named Editor Config Sublime into Sublime via Package Control.