{"id":15138326,"url":"https://github.com/trystan2k/fleshy-jsoneditor","last_synced_at":"2025-10-23T14:31:11.548Z","repository":{"id":40560023,"uuid":"260836271","full_name":"trystan2k/fleshy-jsoneditor","owner":"trystan2k","description":"LitElement custom element that wraps http://github.com/josdejong/jsoneditor based on https://github.com/Juicy/juicy-jsoneditor","archived":false,"fork":false,"pushed_at":"2024-09-27T08:43:12.000Z","size":2820,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T18:52:07.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trystan2k.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T05:41:09.000Z","updated_at":"2024-09-27T08:43:14.000Z","dependencies_parsed_at":"2023-02-06T14:30:53.996Z","dependency_job_id":"40dcfc0a-bc06-4398-a755-2eec8c2b7894","html_url":"https://github.com/trystan2k/fleshy-jsoneditor","commit_stats":{"total_commits":116,"total_committers":4,"mean_commits":29.0,"dds":"0.31034482758620685","last_synced_commit":"36852b7eabf41e827a7ab4d4b840201b431cd9c5"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trystan2k%2Ffleshy-jsoneditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trystan2k%2Ffleshy-jsoneditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trystan2k%2Ffleshy-jsoneditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trystan2k%2Ffleshy-jsoneditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trystan2k","download_url":"https://codeload.github.com/trystan2k/fleshy-jsoneditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237843694,"owners_count":19375187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-26T07:21:59.961Z","updated_at":"2025-10-23T14:31:11.101Z","avatar_url":"https://github.com/trystan2k.png","language":"JavaScript","readme":"# \\\u003cfleshy-jsoneditor\u003e\n\n[![GitHub version](https://badge.fury.io/gh/trystan2k%2Ffleshy-jsoneditor.svg)](https://badge.fury.io/gh/trystan2k%2Ffleshy-jsoneditor)\n\n[![Build](https://github.com/trystan2k/fleshy-jsoneditor/workflows/Build-CI/badge.svg)](https://github.com/trystan2k/fleshy-jsoneditor/actions)\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/ec50add2-cd3d-403b-97c8-886c658803f2/deploy-status)](https://fleshy-jsoneditor.netlify.app)\n\nLitElement custom element that wraps [josdejong/jsoneditor](http://github.com/josdejong/jsoneditor).\n\nIt is an updated version of [juicy-jsoneditor](https://github.com/Juicy/juicy-jsoneditor)\n\nThis webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.\n\n## Demo\n\n[Check it live!](https://fleshy-jsoneditor.netlify.app/)\n\n## Installation\n\n```bash\nnpm i @trystan2k/fleshy-jsoneditor@latest\n```\n\n## Usage\n\n```html\n\u003cscript type=\"module\"\u003e\n  import '@trystan2k/fleshy-jsoneditor/fleshy-jsoneditor.js';\n\u003c/script\u003e\n\n\u003cfleshy-jsoneditor\u003e\u003c/fleshy-jsoneditor\u003e\n```\n\n## Development\n\nIt uses [josdejong/jsoneditor](http://github.com/josdejong/jsoneditor) as devDependency, as jsoneditor does not export a ES module. So, for build, it is necessary primary to use rollup and generate jsoneditor files with ES module exports. It also copy some style and svg files, as it needs them to render the editor.\n\nTo update the files (located in /lib folder), run\n\n```bash\nnpm run build-deps\n```\n\n## Linting with ESLint, Prettier, and Types\n\nTo scan the project for linting errors, run\n\n```bash\nnpm run lint\n```\n\nYou can lint with ESLint and Prettier individually as well\n\n```bash\nnpm run lint:eslint\n```\n\n```bash\nnpm run lint:prettier\n```\n\nTo automatically fix many linting errors, run\n\n```bash\nnpm run format\n```\n\nYou can format using ESLint and Prettier individually as well\n\n```bash\nnpm run format:eslint\n```\n\n```bash\nnpm run format:prettier\n```\n\n## Testing with Karma\n\nTo run the suite of karma tests, run\n\n```bash\nnpm run test\n```\n\nTo run the tests in watch mode (for \u003cabbr title=\"test driven development\"\u003eTDD\u003c/abbr\u003e, for example), run\n\n```bash\nnpm run test:watch\n```\n\n## Demoing with Storybook\n\nTo run a local instance of Storybook for your component, run\n\n```bash\nnpm run storybook\n```\n\nTo build a production version of Storybook, run\n\n```bash\nnpm run storybook:build\n```\n\n## Local Demo with `es-dev-server`\n\n```bash\nnpm start\n```\n\nTo run a local development server that serves the basic demo located in `demo/index.html`\n\n## Release\n\nTo release a new version, once all PRs were merged into `master`, it is just necessary to execute:\n\n```bash\nnpm run release\n```\n\nThis script will generate new tag, update version in package.json and update changelog file with latest changes.\n\nOnce finish, it is just necessary to push the new commit to master. You can do it manually (but remember to push the tags also)\nor use the script\n\n```bash\nnpm run push\n```\n\nOnce the origin master branch is updated, a GitHubAction will take care of it. It will deploy the storybook in Netlify and publish the package in NPM.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrystan2k%2Ffleshy-jsoneditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrystan2k%2Ffleshy-jsoneditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrystan2k%2Ffleshy-jsoneditor/lists"}