wildstring
Advanced tools
Comparing version
@@ -36,3 +36,3 @@ 'use strict'; | ||
options: { | ||
reporter: 'nyan', | ||
reporter: 'spec', | ||
'harmony-generators': true | ||
@@ -42,2 +42,19 @@ }, | ||
}, | ||
karma: { | ||
unit: { | ||
options: { | ||
files: [ | ||
'node_modules/angular/angular.js', | ||
'node_modules/angular-mocks/angular-mocks.js', | ||
'wildstring.js', | ||
'karma-test/**/*.js' | ||
], | ||
reporters: 'mocha', | ||
frameworks: ['mocha', 'chai'], | ||
singleRun: true, | ||
browsers: ['PhantomJS'], | ||
logLevel: 'ERROR' | ||
}, | ||
} | ||
}, | ||
watch: { | ||
@@ -71,5 +88,8 @@ gruntfile: { | ||
grunt.registerTask('default', ['jshint', 'mochacli']); | ||
grunt.loadNpmTasks('grunt-karma'); | ||
grunt.registerTask('test', ['karma', 'mochacli']); | ||
grunt.registerTask('default', ['jshint', 'test']); | ||
grunt.registerTask('document', ['jsdoc']); | ||
grunt.registerTask('update', ['document', 'versioner:default']); | ||
}; |
{ | ||
"name": "wildstring", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Simple String Wildcard Handling", | ||
@@ -13,5 +13,9 @@ "main": "wildstring.js", | ||
}, | ||
"keywords": ["wildcard", "string", "interpolation"], | ||
"keywords": [ | ||
"wildcard", | ||
"string", | ||
"interpolation" | ||
], | ||
"author": { | ||
"name":"Ted", | ||
"name": "Ted", | ||
"email": "suicidolt@gmail.com", | ||
@@ -26,2 +30,5 @@ "url": "https://github.com/deltreey" | ||
"devDependencies": { | ||
"angular": "^1.4.4", | ||
"angular-mocks": "^1.4.4", | ||
"chai": "^3.2.0", | ||
"grunt-cli": "^0.1.13", | ||
@@ -32,8 +39,16 @@ "grunt-contrib-jshint": "^0.11.0", | ||
"grunt-jsdoc": "^0.6.7", | ||
"grunt-karma": "^0.12.0", | ||
"grunt-mocha-cli": "^1.12.0", | ||
"grunt-versioner": "^0.1.7", | ||
"jshint-stylish": "^1.0.1", | ||
"karma": "^0.13.9", | ||
"karma-chai": "^0.1.0", | ||
"karma-mocha": "^0.2.0", | ||
"karma-mocha-reporter": "^1.1.1", | ||
"karma-phantomjs-launcher": "^0.2.1", | ||
"load-grunt-tasks": "^3.1.0", | ||
"mocha": "^2.2.5", | ||
"phantomjs": "^1.9.18", | ||
"time-grunt": "^1.1.0" | ||
} | ||
} |
@@ -6,3 +6,3 @@ 'use strict'; | ||
describe('wildstring', function() { | ||
describe('wildstring - node', function() { | ||
it('should create an object and set a default wildcard', function() { | ||
@@ -9,0 +9,0 @@ assert.equal(wildstring.wildcard, '*'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3210743
0.37%54
1.89%123125
0.21%21
110%