Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4479ded
initial package file
ntschutta Nov 12, 2013
eb6d10d
updated package file after installing grunt
ntschutta Nov 12, 2013
de65675
empty Gruntfile
ntschutta Nov 12, 2013
dfc76dc
added wrapper function
ntschutta Nov 12, 2013
030e01e
added initial grunt config
ntschutta Nov 12, 2013
2504864
tweak
ntschutta Nov 12, 2013
456bb7f
added jasmine standalone
ntschutta Nov 12, 2013
f080e50
added spec runner code snippet
ntschutta Nov 13, 2013
547a6c6
added simple spec snippet
ntschutta Nov 13, 2013
c46b90c
added test folder structure, runner, simple test
ntschutta Nov 14, 2013
ef3afb7
added jasmine standalone
ntschutta Nov 12, 2013
4d47500
added spec runner code snippet
ntschutta Nov 13, 2013
7ca0fa7
added simple spec snippet
ntschutta Nov 13, 2013
3eeb0d5
added various snippet files
ntschutta Nov 14, 2013
da87fa4
added test folder structure, runner, simple test
ntschutta Nov 14, 2013
1f7d493
fixed
ntschutta Nov 14, 2013
8581806
initial karma config
ntschutta Nov 14, 2013
87445f7
updated with proper file config
ntschutta Nov 14, 2013
c7cede1
initial package file
ntschutta Nov 12, 2013
beade66
updated package file after installing grunt
ntschutta Nov 12, 2013
6672b43
empty Gruntfile
ntschutta Nov 12, 2013
8d96c93
added wrapper function
ntschutta Nov 12, 2013
ea5f4ff
added initial grunt config
ntschutta Nov 12, 2013
95f79de
tweak
ntschutta Nov 12, 2013
623fdc5
added test folder structure, runner, simple test
ntschutta Nov 14, 2013
d18caca
initial karma config
ntschutta Nov 14, 2013
f58b197
updated with proper file config
ntschutta Nov 14, 2013
0acabd0
Merge branch 'karma-init' of github.com:ntschutta/js-dev-toolchain-wo…
ntschutta Nov 14, 2013
71385fd
Merge branch 'master' into karma-init
ntschutta Nov 15, 2013
4a43d51
Merge branch 'master' into karma-init
ntschutta Dec 4, 2013
3017144
Merge branch 'master' into karma-init
ntschutta Dec 4, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json')
});

};
74 changes: 74 additions & 0 deletions app/my.todo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
// Karma configuration
// Generated on Wed Nov 13 2013 21:42:40 GMT-0600 (CST)

module.exports = function(config) {
config.set({

// base path, that will be used to resolve files and exclude
basePath: '',


// frameworks to use
frameworks: ['jasmine'],


// list of files / patterns to load in the browser
files: [
{pattern: 'index.html', watched: false, included: false, served: true},
'lib/jquery.js',
'lib/underscore.js',
'lib/backbone.js',
'lib/backbone.localStorage.js',
'test/lib/jasmine-html.js',
{pattern: 'todos.js', watched: true, included: false, served: true},
'test/**/*Spec.js'
],

// list of files to exclude
exclude: [

],


// test results reporter to use
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
reporters: ['progress'],


// web server port
port: 9876,


// enable / disable colors in the output (reporters and logs)
colors: true,


// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,


// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,


// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera (has to be installed with `npm install karma-opera-launcher`)
// - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`)
// - PhantomJS
// - IE (only Windows; has to be installed with `npm install karma-ie-launcher`)
browsers: ['Chrome'],


// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000,


// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun: false
});
};
14 changes: 14 additions & 0 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "js-dev-toolkit",
"version": "0.1.0",
"description": "a simple todo app",
"main": "todos.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "You",
"license": "MIT",
"devDependencies": {
"grunt": "~0.4.1"
}
}
Loading