summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/bower.json9
-rw-r--r--components/component.json9
-rw-r--r--components/composer.json35
-rw-r--r--components/handlebars-source.gemspec21
-rw-r--r--components/handlebars.js.nuspec17
-rw-r--r--components/source.rb11
6 files changed, 102 insertions, 0 deletions
diff --git a/components/bower.json b/components/bower.json
new file mode 100644
index 0000000..c34fc3f
--- /dev/null
+++ b/components/bower.json
@@ -0,0 +1,9 @@
+{
+ "name": "handlebars.js",
+ "version": "1.0.0",
+ "main": "handlebars.js",
+ "ignore": [
+ "node_modules",
+ "components"
+ ]
+}
diff --git a/components/component.json b/components/component.json
new file mode 100644
index 0000000..f74c839
--- /dev/null
+++ b/components/component.json
@@ -0,0 +1,9 @@
+{
+ "name": "handlebars",
+ "repo": "components/handlebars.js",
+ "version": "1.0.0",
+ "main": "handlebars.js",
+ "scripts": [
+ "handlebars.js"
+ ]
+}
diff --git a/components/composer.json b/components/composer.json
new file mode 100644
index 0000000..c5dc427
--- /dev/null
+++ b/components/composer.json
@@ -0,0 +1,35 @@
+{
+ "name": "components/handlebars.js",
+ "description": "Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.",
+ "homepage": "http://handlebarsjs.com",
+ "license": "MIT",
+ "type": "component",
+ "keywords": [
+ "handlebars",
+ "mustache",
+ "html"
+ ],
+ "authors": [
+ {
+ "name": "Chris Wanstrath",
+ "homepage": "http://chriswanstrath.com"
+ }
+ ],
+ "require": {
+ "robloach/component-installer": "*"
+ },
+ "extra": {
+ "component": {
+ "name": "handlebars",
+ "scripts": [
+ "handlebars.js"
+ ],
+ "files": [
+ "handlebars.runtime.js"
+ ],
+ "shim": {
+ "exports": "Handlebars"
+ }
+ }
+ }
+}
diff --git a/components/handlebars-source.gemspec b/components/handlebars-source.gemspec
new file mode 100644
index 0000000..01ca1d1
--- /dev/null
+++ b/components/handlebars-source.gemspec
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+require 'json'
+
+package = JSON.parse(File.read('bower.json'))
+
+Gem::Specification.new do |gem|
+ gem.name = "handlebars-source"
+ gem.authors = ["Yehuda Katz"]
+ gem.email = ["wycats@gmail.com"]
+ gem.date = Time.now.strftime("%Y-%m-%d")
+ gem.description = %q{Handlebars.js source code wrapper for (pre)compilation gems.}
+ gem.summary = %q{Handlebars.js source code wrapper}
+ gem.homepage = "https://github.com/wycats/handlebars.js/"
+ gem.version = package["version"]
+
+ gem.files = [
+ 'handlebars.js',
+ 'handlebars.runtime.js',
+ 'source.rb'
+ ]
+end
diff --git a/components/handlebars.js.nuspec b/components/handlebars.js.nuspec
new file mode 100644
index 0000000..37f2c4c
--- /dev/null
+++ b/components/handlebars.js.nuspec
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<package>
+ <metadata>
+ <id>handlebars.js</id>
+ <version>1.0.0</version>
+ <authors>handlebars.js Authors</authors>
+ <licenseUrl>https://github.com/wycats/handlebars.js/blob/master/LICENSE</licenseUrl>
+ <projectUrl>https://github.com/wycats/handlebars.js/</projectUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>Extension of the Mustache logicless template language</description>
+ <releaseNotes></releaseNotes>
+ <tags>handlebars mustache template html</tags>
+ </metadata>
+ <files>
+ <file src="handlebars.js" target="Content\Scripts" />
+ </files>
+</package>
diff --git a/components/source.rb b/components/source.rb
new file mode 100644
index 0000000..ec4caac
--- /dev/null
+++ b/components/source.rb
@@ -0,0 +1,11 @@
+module Handlebars
+ module Source
+ def self.bundled_path
+ File.expand_path("handlebars.js", __FILE__)
+ end
+
+ def self.runtime_bundled_path
+ File.expand_path("handlebars.runtime.js", __FILE__)
+ end
+ end
+end