Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit f0d8d25

Browse files
author
Jim Heising
committed
initial work for grunt integration
1 parent 64845dd commit f0d8d25

14 files changed

+48
-10
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.idea
1+
.idea
2+
node_modules

Gruntfile.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = function(grunt) {
2+
grunt.initConfig({
3+
pkg: grunt.file.readJSON('package.json'),
4+
concat: {
5+
css: {
6+
src: [
7+
'css/*'
8+
],
9+
dest: 'combined.css'
10+
},
11+
js : {
12+
src : [
13+
'js/*'
14+
],
15+
dest : 'combined.js'
16+
}
17+
},
18+
});
19+
20+
grunt.loadNpmTasks('grunt-contrib-concat');
21+
grunt.loadNpmTasks('grunt-contrib-uglify');
22+
grunt.loadNpmTasks('grunt-contrib-watch');
23+
grunt.loadNpmTasks('grunt-contrib-cssmin');
24+
grunt.registerTask('default', [ 'concat:css', 'cssmin:css', 'concat:js', 'uglify:js' ]);
25+
};
File renamed without changes.

js/head.js js/thirdparty/head.js

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

js/raphael.2.1.0.min.js js/thirdparty/raphael.2.1.0.min.js

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

package.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name" : "freeboard",
3+
"title" : "freeboard",
4+
"version" : "1.1.0",
5+
"devDependencies": {
6+
"grunt": "0.4.1",
7+
"grunt-contrib-concat": "0.1.3",
8+
"grunt-contrib-cssmin" : "0.6.1",
9+
"grunt-contrib-watch" : "0.5.3",
10+
"grunt-contrib-uglify" : "0.2.0"
11+
}
12+
}

0 commit comments

Comments
 (0)