Permalink
Browse files

folders rearranged and qunit added

  • Loading branch information...
1 parent b25d881 commit 726c2c838fa3239696a2323461830a876c5178d9 @creativeaura committed Jul 23, 2014
View
@@ -9,7 +9,7 @@ insert_final_newline = true
; Tab indentation (no size specified)
[*.js]
-indent_style = tab
+indent_style = space
; Indentation override for all JS under lib directory
[lib/**.js]
View
@@ -6,3 +6,4 @@ npm-debug.log
node_modules
.idea
deploy
+bower_components
View
@@ -33,12 +33,12 @@ require('time-grunt')(grunt);
},
watch: {
css: {
- files: 'styles/*.less',
+ files: 'src/styles/*.less',
tasks: ['less']
},
scripts: {
- files: 'src/**/*.js',
- tasks: ['jshint'],
+ files: ['src/**/*.js', 'tests/**/*.js'],
+ tasks: ['jshint', 'qunit'],
options: {
debounceDelay: 250
}
@@ -59,15 +59,6 @@ require('time-grunt')(grunt);
src: ['src/**/*.js']
}
},
- jasmine: {
- pivotal: {
- src: ['demo/js/jquery-1.8.3.min.js', 'src/**/*.js'],
- options: {
- specs: 'tests/spec/*Spec.js',
- helpers: 'tests/spec/*Helper.js'
- }
- }
- },
bump: {
options: {
files: ['package.json', 'bower.json'],
@@ -90,6 +81,9 @@ require('time-grunt')(grunt);
{expand: true, flatten: true, src: ['dist/threesixty.min.js'], dest: 'deploy/js/', filter: 'isFile'}
]
}
+ },
+ qunit: {
+ all: ['tests/**/*.html']
}
});
View
@@ -21,9 +21,10 @@
"grunt-contrib-jshint": "~0.6.2",
"time-grunt": "~0.1.0",
"load-grunt-tasks": "~0.2.0",
- "grunt-contrib-jasmine": "~0.5.2",
"grunt-bump": "0.0.11",
"grunt-usemin": "~2.1.1",
- "grunt-contrib-copy": "~0.5.0"
+ "grunt-contrib-copy": "~0.5.0",
+ "grunt-contrib-qunit": "~0.5.2",
+ "qunitjs": "~1.14.0"
}
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Oops, something went wrong.

0 comments on commit 726c2c8

Please sign in to comment.