Skip to content

Commit

Permalink
grunt server files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gioyik committed Mar 13, 2014
1 parent 50ac879 commit 0ceea86
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/*
34 changes: 34 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: "dist"
},
connect: {
server: {
options: {
port: 3000,
protocol: 'http',
hostname: 'localhost',
base: '.',
debug: false,
livereload: true
}
}
},
watch: {
options: {
livereload: true
},
html: {
files: ['*'],
options: {
spawn: false
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.registerTask('default', ['connect', 'watch']);
};
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "LoquiIM",
"version": "0.3.0",
"description": "FirefoxOS IM chat client",
"author": {
"name": "LoquiIM Community",
"site": "loqui.im"
},
"repository": {
"type": "git",
"url": "https://github.com/loqui/im"
},
"license": {
"type": "AGPL"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-connect": "~0.6.0"
}
}

0 comments on commit 0ceea86

Please sign in to comment.