From 3348dfc096e0f29a49f30ee728b7571935e951f9 Mon Sep 17 00:00:00 2001 From: Dean Poulin Date: Thu, 13 Nov 2014 13:31:02 -0500 Subject: [PATCH] Included jsoneditor.css as a Main Component Added the css file to bower so that the css will be identified as a main component used. Making this change allows gulp to identify the css and inject it into the project automatically at build time. Executing the following shell commands: yo gulp-angular bower install jsoneditor --save gulp build will result in the index.html automatically being injected as seen below: --- bower.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 744c947..e530efe 100644 --- a/bower.json +++ b/bower.json @@ -13,7 +13,10 @@ "type": "git", "url": "https://github.com/josdejong/jsoneditor.git" }, - "main": "jsoneditor.min.js", + "main": [ + "jsoneditor.min.js", + "jsoneditor.css" + ], "bugs": "https://github.com/josdejong/jsoneditor/issues", "ignore": [ "app",