-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb2c202
commit 2ca1777
Showing
5 changed files
with
92 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
|
||
*.diff | ||
*.patch | ||
.DS_Store | ||
node_modules | ||
bower_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- 0.10 | ||
|
||
install: | ||
- npm install grunt-cli -g | ||
- npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
module.exports = function( grunt ) { | ||
|
||
// Initial config | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
// Compress scripts | ||
uglify: { | ||
options: { | ||
preserveComments: false, | ||
banner: "/*!\n" + | ||
"* Gillie JavaScript Library <%= pkg.version %>" + | ||
"\n* " + | ||
"<%= pkg.homepage %>" + | ||
"\n" + | ||
"*/" + | ||
"\n" | ||
}, | ||
dist: { | ||
files: { | ||
'gillie.min.js': ['gillie.js'] | ||
} | ||
} | ||
}, | ||
|
||
// Run QUnit tests | ||
qunit: { | ||
files: [ 'tests/index.html' ] | ||
} | ||
}); | ||
|
||
|
||
// Load tasks | ||
grunt.loadNpmTasks( 'grunt-contrib-qunit' ); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
|
||
// Default task | ||
grunt.registerTask( 'default', [ 'qunit', 'uglify' ] ); | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "gillie", | ||
"title": "Gillie", | ||
"version": "0.2.0", | ||
"description": "JavaScript MVC Microframework", | ||
"homepage": "http://pablovallejo.github.io/gillie", | ||
"directories": { | ||
"example": "examples", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "grunt" | ||
}, | ||
"dependecies": {}, | ||
"devDependencies": { | ||
"grunt": "0.4.4", | ||
"grunt-contrib-qunit": "0.4.0", | ||
"grunt-contrib-uglify": "0.4.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/PabloVallejo/gillie.git" | ||
}, | ||
"keywords": [ | ||
"mvc", | ||
"framework", | ||
"request" | ||
], | ||
"author": { | ||
"name": "Pablo Vallejo", | ||
"email": "[email protected]", | ||
"url": "http://pablovallejo.me" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/PabloVallejo/gillie/issues" | ||
} | ||
} |