Skip to content

Commit

Permalink
Prepping mantri showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
thanpolas committed Feb 15, 2013
1 parent 432401a commit 5c11b85
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 55 deletions.
15 changes: 9 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ module.exports = function( grunt ) {
//
//
grunt.initConfig({
// Project configuration
// ---------------------
//
mantriDeps: {
options: {

Expand All @@ -34,11 +31,12 @@ module.exports = function( grunt ) {

mantriBuild: {
options: {

debug: true
},
todoApp: {
src: 'test/todoApp/mantriConf.json',
dest: 'test/todoApp/js/dist/build.js'
// src can be omitted as this is also the default value.
src: 'mantriConf.json',
dest: 'dist/build.js'
}
},

Expand All @@ -51,6 +49,11 @@ module.exports = function( grunt ) {

});

// Create shortcuts to main operations.
grunt.registerTask('deps', ['mantriDeps:todoApp']);
grunt.registerTask('build', ['mantriBuild:todoApp']);

// the default task, when 'grunt' is executed with no options.
grunt.registerTask('default', ['test']);

};
Expand Down
34 changes: 0 additions & 34 deletions assets/require.min.js

This file was deleted.

15 changes: 0 additions & 15 deletions deps.js
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
// This file was autogenerated by closure-bin/build/depswriter.py.
// Please do not edit.
goog.addDependency('./js/app.js', ['Todos.app'], ['Todos.Router', 'Todos.ctrls.Entries', 'Todos.models.Store', 'Todos.views.Application']);
goog.addDependency('./js/app/controllers/entries.js', ['Todos.ctrls.Entries'], []);
goog.addDependency('./js/app/controllers/todos.js', ['Todos.ctrls.Todos'], []);
goog.addDependency('./js/app/models/store.js', ['Todos.models.Store'], ['Todos.models.Todo']);
goog.addDependency('./js/app/models/todo.js', ['Todos.models.Todo'], []);
goog.addDependency('./js/app/router.js', ['Todos.Router'], ['Todos.ctrls.Todos', 'Todos.helper', 'Todos.views.Items']);
goog.addDependency('./js/app/specs/helper.js', ['Todos.helper'], ['Todos.todoMVCspec']);
goog.addDependency('./js/app/specs/todoMVC.js', ['Todos.todoMVCspec'], []);
goog.addDependency('./js/app/views/application.js', ['Todos.views.Application'], ['Todos.views.ClearButton', 'Todos.views.Filters', 'Todos.views.Stats']);
goog.addDependency('./js/app/views/clear_button.js', ['Todos.views.ClearButton'], []);
goog.addDependency('./js/app/views/filters.js', ['Todos.views.Filters'], []);
goog.addDependency('./js/app/views/items.js', ['Todos.views.Items'], []);
goog.addDependency('./js/app/views/stats.js', ['Todos.views.Stats'], []);
23 changes: 23 additions & 0 deletions dist/build.js

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "mantri-todoMVC",
"description": "Mantri • ember.js • TodoMVC === Mantri Dependency System Showcase",
"version": "0.1.0",
"homepage": "https://github.com/thanpolas/todoAppMantri",
"author": {
"name": "Thanasis Polychronakis",
"email": "[email protected]",
"url": "http://thanpol.as/"
},
"repository": {
"type": "git",
"url": "git://github.com/thanpolas/todoAppMantri.git"
},
"bugs": {
"url": "https://github.com/thanpolas/todoAppMantri/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/thanpolas/todoAppMantri/blob/master/LICENSE-MIT"
}
],
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {
"mantri": "*",
"grunt": "0.4.0rc6"
},
"devDependencies": {
"grunt-contrib-watch": "0.2.0rc7"
},
"keywords": [
"dependencies",
"dependency",
"deps",
"dependency management",
"mantri",
"ember",
"todoMVC",
"amd",
"commonjs",
"require"
],

"contributors": [
{
"name": "Thanasis Polychronakis",
"email": "[email protected]",
"url": "http://thanpol.as/"
},
{
"name": "Tom Dale",
"url": "http://github.com/tomdale/"
},
{
"name": "Стас Сушков",
"url": "http://github.com/stas"
}
]
}

0 comments on commit 5c11b85

Please sign in to comment.