Created
May 27, 2015 23:36
-
-
Save tmock12/853703452c7cf0e5618c to your computer and use it in GitHub Desktop.
ember-cli projections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app/adapters/*.js": { | |
"command": "adapter", | |
"template": [ | |
"import ApplicationAdapter from './application';", | |
"", | |
"export default ApplicationAdapter.extend({", | |
"});", | |
] | |
}, | |
"app/components/*.js": { | |
"command": "component", | |
"template": [ | |
"import Ember from 'ember';", | |
"", | |
"export default Ember.Component.extend({", | |
"});", | |
] | |
}, | |
"app/controllers/*.js": { | |
"command": "controller", | |
"template": [ | |
"import Ember from 'ember';", | |
"", | |
"export default Ember.Controller.extend({", | |
"", | |
"});", | |
] | |
}, | |
"app/helpers/*.js": { | |
"command": "helper", | |
"template": [ | |
"import Ember from 'ember';", | |
"", | |
"export function testing(params/*, hash*/) {", | |
" return params;", | |
"}", | |
"", | |
"export default Ember.HTMLBars.makeBoundHelper(testing);", | |
] | |
}, | |
"app/models/*.js": { | |
"command": "model", | |
"template": [ | |
"import DS from 'ember-data';", | |
"export default DS.Model.extend({", | |
"", | |
"});", | |
] | |
}, | |
"app/router.js": { | |
"command": "router" | |
}, | |
"app/routes/*.js": { | |
"command": "route", | |
"template": [ | |
"import Ember from 'ember';", | |
"export default Ember.Route.extend({", | |
"", | |
"});", | |
] | |
}, | |
"app/styles/*.css": { | |
"command": "style", | |
"template": [ | |
"/* {}.css */", | |
"", | |
] | |
}, | |
"app/templates/*.hbs": { | |
"command": "template" | |
}, | |
"app/utils/*.js": { | |
"command": "util", | |
"template": [ | |
"export default function {}() {", | |
" return true;", | |
"}", | |
] | |
}, | |
"app/views/*.js": { | |
"command": "view", | |
"template": [ | |
"import Ember from 'ember';", | |
"", | |
"export default Ember.View.extend({", | |
"", | |
"});", | |
] | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment