Skip to content

Commit 98348f0

Browse files
committed
Prep for move to RQB org
1 parent aa17249 commit 98348f0

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# @jakeboone02/json-logic-js
1+
# @react-querybuilder/json-logic-js
22

3-
> _This is a fork of [json-logic-js](https://github.com/jwadhams/json-logic-js)._
3+
> _This fork of [json-logic-js](https://github.com/jwadhams/json-logic-js), originally by [Jeremy Wadhams](https://github.com/jwadhams), is used by [`React Query Builder`](https://react-querybuilder.js.org/) but has no dependencies itself._
44
55
This parser accepts [JsonLogic](http://jsonlogic.com) rules and executes them in JavaScript.
66

@@ -13,7 +13,7 @@ The same format can also be executed in PHP by the library [json-logic-php](http
1313
Package manager:
1414

1515
```bash
16-
npm install @jakeboone02/json-logic-js
16+
npm install @react-querybuilder/json-logic-js
1717
# OR yarn add / pnpm add / bun add
1818
```
1919

@@ -22,12 +22,12 @@ CDN:
2222
```html
2323
<!-- ESM: -->
2424
<script type="module">
25-
import jsonLogic from "https://cdn.jsdelivr.net/npm/@jakeboone02/json-logic-js+esm";
25+
import jsonLogic from "https://cdn.jsdelivr.net/npm/@react-querybuilder/json-logic-js+esm";
2626
// ...
2727
</script>
2828

2929
<!-- UMD: -->
30-
<script src="https://cdn.jsdelivr.net/npm/@jakeboone02/json-logic-js/dist/json-logic.umd.min.js"></script>
30+
<script src="https://cdn.jsdelivr.net/npm/@react-querybuilder/json-logic-js/dist/json-logic.umd.min.js"></script>
3131
```
3232

3333
## Examples

package.json

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@jakeboone02/json-logic-js",
3-
"version": "2.0.2",
2+
"name": "@react-querybuilder/json-logic-js",
3+
"version": "0.1.0",
44
"description": "Build complex rules, serialize them as JSON, and execute them in JavaScript",
55
"main": "./dist/json-logic.cjs",
66
"types": "./dist/json-logic.d.cjs",
@@ -32,7 +32,7 @@
3232
"type": "module",
3333
"repository": {
3434
"type": "git",
35-
"url": "https://github.com/jakeboone02/json-logic-js.git"
35+
"url": "https://github.com/react-querybuilder/json-logic-js.git"
3636
},
3737
"keywords": [
3838
"json",
@@ -42,19 +42,11 @@
4242
],
4343
"author": "Jeremy Wadhams <[email protected]> (http://jsonlogic.com)",
4444
"contributors": [
45-
"Jake Boone <[email protected]> (https://github.com/jakeboone02)"
45+
"Jake Boone (https://github.com/jakeboone02)"
4646
],
4747
"license": "MIT",
4848
"bugs": {
49-
"url": "https://github.com/jakeboone02/json-logic-js/issues"
49+
"url": "https://github.com/react-querybuilder/json-logic-js/issues"
5050
},
51-
"homepage": "https://github.com/jakeboone02/json-logic-js#readme",
52-
"peerDependencies": {
53-
"typescript": "^5.0.0"
54-
},
55-
"peerDependenciesMeta": {
56-
"typescript": {
57-
"optional": true
58-
}
59-
}
51+
"homepage": "https://github.com/react-querybuilder/json-logic-js#readme"
6052
}

0 commit comments

Comments
 (0)