From e893d426c2b467e127cf1de8c75efcccf213e9f1 Mon Sep 17 00:00:00 2001 From: Andy Ghiuta Date: Tue, 11 Dec 2018 09:31:49 +0200 Subject: [PATCH 1/2] Update for a better "npm install" Renamed install script so it's not executed on install Use only the js as "main" Declare peerDependencies --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 31ef86ddb..d03f42fc1 100644 --- a/package.json +++ b/package.json @@ -19,12 +19,9 @@ "url": "https://github.com/jonmiles/bootstrap-treeview/blob/master/LICENSE" } ], - "main": [ - "dist/bootstrap-treeview.min.js", - "dist/bootstrap-treeview.min.css" - ], + "main": "dist/bootstrap-treeview.min.js", "scripts": { - "install": "bower install", + "dev-install": "bower install", "start": "node app", "test": "grunt test" }, @@ -45,6 +42,10 @@ "grunt-contrib-watch": "0.6.x", "grunt-contrib-copy": "0.7.x" }, + "peerDependencies": { + "jquery": ">= 1.9.0", + "bootstrap": ">= 3.0.0" + }, "keywords": [ "twitter", "bootstrap", From a76654449403568eb1d15402e48b35688c988fe3 Mon Sep 17 00:00:00 2001 From: Andy Ghiuta Date: Tue, 11 Dec 2018 09:32:06 +0200 Subject: [PATCH 2/2] 1.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d03f42fc1..546383243 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bootstrap-treeview", "description": "Tree View for Twitter Bootstrap", - "version": "1.2.0", + "version": "1.2.1", "homepage": "https://github.com/jonmiles/bootstrap-treeview", "author": { "name": "Jonathan Miles"