From 6746234036d12b2e79658ce290dad43ea3bb1732 Mon Sep 17 00:00:00 2001 From: Rick Cuddy Date: Sat, 21 Mar 2015 16:13:24 +1100 Subject: [PATCH] Update bower.json main files to match "standards" This update allows use of bower.json main value in buildtools that rely on the appropriate files being defined in this main array. It also points to the unminified, but compiled dist versions as per bower spec: https://github.com/bower/bower.json-spec#main * Changes main js file to use unminified version * Adds the gridstack.css file to the main files array * Moves compiled CSS into `dist` folder (upstream build process needs update) * Duplicate `src/gridstack.js` into `dist/gridstack.js` (upstream build process needs update) * Update demo html to point to `dist` instead of `src` --- bower.json | 5 +- demo/float.html | 4 +- demo/knockout.html | 4 +- demo/knockout2.html | 4 +- demo/nested.html | 4 +- demo/serialization.html | 4 +- {src => dist}/gridstack.css | 0 dist/gridstack.js | 865 ++++++++++++++++++++++++++++++++++++ 8 files changed, 879 insertions(+), 11 deletions(-) rename {src => dist}/gridstack.css (100%) create mode 100644 dist/gridstack.js diff --git a/bower.json b/bower.json index 14aa75226..3b786b7bc 100644 --- a/bower.json +++ b/bower.json @@ -6,7 +6,10 @@ "Pavel Reznikov " ], "description": "gridstack.js is a jQuery plugin for widget layout", - "main": "dist/gridstack.min.js", + "main": [ + "dist/gridstack.js", + "dist/gridstack.css" + ], "moduleType": [ "amd" ], diff --git a/demo/float.html b/demo/float.html index 12281ac80..638ec2a74 100644 --- a/demo/float.html +++ b/demo/float.html @@ -12,13 +12,13 @@ - + - +