Skip to content

Instantly share code, notes, and snippets.

@jrock2004
Last active August 20, 2017 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrock2004/7a199dc646826902e4b0b3e5d14a614f to your computer and use it in GitHub Desktop.
Save jrock2004/7a199dc646826902e4b0b3e5d14a614f to your computer and use it in GitHub Desktop.
EmberJS Files
{
"app/adapters/*.js": {
"command": "adapter",
"template": [
"// export default DS.{capitalize}Adapter.extend();"
]
},
"app/components/*.js": {
"command": "component",
"template": [
"export default Ember.Component.extend({",
"",
"});"
]
},
"app/controllers/*.js": {
"command": "controller",
"template": [
"export default Ember.Controller.extend({",
"",
"});"
]
},
"app/helpers/*.js": {
"command": "helper",
"template": [
"// Please note that Handlebars helpers will only be found automatically by the",
"// resolver if their name contains a dash (reverse-word, translate-text, etc.)",
"// For more details: http://stefanpenner.github.io/ember-app-kit/guides/using-modules.html",
"",
"export default Ember.Handlebars.makeBoundHelper(function() {",
"",
"});"
]
},
"app/models/*.js": {
"command": "model",
"template": [
"export default DS.Model.extend({",
"",
"});"
]
},
"app/router.js": {
"command": "router"
},
"app/routes/*.js": {
"command": "route",
"template": [
"export default Ember.Route.extend({",
"",
"});"
]
},
"app/styles/*.css": {
"command": "style",
"template": [
"/* {}.css */",
""
]
},
"app/templates/*.hbs": {
"command": "template"
}
}
{
"libs": [
"browser",
"jquery"
],
"loadEagerly": [
"node_modules/ember-source/dist/ember.debug.js"
],
"dontLoad":[
"node_modules",
"dist",
"tmp",
"vendor"
],
"exclude": [
"node_modules/**",
".git/**",
"*.min.js",
"*.prod.js",
"*.debug.js",
"tmp",
"vendor"
],
"plugins": {
"node": {},
"complete_strings": {},
"es_modules": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment