From b3ca03176aad3f7e1adfc0a4871895abc75c1bce Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Sun, 27 Dec 2015 16:17:56 -0500 Subject: [PATCH] feat: add npm support in main repository - Add support for consuming the main repository via npm for releases --- index.js | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000000..722c734ea3 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +require('./dist/ui-bootstrap-tpls'); + +module.exports = 'ui.bootstrap'; diff --git a/package.json b/package.json index c0519f7e4f..64d2461b4e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "files": [ "dist/", "src/", "template/" ], + "main": "index.js", "scripts":{ "test": "grunt" },