mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
updating gruntfile & travis install & npm test command
This commit is contained in:
parent
b98ae8ab1d
commit
5c17052bb5
@ -2,5 +2,5 @@ language: node_js
|
||||
node_js:
|
||||
- 0.8
|
||||
before_script:
|
||||
- "npm install -g grunt"
|
||||
- "npm install -g grunt-cli"
|
||||
- "npm install"
|
||||
|
@ -1,4 +1,6 @@
|
||||
module.exports = function (grunt) {
|
||||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
|
||||
|
||||
grunt.initConfig({
|
||||
coffee: {
|
||||
lib: {
|
||||
@ -42,15 +44,11 @@ module.exports = function (grunt) {
|
||||
run: true
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
npm: {
|
||||
files: ['lib/**/*.coffee', 'spec/lib/**/*.coffee', 'spec/support/**/*.coffee', 'less/**/*.less'],
|
||||
tasks: 'default'
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-coffee');
|
||||
grunt.loadNpmTasks('grunt-mocha');
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
|
||||
grunt.registerTask('default', 'concat coffee less min mocha');
|
||||
};
|
10
package.json
10
package.json
@ -15,12 +15,14 @@
|
||||
"url": "https://github.com/oesmith/morris.js/issues"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt-coffee": "~> 0.0.6",
|
||||
"grunt-mocha": "~> 0.1.7",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-mocha": "~0.4.1",
|
||||
"grunt-contrib-less": "~> 0.3.2",
|
||||
"grunt": "~> 0.3.17"
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
"grunt-coffee": "0.0.6",
|
||||
"matchdep": "~0.1.2"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "./node_modules/.bin/grunt coffee mocha"
|
||||
"test": "grunt coffee mocha"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user