/squirrelstrap

Set of Grunt templates for faster front-end web development

Primary LanguagePHPMIT LicenseMIT

Squirrelstrap

This project is obsolete. Now I use Yeoman generators: generator-tamia.

Set of extremely opinionated grunt-init templates for faster front-end web development. You can use them as example or as a base for your own templates.

Installation

  1. Install grunt-init: npm install grunt-init -g.

  2. Place templates into ~/.grunt-init folder.

  3. Edit defaults.json.

Now you can type something like this:

grunt-init templatename

For example grunt-init readme will make Readme.md and License.md files with your copyright information in current folder.

Templates

Note. Some templates can add jQuery, Modernizr or other files when needed.

Install block from my block library.

browse (Experimental)

Magically open website in a browser via development servers. Support Wordpress.

Create fabfile.py for Fabric.

Create Gruntfile.coffee with concat, uglify, jshint, stylus, sweet, fingerprint, imgo and compress tasks (tasks are optional). With watch and web server if needed. Also add .jshintrc and .editorconfig.

Create simple HTML file.

Create HTML file with links to CSS and JS and basic layout.

Create jQuery library (new Pony(), not jquery.fn.pony) with optional AMD support, default options, etc.

Create jQuery plugin (jquery.fn.pony) with optional AMD support, default options, etc.

Create JavaScript module (it’s just JS file with optional AMD wrapper and copyright).

Create License.md file with MIT license text.

Add main.js and utils.js to project. It’s my JavaScript bootstrap.

Create Readme.md file.

Create styles folder with my Stylus bootstrap files.

Install Wordpress: download/extract it, creates MySQL database, updates config file, etc.


License

The MIT License, see the included License.md file.