diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..4e2da79 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/README.md b/README.md index 5679bf2..a5f27c8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # jQuery JSONView +[![OpenCollective](https://opencollective.com/jquery-jsonview/backers/badge.svg)](#backers) +[![OpenCollective](https://opencollective.com/jquery-jsonview/sponsors/badge.svg)](#sponsors) + Formats & syntax highlights JSON. Port of Ben Hollis's JSONView extension for Firefox: http://jsonview.com @@ -38,6 +41,36 @@ jQuery JSONView provide following methods to allow you control JSON nodes, all m * `jQuery#JSONView('expand', [level])` - Expand nodes. * `jQuery#JSONView('toggle', [level])` - Toggle nodes. -## Licence + +## Contributors + +This project exists thanks to all the people who contribute. + + + +## Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/jquery-jsonview#backer)] + + + + +## Sponsors + +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/jquery-jsonview#sponsor)] + + + + + + + + + + + + + +## License [MIT](http://opensource.org/licenses/MIT) diff --git a/package.json b/package.json index 696a3ed..ddd6068 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "jQuery plugin for display pretty JSON.", "main": "dist/jquery.jsonview.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "postinstall": "opencollective postinstall" }, "repository": { "type": "git", @@ -66,5 +67,12 @@ "jquery": "*" } }, - "dependencies": {} -} + "dependencies": { + "opencollective": "^1.0.3" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/jquery-jsonview", + "logo": "https://opencollective.com/opencollective/logo.txt" + } +} \ No newline at end of file