Permalink
Browse files

stuff to get started

  • Loading branch information...
1 parent 68cc22b commit ff4084feffdb9af4333fba37fd1ca3b5ad24c89d @jonschlinkert jonschlinkert committed Mar 7, 2013
Showing with 141 additions and 0 deletions.
  1. +15 −0 .jshintrc
  2. +48 −0 Gruntfile.js
  3. +22 −0 LICENSE-MIT
  4. +56 −0 package.json
View
@@ -0,0 +1,15 @@
+{
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "sub": true,
+ "undef": true,
+ "unused": true,
+ "boss": true,
+ "eqnull": true,
+ "node": true,
+ "es5": true
+}
View
@@ -0,0 +1,48 @@
+'use strict';
+
+module.exports = function(grunt) {
+
+ // Project configuration.
+ grunt.initConfig({
+ nodeunit: {
+ files: ['test/**/*_test.js'],
+ },
+ jshint: {
+ options: {
+ jshintrc: '.jshintrc'
+ },
+ gruntfile: {
+ src: 'Gruntfile.js'
+ },
+ lib: {
+ src: ['lib/**/*.js']
+ },
+ test: {
+ src: ['test/**/*.js']
+ },
+ },
+ watch: {
+ gruntfile: {
+ files: '<%= jshint.gruntfile.src %>',
+ tasks: ['jshint:gruntfile']
+ },
+ lib: {
+ files: '<%= jshint.lib.src %>',
+ tasks: ['jshint:lib', 'nodeunit']
+ },
+ test: {
+ files: '<%= jshint.test.src %>',
+ tasks: ['jshint:test', 'nodeunit']
+ },
+ },
+ });
+
+ // These plugins provide necessary tasks.
+ grunt.loadNpmTasks('grunt-contrib-nodeunit');
+ grunt.loadNpmTasks('grunt-contrib-jshint');
+ grunt.loadNpmTasks('grunt-contrib-watch');
+
+ // Default task.
+ grunt.registerTask('default', ['jshint', 'nodeunit']);
+
+};
View
@@ -0,0 +1,22 @@
+Copyright (c) 2013 Jon Schlinkert
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,56 @@
+{
+ "name": "helper",
+ "description": "Library of helpers for popular client-side template engines. Created for Assemble, but can be used with any project.",
+ "version": "0.1.0",
+ "homepage": "https://github.com/assemble/template-helpers",
+ "authors": [
+ {
+ "name": "Brian Woodward",
+ "url": "http://github.com/doowb/"
+ },
+ {
+ "name": "Jon Schlinkert",
+ "url": "http://github.com/jonschlinkert/"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/assemble/template-helpers"
+ },
+ "bugs": {
+ "url": "git://github.com/assemble/template-helpers/isues"
+ },
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "https://github.com/assemble/helper/blob/master/LICENSE-MIT"
+ }
+ ],
+ "main": "lib/helpers",
+ "engines": {
+ "node": ">= 0.8.0"
+ },
+ "scripts": {
+ "test": "grunt nodeunit"
+ },
+ "devDependencies": {
+ "assemble": "0.3.81",
+ "grunt": "~0.4.0",
+ "grunt-contrib-jshint": "~0.1.1",
+ "grunt-contrib-nodeunit": "~0.1.2",
+ "grunt-contrib-watch": "~0.2.0"
+ },
+ "keywords": [
+ "client-side templates",
+ "templates",
+ "handlebars helpers",
+ "handlebars",
+ "helper library",
+ "block helper",
+ "site builder",
+ "example helper",
+ "helper",
+ "helpers",
+ "template helpers"
+ ]
+}

0 comments on commit ff4084f

Please sign in to comment.