From 7d7d3afcd825607bc50bb61ce150d6ba30853c09 Mon Sep 17 00:00:00 2001 From: MajorBreakfast Date: Tue, 2 Sep 2014 17:57:35 +0200 Subject: [PATCH] package.json for jspm compatibility --- README.md | 1 + package.json | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 package.json diff --git a/README.md b/README.md index 751b122..0b29061 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,4 @@ Package Managers * [Bower](http://twitter.github.com/bower/): `handlebars` * [Component](http://github.com/component/component): `components/handlebars.js` * [Composer](http://packagist.org/packages/components/handlebars.js): `components/handlebars.js` +* [jspm](http://jspm.io): `github:components/handlebars.js` diff --git a/package.json b/package.json new file mode 100644 index 0000000..ef47b47 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "jspm": { + "main": "handlebars", + "shim": { "handlebars": { "exports": "Handlebars" } }, + "files": ["handlebars.js"], + "buildConfig": { "minify": true } + } +}