forked from mirrors/Scribe.js
Removing old grunt; prepping for tests
This commit is contained in:
parent
547a550a3e
commit
d07ba84707
2 changed files with 0 additions and 56 deletions
44
Gruntfile.js
44
Gruntfile.js
|
@ -1,44 +0,0 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
module.exports = function(grunt) {
|
|
||||||
|
|
||||||
// Project configuration.
|
|
||||||
grunt.initConfig({
|
|
||||||
jshint: {
|
|
||||||
options: {
|
|
||||||
jshintrc: '.jshintrc'
|
|
||||||
},
|
|
||||||
gruntfile: {
|
|
||||||
src: ['scribe.js', 'Gruntfile.js']
|
|
||||||
},
|
|
||||||
lib: {
|
|
||||||
src: ['lib/**/*.js', 'examples/**/*.js', 'static/js/**/*.js']
|
|
||||||
},
|
|
||||||
test: {
|
|
||||||
src: ['test/**/*.js']
|
|
||||||
},
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
gruntfile: {
|
|
||||||
files: '<%= jshint.gruntfile.src %>',
|
|
||||||
tasks: ['jshint:gruntfile']
|
|
||||||
},
|
|
||||||
lib: {
|
|
||||||
files: '<%= jshint.lib.src %>',
|
|
||||||
tasks: ['jshint:lib']
|
|
||||||
},
|
|
||||||
test: {
|
|
||||||
files: '<%= jshint.test.src %>',
|
|
||||||
tasks: ['jshint:test']
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// These plugins provide necessary tasks.
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
|
||||||
|
|
||||||
// Default task.
|
|
||||||
grunt.registerTask('default', ['jshint']);
|
|
||||||
|
|
||||||
};
|
|
12
package.json
12
package.json
|
@ -23,18 +23,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"main": "scribe.js",
|
"main": "scribe.js",
|
||||||
"scripts": {
|
|
||||||
"test": "grunt nodeunit"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"grunt-contrib-jshint": "~0.6.4",
|
|
||||||
"grunt-contrib-nodeunit": "~0.2.0",
|
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
|
||||||
"grunt": "~0.4.5"
|
|
||||||
},
|
|
||||||
"directories": {
|
|
||||||
"test": "test"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"callsite": "^1.0.0",
|
"callsite": "^1.0.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue