Skip to content

Instantly share code, notes, and snippets.

@jtenner
Created June 18, 2014 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtenner/32361f8df3c291faa731 to your computer and use it in GitHub Desktop.
Save jtenner/32361f8df3c291faa731 to your computer and use it in GitHub Desktop.
/* jshint node: true */
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
nodewebkit: {
options: {
build_dir: './webkitbuilds',
mac: true,
win: true,
linux32: true,
linux64: true,
version: '0.9.2',
app_name: 'FantasiaIRC'
},
src: [
'./package.json',
'./*.html',
'./script/*.js',
'./style/*.css',
'./node_modules/**',
'./bower_components/**',
'./index.js'
]
},
});
grunt.loadNpmTasks('grunt-node-webkit-builder');
grunt.registerTask('default', 'nodewebkit');
};
{
"name": "FantasiaIRC",
"version": "0.1.0",
"description": "Plug And Play node-webkit irc script runner",
"main": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm install -g grunt gulp && gulp && grunt"
},
"author": "Joshua Tenner",
"license": "MIT",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-node-webkit-builder": "^0.1.21",
"gulp": "^3.8.0",
"node-webkit-builder": "0.0.2"
},
"window": {
"title": "FantasiaIRC",
"toolbar": true,
"frame": true,
"width": 768,
"height": 432,
"position": "mouse",
"min_width": 768,
"min_height": 432,
"resizable": true,
"show": true
},
"dependencies": {
"irc": "^0.3.7",
"starshine": "^0.1.0"
},
"node-main": "index.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment