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
-
Install grunt-init:
npm install grunt-init -g
. -
Place templates into
~/.grunt-init
folder. -
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.
block
Install block from my block library.
browse (Experimental)
Magically open website in a browser via development servers. Support Wordpress.
fabfile
Create fabfile.py
for Fabric.
gruntfile
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
.
html
Create simple HTML file.
htmlplus
Create HTML file with links to CSS and JS and basic layout.
jquerylib
Create jQuery library (new Pony()
, not jquery.fn.pony
) with optional AMD support, default options, etc.
jqueryplugin
Create jQuery plugin (jquery.fn.pony
) with optional AMD support, default options, etc.
jsmodule
Create JavaScript module (it’s just JS file with optional AMD wrapper and copyright).
license
Create License.md
file with MIT license text.
mainjs
Add main.js
and utils.js
to project. It’s my JavaScript bootstrap.
readme
Create Readme.md
file.
stylusdir
Create styles
folder with my Stylus bootstrap files.
wordpress
Install Wordpress: download/extract it, creates MySQL database, updates config file, etc.
License
The MIT License, see the included License.md
file.