From c5c73601c90b11e98f6846609bac4dec203d1c18 Mon Sep 17 00:00:00 2001 From: Jeremy Wadhams Date: Tue, 9 Jul 2024 09:59:39 -0500 Subject: [PATCH] fix: Stop recommending Bower over NPM. In fact, stop recommending it at all (#138) --- .npmignore | 1 - README.md | 8 +------- bower.json | 26 -------------------------- package.json | 2 +- 4 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 bower.json diff --git a/.npmignore b/.npmignore index 013b7f4c..4b040e9f 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,3 @@ tests/tests.json play.html -bower.json diff --git a/README.md b/README.md index cf86a90f..633e27a5 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,7 @@ The same format can also be executed in PHP by the library [json-logic-php](http ## Installation -To parse JsonLogic rules in a JavaScript frontend, install this library is via [Bower](http://bower.io/): - -```bash -bower install --save json-logic-js -``` - -To parse JsonLogic rules in a JavaScript backend (like Node.js), install this library via [NPM](https://www.npmjs.com/): +We recommend that you install this library with a package manager, like [NPM](https://www.npmjs.com/) (or Yarn, etc): ```bash npm install json-logic-js diff --git a/bower.json b/bower.json deleted file mode 100644 index b7842d1e..00000000 --- a/bower.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "json-logic-js", - "version": "1.2.2", - "homepage": "https://github.com/jwadhams/json-logic-js", - "authors": [ - "Jeremy Wadhams " - ], - "description": "Serialize complex logic in JSON, run it in JavaScript", - "main": "logic.js", - "moduleType": [ - "globals" - ], - "keywords": [ - "json", - "logic" - ], - "license": "MIT", - "private": false, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "tests", - "gulpfile.js" - ] -} diff --git a/package.json b/package.json index 1a29b9b7..dc12e647 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "json-logic-js", - "version": "2.0.4", + "version": "2.0.5", "description": "Build complex rules, serialize them as JSON, and execute them in JavaScript", "main": "logic.js", "directories": {