Skip to content

Commit a1467ea

Browse files
committed
initial commit
0 parents  commit a1467ea

File tree

4 files changed

+65
-0
lines changed

4 files changed

+65
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules
2+
3+
.DS_Store

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# lineman-ember
2+
3+
This is a plugin to get started with [Ember](http://emberjs.com) using
4+
[Lineman](http://linemanjs.com). We recommend you look at our
5+
[Ember template project](https://github.com/linemanjs/lineman-ember-template/)
6+
as a starting point if you're not already familiar with Lineman's plugin system.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
_ = require("underscore")
2+
3+
module.exports = (lineman) ->
4+
app = lineman.config.application
5+
6+
config:
7+
loadNpmTasks: app.loadNpmTasks.concat("grunt-ember-templates")
8+
9+
prependTasks:
10+
common: app.prependTasks.common.concat("emberTemplates")
11+
12+
removeTasks:
13+
common: app.removeTasks.common.concat("handlebars")
14+
15+
16+
emberTemplates:
17+
options:
18+
templateBasePath: "app/templates/"
19+
templateFileExtensions: /\.(hb|hbs|handlebar|handlebars)/
20+
compile:
21+
files:
22+
"<%= files.template.generatedHandlebars %>": "<%= files.template.handlebars %>"
23+
24+
watch:
25+
handlebars:
26+
tasks: ["emberTemplates:compile", "concat_sourcemap:js"]

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "lineman-ember",
3+
"title": "This is a plugin to get started with Ember using [Lineman](http://linemanjs.com). We recommend you look at our [Ember template project](https://github.com/testdouble/lineman-ember-template/) as a starting point.",
4+
"version": "0.0.1",
5+
"homepage": "https://github.com/lineman/lineman-ember",
6+
"author": {
7+
"name": "Justin Searls",
8+
"company": "Test Double"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git://github.com/lineman/lineman-ember.git"
13+
},
14+
"main": "main.js",
15+
"dependencies": {
16+
"handlebars": "1.1.2",
17+
"ember-template-compiler": "1.1.2",
18+
"grunt-ember-templates": "~0.4.18",
19+
"underscore": "~1.5.2"
20+
},
21+
"peerDependencies": {
22+
"lineman": ">= 0.24.4"
23+
},
24+
"licenses": [
25+
{
26+
"type": "MIT",
27+
"url": "http://mit-license.org"
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)