{"_rev":"3-f0a40caee6a98f0651ebc4462415c4d9","time":{"created":"2022-12-30T16:29:40.908Z","1.0.0":"2022-12-29T11:38:33.071Z","modified":"2022-12-30T16:29:41.637Z","1.0.3":"2022-12-30T16:29:41.368Z"},"_id":"@bonifacy1/field-editors","name":"@bonifacy1/field-editors","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@bonifacy1/field-editors","version":"1.0.3","description":"React components and apps for building Contentful entry editor","author":{"name":"Contentful GmbH"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bonifacy1/field-editors.git"},"scripts":{"bootstrap":"lerna bootstrap","clean":"lerna clean","build":"turbo run build --scope=@contentful/** --no-deps","build:apps":"turbo run build --scope=*-app","lint":"eslint ./ --ext .js,.jsx,.ts,.tsx","lint:md":"remark --no-stdout --frail *.md */*.md","watch":"lerna run --stream watch","tsc":"turbo run tsc","test:ci":"turbo run test:ci","test:integration":"start-server-and-test docz:dev http://localhost:9000 cy:run","prettier":"prettier './**/*.{js,jsx,ts,tsx}' --write","cy:open":"TZ=UTC cypress open","cy:open:ct":"TZ=UTC cypress open-ct","cy:run":"TZ=UTC cypress run --browser chrome","cy:run:ct":"TZ=UTC cypress run-ct --browser chrome","docz:dev":"docz dev","docz:build":"docz build && cp _redirects .docz/dist","cm":"git-cz","clean-reports":"rm -rf cypress/reports","merge-report":"mochawesome-merge ./cypress/reports/separate-reports/*.json > ./cypress/reports/full_report.json","generate-report":"npx mochawesome-report-generator --reportDir cypress/reports cypress/reports/full_report.json","prepare":"husky install"},"workspaces":["packages/**","apps/**"],"devDependencies":{"@babel/core":"^7.9.6","@babel/eslint-parser":"7.18.2","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.8.3","@babel/plugin-proposal-optional-chaining":"^7.9.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.6","@babel/preset-env":"7.12.11","@babel/preset-react":"7.13.13","@commitlint/cli":"^12.0.1","@commitlint/config-conventional":"^12.0.1","@contentful/contentful-extension-scripts":"^0.20.4","@contentful/eslint-config-extension":"0.4.2","@contentful/f36-components":"^4.10.0","@contentful/f36-tokens":"^4.0.1","@cypress/react":"^5.3.0","@cypress/webpack-dev-server":"^1.8.4","@cypress/webpack-preprocessor":"^5.11.0","@testing-library/cypress":"^8.0.2","@testing-library/jest-dom":"5.16.5","@testing-library/react":"11.2.6","@types/jest":"^26.0.19","@types/lodash":"4.14.168","@types/lodash-es":"4.17.4","@types/react":"^16.14.5","@types/react-dom":"16.9.12","@types/testing-library__cypress":"^5.0.9","@types/webpack-env":"1.18.0","@typescript-eslint/eslint-plugin":"^4.10.0","@typescript-eslint/parser":"^4.10.0","ajv":"^8.8.2","contentful-cli":"^1.3.29","cypress":"^9.2.0","cypress-plugin-snapshots":"^1.4.4","cypress-plugin-tab":"^1.0.5","cz-lerna-changelog":"^2.0.2","docz":"1.3.2","docz-theme-default":"1.2.0","emotion":"10.0.27","eslint":"^7.32.0","eslint-config-react-app":"^6.0.0","eslint-plugin-cypress":"^2.12.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.26.0","eslint-plugin-import-helpers":"^1.2.1","eslint-plugin-jest":"^26.6.0","eslint-plugin-jsx-a11y":"^6.6.0","eslint-plugin-mocha":"^9.0.0","eslint-plugin-react":"^7.30.1","eslint-plugin-react-hooks":"^4.6.0","git-cz":"4.7.6","html-webpack-plugin":"^4.5.2","husky":"^7.0.0","lerna":"^3.20.2","lint-staged":"10.5.4","mocha":"^8.0.1","mocha-multi-reporters":"^1.5.1","mochawesome":"^6.1.1","mochawesome-merge":"^4.0.3","mochawesome-report-generator":"^5.1.0","prettier":"2.7.1","react":"^16.14.0","react-dom":"^16.14.0","remark-cli":"^8.0.0","remark-lint-no-dead-urls":"^1.0.2","remark-lint-no-empty-sections":"^4.0.0","remark-preset-lint-recommended":"^5.0.0","remark-validate-links":"^10.0.0","serve":"^12.0.0","start-server-and-test":"^1.11.0","ts-loader":"8.1.0","tsdx":"^0.14.1","tslib":"^2.3.1","turbo":"^1.0.23","type-fest":"^2.19.0","typescript":"^4.4.2","webpack":"4.46.0"},"resolutions":{"@types/react":"^16.14.5","babel-preset-react-app":"^9.1.2","react":"16.14.0","react-dom":"16.14.0","tsdx/**/typescript":"4.4.4"},"lint-staged":{"*.{js,jsx,ts,tsx}":["prettier --write","eslint --fix"],"*.md":["prettier --write"]},"remarkConfig":{"plugins":["remark-preset-lint-recommended",["remark-lint-list-item-indent","space"],["remark-lint-no-shortcut-reference-link",false],["remark-lint-no-dead-urls",{"skipOffline":true}],"remark-validate-links"]},"engines":{"node":">=14.17.0","yarn":">=1.21.1"},"config":{"commitizen":{"path":"./node_modules/cz-lerna-changelog"}},"volta":{"node":"14.17.0","yarn":"1.21.1"},"turbo":{"pipeline":{"build":{"dependsOn":["^build"],"outputs":["dist/**"]},"tsc":{"outputs":[]},"test:ci":{"outputs":[]}}},"dependencies":{},"gitHead":"3ffb193ea9ecc46ee4a5d6942b6bda369b347a06","bugs":{"url":"https://github.com/bonifacy1/field-editors/issues"},"homepage":"https://github.com/bonifacy1/field-editors#readme","_id":"@bonifacy1/field-editors@1.0.3","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-yPjg3Ad+z4WzZYu43cdTPOt+Fsc8/ZRluNFD0KF5t/oj5WEoo3RhucyxBS08Ad13jU1xZxOzkDCtgD8Gz6AF+g==","shasum":"ea41ac675cca30e788cb2874cdbe517df595aa36","tarball":"https://registry.npmjs.org/@bonifacy1/field-editors/-/field-editors-1.0.3.tgz","fileCount":680,"unpackedSize":10661747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd9ZdmjIqvUVeVvifMfkVH2dEurHR4YIvrnptsut3WJgIhAN3QFAkuia4ONqxKt2uPak9BS9lM1PUimoq3xz8GDQfX"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrxH1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+ng//ZGwZFBKjJ4L8ZXlWzWHnPDPp4sGe3fboHKH6nHqYsjngO0uC\r\nlilfBv4i0y5mNh+v0wqLxQkAXlRLtINI+cTxaJPP9db6JyEyCZXVYMr0IDFt\r\nER1h5wIuCO4lbyilhbNi07Lw1rpjxhjSB5lKFkJUu0/5CWOdOX2Lc11E/D9b\r\nXM1p3EuaMCF2gerB6yMukIJQKfXSZvazJ2b7nitS9bqk+ZBqfJb855xRykRX\r\nX+BuqJ7xTn+StavPyIqEgOEggzIYxrXkg49KJwJIn0+DpJS8nNKhiPFpdbMJ\r\nEudigz3E3kEFXia4r48ZwJDV2io6G3qu5iq2YidsOEnChSWwh2vOQN78w6HN\r\nuy74UWC775EZ2CMv+PcRZAHNVrH7n2+L3wIM+xDX2U5xxp58osbGNvm6xczB\r\n7OE844kCUN0+YBU82axkLj19kkoMahRgzLnD3amkJYtNYr+N5QvniWKcPnNE\r\nnzNDAi/Dl3gpBG9epF031HilrJBBVM/lKUARfr+bDAcPJUquD3DByBLDxoi8\r\n/1/GNUcf8lOswgElSPur+pz9Prnl8yuO4RrAgFzWRaQJsBnGasaeRQBGE/V/\r\nRKF/W8vsy/CnpFZsy8+n0oodvci1Xx580xZDBRRTuVoq1kfF4yeoszkHY9pe\r\nI7R1GR/11ajgnyuHIuHhDuqmWzaZJUsN2kI=\r\n=kOQe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bonifacy1","email":"szewczyk134@gmail.com"},"directories":{},"maintainers":[{"name":"bonifacy1","email":"szewczyk134@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/field-editors_1.0.3_1672417780981_0.10810178118436942"},"_hasShrinkwrap":false}},"maintainers":[{"name":"bonifacy1","email":"szewczyk134@gmail.com"}],"description":"React components and apps for building Contentful entry editor","homepage":"https://github.com/bonifacy1/field-editors#readme","repository":{"type":"git","url":"git+https://github.com/bonifacy1/field-editors.git"},"author":{"name":"Contentful GmbH"},"bugs":{"url":"https://github.com/bonifacy1/field-editors/issues"},"license":"MIT","readme":"# @contentful/field-editors\n\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)\n\nThis is the monorepo for all field editors and apps by [Contentful][contentful].\n\nSince these are developed using the [App SDK][app-sdk], this will allow you to understand how each editor works, fork existing apps or create your own apps based on existing Contentful components' source rather than starting from scratch.\n\nIt uses [Typescript][typescript], [React][react], [Forma36][forma36] (a design system & component library by Contentful) and is managed using [Lerna][lerna]. Code is automatically formatted with [Prettier][prettier] and checked with [ESLint][eslint] on every commit using Git hooks.\n\n## Available field editors\n\nPlayground with all components: [https://contentful-field-editors.netlify.app/](https://contentful-field-editors.netlify.app/)\n\nThis repository has all editorial components that you can find in the Contentful Web application.\nYou can run each of these component as a custom field app or compose them into a custom entry app.\nYou could also use these components as the basis for a custom [Contentful App](https://www.contentful.com/app-framework/)\n\n- Single line editor\n- Multi line editor\n- Dropdown\n- Tags\n- List\n- Checkbox\n- Radio\n- Boolean\n- Rating\n- Number\n- Url\n- JSON\n- Location\n- Date\n- Markdown\n- Slug\n- Entry reference / Media\n- Rich Text\n\nAlso this repository contains shared packages that simplify development and testing of field and entry apps.\n\nFeel free to reach out to us with the ones that'd be the most useful to have\nhere by filing a [Github issue][github-issues]!\n\n### Styles\n\nTo achieve the same field editor look as in the Contentful UI, you need to render `GlobalStyled` component.\n\n```jsx\nimport { GlobalStyles } from '@contentful/f36-components';\n\nfunction Root() {\n  return (\n    <>\n      <GlobalStyles />\n      <MyApp />\n    </>\n  );\n}\n```\n\n## Getting started & contributing\n\n### Requirements\n\n- Node.js: `>=14.17.0`\n- Yarn: `>=1.21.1`\n\nTo install all dependencies and build all packages run the following commands from the root of the project.\n\n```\nyarn\nyarn build\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to get started.\n\nWe'd love to have your helping hand on `@contentful/field-editors`!\n\n## Links & related repositories\n\n- [App SDK][app-sdk]\n- [Create Contentful App CLI][create-contentful-app]\n- [Forma 36][forma36]\n\n## Code of Conduct\n\nWe want to provide a safe, inclusive, welcoming, and harassment-free space and experience for all participants, regardless of gender identity and expression, sexual orientation, disability, physical appearance, socioeconomic status, body size, ethnicity, nationality, level of experience, age, religion (or lack thereof), or other identity markers.\n\n[Read our full Code of Conduct](https://github.com/contentful-developer-relations/community-code-of-conduct).\n\n## License\n\nAll field editor packages are open source software [licensed as MIT](./LICENSE).\n\n[contentful]: https://www.contentful.com\n[app-sdk]: https://github.com/contentful/ui-extensions-sdk\n[create-contentful-app]: https://github.com/contentful/create-contentful-app\n[github-issues]: https://github.com/contentful/field-editors/issues\n[forma36]: https://github.com/contentful/forma-36\n[typescript]: https://www.typescriptlang.org/\n[react]: https://reactjs.org/\n[lerna]: https://github.com/lerna/lerna\n[prettier]: https://prettier.io/\n[eslint]: https://eslint.org/\n","readmeFilename":"README.md"}