Grunt updates and travis build integration
Change-Id: Ia479b903908f01e82750e9e35dff6c6aef6c36ae
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1 +1,4 @@
|
||||
/node_modules
|
||||
*~
|
||||
.*.swp
|
||||
*.kate-swp
|
||||
*.bak
|
||||
|
||||
5
.travis.yml
Normal file
5
.travis.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 0.8
|
||||
before_script:
|
||||
- "git submodule update --init"
|
||||
5
grunt.js
5
grunt.js
@@ -33,6 +33,9 @@ module.exports = function(grunt) {
|
||||
dest : 'dist/<%= pkg.name %>.min.js'
|
||||
}
|
||||
},
|
||||
qunit : {
|
||||
files : [ 'test/**/*.html' ]
|
||||
},
|
||||
cssmin : {
|
||||
dist: {
|
||||
src : '<config:concat.css.dest>',
|
||||
@@ -82,4 +85,6 @@ module.exports = function(grunt) {
|
||||
});
|
||||
// Default task.
|
||||
grunt.registerTask('default', 'lint cssmin concat min csslint');
|
||||
grunt.registerTask('test', 'lint qunit');
|
||||
|
||||
};
|
||||
|
||||
@@ -24,7 +24,9 @@
|
||||
"Santhosh Thottingal",
|
||||
"Siebrand Mazeland"
|
||||
],
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"jQuery": "~1.7.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "~0.3.9",
|
||||
"grunt-compare-size": ">=0.1.4",
|
||||
@@ -49,5 +51,8 @@
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/wikimedia/jquery.uls/blob/master/MIT-LICENSE"
|
||||
}
|
||||
]
|
||||
],
|
||||
"scripts": {
|
||||
"test": "grunt test --verbose"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user