Skip to content

Commit

Permalink
Initial package/grunt setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chesleybrown committed Jun 20, 2015
1 parent a126b1f commit 1033dc9
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ build/Release
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

# OSX
*.DS_Store

# Windows
Thumbs.db
24 changes: 24 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
'use strict';

module.exports = function (grunt) {
grunt.loadTasks('tasks');
require('load-grunt-tasks')(grunt);

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
tabs4life: {
self: {
src: [
'.gitignore',
'Gruntfile.js',
'LICENSE',
'tasks/**/*.js',
'README.md',
'test/*.js'
]
}
}
});

grunt.registerTask('default', ['tabs4life:self']);
};
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ 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.

35 changes: 35 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "grunt-hercule",
"description": "Grunt task that wraps hercule for simple document transclusion, ideal for Markdown documents.",
"version": "0.0.1",
"author": {
"name": "Chesley Brown",
"email": "[email protected]",
"url": "http://www.chesleybrown.ca"
},
"engines": {
"node": ">=0.12.0"
},
"repository": {
"type": "git",
"url": "https://github.com/chesleybrown/grunt-hercule.git"
},
"license": "MIT",
"scripts": {
"test": "mocha"
},
"dependencies": {
"grunt-tabs4life": "^1.0.11",
"hercule": "^0.2.3"
},
"devDependencies": {
"chai": "^2.1.1",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"load-grunt-tasks": "^3.1.0",
"mocha": "^2.0.1"
},
"files": [
"tasks"
]
}

0 comments on commit 1033dc9

Please sign in to comment.