{"_id":"@boemjay/grapesjs","_rev":"1-167ebed05d4e5898fde2ddd3ecfae7af","name":"@boemjay/grapesjs","dist-tags":{"latest":"0.21.13"},"versions":{"0.21.12":{"name":"@boemjay/grapesjs","version":"0.21.12","keywords":["grapes","grapesjs","wysiwyg","web","template","editor","newsletter","site","builder"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","_id":"@boemjay/grapesjs@0.21.12","maintainers":[{"name":"boemjay","email":"benjamin.mollier@live.de"}],"homepage":"http://grapesjs.com","bugs":{"url":"https://github.com/GrapesJS/grapesjs/issues"},"dist":{"shasum":"052d95b8b5e63020038537f401a5d864f37c12f7","tarball":"https://registry.npmjs.org/@boemjay/grapesjs/-/grapesjs-0.21.12.tgz","fileCount":48,"integrity":"sha512-RZGBoSCR6i0azrV+psU68yApzDPqzfjtc+8N8Oes7ltRpBKTeKSRw3ofDxp97tVmpVtZmuqBkHyjHP3MZeZosQ==","signatures":[{"sig":"MEYCIQDK9feWXukyv9YSoDybjSMfVLSS87QnVfkw+vFs5SC6+AIhAMkR4fWs7mFzi2iUd9Oj1PP/HTXHBNvU2AKlF+Mo8I7P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10593713},"jest":{"testURL":"http://localhost/","verbose":true,"testMatch":["<rootDir>/test/specs/**/*.(t|j)s"],"setupFiles":["<rootDir>/test/setup.js"],"modulePaths":["<rootDir>/src"],"moduleFileExtensions":["js","ts"]},"main":"dist/grapes.min.js","babel":{"env":{"test":{"presets":["@babel/preset-env","@babel/preset-typescript"]}}},"types":"dist/index.d.ts","module":"dist/grapes.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/grapes.mjs","require":"./dist/grapes.min.js"},"./*":"./*"},"gitHead":"c108918e0ea9e981191049e74f387c39594cc30c","scripts":{"docs":"vuepress dev docs","lint":"eslint . --ext .ts,.js && npm run lint:ts","test":"jest","build":"npm run check && npm run build-all && npm run ts:check","check":"npm run lint && npm run test","start":"run-p start:*","format":"prettier --single-quote --write './{src,test}/**/*.js'","lint:ts":"tsc --noEmit","build:js":"grapesjs-cli build --patch=false --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"","docs:api":"node docs/api.js","start:js":"grapesjs-cli serve","test:dev":"jest --watch","ts:build":"grapesjs-cli build --dts='only' --patch=false","ts:check":"tsc --noEmit --esModuleInterop dist/index.d.ts","build-all":"run-s build:*","build:css":"sass src/styles/scss/main.scss dist/css/grapes.min.css --no-source-map --style=compressed --load-path=node_modules","build:mjs":"BUILD_MODULE=true grapesjs-cli build --dts='skip' --patch=false --targets=\"> 1%, ie 11, safari 8, not dead\"","start:css":"npm run build:css -- --watch","docs:build":"npm run docs:api && npm run docs:build-vp","docs:deploy":"docs/deploy.sh","docs:build-vp":"vuepress build docs","ts:build:check":"npm run ts:build && npm run ts:check"},"_npmUser":{"name":"boemjay","email":"benjamin.mollier@live.de"},"repository":{"url":"git+https://github.com/GrapesJS/grapesjs.git","type":"git"},"_npmVersion":"10.5.0","description":"Free and Open Source Web Builder Framework, fork by boemjay","directories":{},"resolutions":{"backbone-undo/backbone":"1.3.3","backbone-undo/underscore":"^1.13.1"},"sideEffects":["*.vue","*.css","*.scss"],"_nodeVersion":"20.12.2","dependencies":{"backbone":"1.4.1","codemirror":"^5.63.0","underscore":"^1.13.1","backbone-undo":"^0.2.5","@types/backbone":"^1.4.15","promise-polyfill":"^8.1.3","codemirror-formatting":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","sass":"^1.42.1","eslint":"^8.12.0","prettier":"^2.4.1","vuepress":"^1.8.2","@babel/cli":"^7.15.7","@types/jest":"^28.1.1","npm-run-all":"^4.1.5","grapesjs-cli":"^4.1.3","whatwg-fetch":"^3.6.2","documentation":"^13.2.5","html-entities":"^1.4.0","@babel/preset-typescript":"^7.16.7","@typescript-eslint/parser":"^5.22.0","@vuepress/plugin-google-analytics":"^1.8.2"},"_npmOperationalInternal":{"tmp":"tmp/grapesjs_0.21.12_1724139265309_0.8065133099386004","host":"s3://npm-registry-packages"}},"0.21.13":{"name":"@boemjay/grapesjs","description":"Free and Open Source Web Builder Framework, fork by boemjay","version":"0.21.13","author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","homepage":"http://grapesjs.com","main":"dist/grapes.min.js","types":"dist/index.d.ts","module":"dist/grapes.mjs","exports":{".":{"import":"./dist/grapes.mjs","require":"./dist/grapes.min.js","types":"./dist/index.d.ts"},"./*":"./*"},"sideEffects":["*.vue","*.css","*.scss"],"repository":{"type":"git","url":"git+https://github.com/GrapesJS/grapesjs.git"},"dependencies":{"@types/backbone":"^1.4.15","backbone":"1.4.1","backbone-undo":"^0.2.5","codemirror":"^5.63.0","codemirror-formatting":"^1.0.0","promise-polyfill":"^8.1.3","underscore":"^1.13.1"},"devDependencies":{"@babel/cli":"^7.15.7","@babel/preset-typescript":"^7.16.7","@types/jest":"^28.1.1","@typescript-eslint/parser":"^5.22.0","@vuepress/plugin-google-analytics":"^1.8.2","documentation":"^13.2.5","eslint":"^8.12.0","grapesjs-cli":"^4.1.3","html-entities":"^1.4.0","jest":"^24.9.0","npm-run-all":"^4.1.5","prettier":"^2.4.1","sass":"^1.42.1","vuepress":"^1.8.2","whatwg-fetch":"^3.6.2"},"resolutions":{"backbone-undo/backbone":"1.3.3","backbone-undo/underscore":"^1.13.1"},"keywords":["grapes","grapesjs","wysiwyg","web","template","editor","newsletter","site","builder"],"babel":{"env":{"test":{"presets":["@babel/preset-env","@babel/preset-typescript"]}}},"jest":{"moduleFileExtensions":["js","ts"],"verbose":true,"testURL":"http://localhost/","modulePaths":["<rootDir>/src"],"testMatch":["<rootDir>/test/specs/**/*.(t|j)s"],"setupFiles":["<rootDir>/test/setup.js"]},"scripts":{"docs":"vuepress dev docs","docs:api":"node docs/api.js","docs:build-vp":"vuepress build docs","docs:build":"npm run docs:api && npm run docs:build-vp","docs:deploy":"docs/deploy.sh","lint":"eslint . --ext .ts,.js && npm run lint:ts","check":"npm run lint && npm run test","lint:ts":"tsc --noEmit","build":"npm run check && npm run build-all && npm run ts:check","build-all":"run-s build:*","build:js":"grapesjs-cli build --patch=false --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"","build:mjs":"BUILD_MODULE=true grapesjs-cli build --dts='skip' --patch=false --targets=\"> 1%, ie 11, safari 8, not dead\"","build:css":"sass src/styles/scss/main.scss dist/css/grapes.min.css --no-source-map --style=compressed --load-path=node_modules","ts:build":"grapesjs-cli build --dts='only' --patch=false","ts:check":"tsc --noEmit --esModuleInterop dist/index.d.ts","ts:build:check":"npm run ts:build && npm run ts:check","start":"run-p start:*","start:js":"grapesjs-cli serve","start:css":"npm run build:css -- --watch","format":"prettier --single-quote --write './{src,test}/**/*.js'","test":"jest","test:dev":"jest --watch"},"_id":"@boemjay/grapesjs@0.21.13","gitHead":"fef524f954fd0e8fdebdd70a4cf7db727cc36dfa","bugs":{"url":"https://github.com/GrapesJS/grapesjs/issues"},"_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-m+jSz4dPFqrRLmbX/3P+BhAyDzpwdd7/9ciTtb+cZlHpDhmIw/hSwqAoqN0dictrikC4reySHOeRwbSvDImPcQ==","shasum":"e0416bfec2a692d4aed154bd3b3f185d73563e36","tarball":"https://registry.npmjs.org/@boemjay/grapesjs/-/grapesjs-0.21.13.tgz","fileCount":48,"unpackedSize":10601749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2ywtoDdcEMftYTZQm7KDGvBfPY9v0iGD4RkWrEVt7aAiB3BI8nXdjCR2PIpQf+jbz49fNZSy4ssqPOMXTsj5Ds1w=="}]},"_npmUser":{"name":"boemjay","email":"benjamin.mollier@live.de"},"directories":{},"maintainers":[{"name":"boemjay","email":"benjamin.mollier@live.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs_0.21.13_1725620334319_0.0775654699893853"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-20T07:34:25.222Z","modified":"2024-09-06T10:58:54.728Z","0.21.12":"2024-08-20T07:34:25.524Z","0.21.13":"2024-09-06T10:58:54.548Z"},"bugs":{"url":"https://github.com/GrapesJS/grapesjs/issues"},"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","homepage":"http://grapesjs.com","keywords":["grapes","grapesjs","wysiwyg","web","template","editor","newsletter","site","builder"],"repository":{"type":"git","url":"git+https://github.com/GrapesJS/grapesjs.git"},"description":"Free and Open Source Web Builder Framework, fork by boemjay","maintainers":[{"name":"boemjay","email":"benjamin.mollier@live.de"}],"readme":"# [GrapesJS](http://grapesjs.com)\n\n[![Build Status](https://github.com/GrapesJS/grapesjs/actions/workflows/build.yml/badge.svg)](https://github.com/GrapesJS/grapesjs/actions)\n[![Chat](https://img.shields.io/badge/chat-discord-7289da.svg)](https://discord.gg/QAbgGXq)\n[![CDNJS](https://img.shields.io/cdnjs/v/grapesjs.svg)](https://cdnjs.com/libraries/grapesjs)\n[![npm](https://img.shields.io/npm/v/grapesjs.svg)](https://www.npmjs.com/package/grapesjs)\n\n\n<p align=\"center\"><img src=\"http://grapesjs.com/assets/images/grapesjs-front-page-m.jpg\" alt=\"GrapesJS\" width=\"500\" align=\"center\"/></p>\n\n\nGrapesJS is a free and open source Web Builder Framework which helps building HTML templates, faster and easily, to be delivered in sites, newsletters or mobile apps. Mainly, GrapesJS was designed to be used inside a [CMS] to speed up the creation of dynamic templates. To better understand this concept check the image below\n\n<br/>\n<p align=\"center\"><img src=\"http://grapesjs.com/assets/images/gjs-concept.png\" alt=\"GrapesJS - Style Manager\" height=\"400\" align=\"center\"/></p>\n<br/>\n\nGenerally any 'template system', that you'd find in various applications like CMS, is composed by the **structure** (HTML), **style** (CSS) and **variables**, which are then replaced with other templates and contents on server-side and rendered on client.\n\nThis demos show examples of what is possible to achieve:<br/>\nWebpage Demo - http://grapesjs.com/demo.html<br/>\nNewsletter Demo - http://grapesjs.com/demo-newsletter-editor.html<br/>\n\n\n\n\n\n## Table of contents\n\n* [Features](#features)\n* [Download](#download)\n* [Usage](#usage)\n* [Development](#development)\n* [Documentation](#documentation)\n* [API](#api)\n* [Testing](#testing)\n* [Plugins](#plugins)\n* [Support](#support)\n* [Changelog](https://github.com/GrapesJS/grapesjs/releases)\n* [Contributing](https://github.com/GrapesJS/grapesjs/blob/master/CONTRIBUTING.md)\n* [License](#license)\n\n\n\n\n## Features\n\n| Blocks | Style Manager | Layer Manager |\n|--|--|--|\n|<img  src=\"http://grapesjs.com/assets/images/sc-grapesjs-blocks-prp.jpg\"  alt=\"GrapesJS - Block Manager\"  height=\"400\"  align=\"center\"/>|<img  src=\"http://grapesjs.com/assets/images/sc-grapesjs-style-2.jpg\"  alt=\"GrapesJS - Style Manager\"  height=\"400\"  align=\"center\"/>|<img  src=\"http://grapesjs.com/assets/images/sc-grapesjs-layers-2.jpg\"  alt=\"GrapesJS - Layer Manager\"  height=\"400\"  align=\"center\"/>|\n\n| Code Viewer | Asset Manager |\n|--|--|\n|<img  src=\"http://grapesjs.com/assets/images/sc-grapesjs-code.jpg\"  alt=\"GrapesJS - Code Viewer\"  height=\"300\"  align=\"center\"/>|<img  src=\"http://grapesjs.com/assets/images/sc-grapesjs-assets-1.jpg\"  alt=\"GrapesJS - Asset Manager\"  height=\"250\"  align=\"center\"/>|\n\n* Local and remote storage\n\n* Default built-in commands (basically for creating and managing different components)\n\n\n\n\n\n## Download\n\n* CDNs\n  * UNPKG (resolves to the latest version)\n    * `https://unpkg.com/grapesjs`\n    * `https://unpkg.com/grapesjs/dist/css/grapes.min.css`\n  * CDNJS (replace `X.X.X` with the current version)\n    * `https://cdnjs.cloudflare.com/ajax/libs/grapesjs/X.X.X/grapes.min.js`\n    * `https://cdnjs.cloudflare.com/ajax/libs/grapesjs/X.X.X/css/grapes.min.css`\n* NPM\n  * `npm i grapesjs`\n* GIT\n  * `git clone https://github.com/GrapesJS/grapesjs.git`\n\nFor the development purpose you should follow instructions below.\n\n\n\n\n\n## Usage\n\n```html\n<link rel=\"stylesheet\" href=\"path/to/grapes.min.css\">\n<script src=\"path/to/grapes.min.js\"></script>\n\n<div id=\"gjs\"></div>\n\n<script type=\"text/javascript\">\n  var editor = grapesjs.init({\n      container : '#gjs',\n      components: '<div class=\"txt-red\">Hello world!</div>',\n      style: '.txt-red{color: red}',\n  });\n</script>\n```\n\nFor a more practical example I'd suggest looking up the code inside this demo: http://grapesjs.com/demo.html\n\n\n## Development\n\nClone the repository and install all the necessary dependencies (`yarn` is highly recommended)\n\n```sh\n$ git clone https://github.com/GrapesJS/grapesjs.git\n$ cd grapesjs\n$ yarn\n```\n\nStart the dev server\n\n```sh\n$ yarn start\n```\n\nOnce the development server is started you should be able to reach the demo page (eg. `http://localhost:8080`)\n\n\n\n\n\n## Documentation\n\nCheck the getting started guide here: [Documentation]\n\n\n\n\n\n## API\n\nAPI References could be found here: [API-Reference]\n\n\n\n\n\n## Testing\n\n```sh\n$ yarn test\n```\n\n\n\n\n\n## Plugins\n\n[Official Plugins](https://github.com/orgs/GrapesJS/repositories?q=-repo%3Agrapesjs%2Fgrapesjs&type=source) | [Community Plugins](https://github.com/topics/grapesjs-plugin)\n\n### Wrappers\n\n* [@grapesjs/react](https://github.com/GrapesJS/react) - GrapesJS wrapper for React that allows you to build custom and declarative UI for your editor.\n\n\n\n### Extensions\n* [grapesjs-plugin-export](https://github.com/GrapesJS/export) - Export GrapesJS templates in a zip archive\n* [grapesjs-plugin-filestack](https://github.com/GrapesJS/filestack) - Add Filestack uploader in Asset Manager\n* [grapesjs-plugin-ckeditor](https://github.com/GrapesJS/ckeditor) - Replaces the built-in RTE with CKEditor\n* [grapesjs-tui-image-editor](https://github.com/GrapesJS/tui-image-editor) - GrapesJS TOAST UI Image Editor\n* [grapesjs-blocks-basic](https://github.com/GrapesJS/blocks-basic) - Basic set of blocks\n* [grapesjs-plugin-forms](https://github.com/GrapesJS/components-forms) - Set of form components and blocks\n* [grapesjs-navbar](https://github.com/GrapesJS/components-navbar) - Simple navbar component\n* [grapesjs-component-countdown](https://github.com/GrapesJS/components-countdown) - Simple countdown component\n* [grapesjs-style-gradient](https://github.com/GrapesJS/style-gradient) - Add `gradient` type input to the Style Manager\n* [grapesjs-style-filter](https://github.com/GrapesJS/style-filter) - Add `filter` type input to the Style Manager\n* [grapesjs-style-bg](https://github.com/GrapesJS/style-bg) - Full-stack background style property type, with the possibility to add images, colors, and gradients\n* [grapesjs-blocks-flexbox](https://github.com/GrapesJS/blocks-flexbox) - Add the flexbox block\n* [grapesjs-lory-slider](https://github.com/GrapesJS/components-lory) - Slider component by using [lory](https://github.com/meandmax/lory)\n* [grapesjs-tabs](https://github.com/GrapesJS/components-tabs) - Simple tabs component\n* [grapesjs-tooltip](https://github.com/GrapesJS/components-tooltip) - Simple, CSS only, tooltip component for GrapesJS\n* [grapesjs-custom-code](https://github.com/GrapesJS/components-custom-code) - Embed custom code\n* [grapesjs-touch](https://github.com/GrapesJS/touch) - Enable touch support\n* [grapesjs-indexeddb](https://github.com/GrapesJS/storage-indexeddb) - Storage wrapper for IndexedDB\n* [grapesjs-firestore](https://github.com/GrapesJS/storage-firestore) - Storage wrapper for [Cloud Firestore](https://firebase.google.com/docs/firestore)\n* [grapesjs-parser-postcss](https://github.com/GrapesJS/parser-postcss) - Custom CSS parser for GrapesJS by using [PostCSS](https://github.com/postcss/postcss)\n* [grapesjs-typed](https://github.com/GrapesJS/components-typed) - Typed component made by wrapping Typed.js library\n* [grapesjs-ui-suggest-classes](https://github.com/silexlabs/grapesjs-ui-suggest-classes) - Enable auto-complete of classes in the SelectorManager UI\n* [grapesjs-fonts](https://github.com/silexlabs/grapesjs-fonts) - Custom Fonts plugin, adds a UI to manage fonts in websites\n* [grapesjs-symbols](https://github.com/silexlabs/grapesjs-symbols) - Symbols plugin to reuse elements in a website and accross pages\n* [grapesjs-click](https://github.com/bgrand-ch/grapesjs-click) - Grab and drop blocks and components with click (no more drag-and-drop)\n* [grapesjs-float](https://github.com/bgrand-ch/grapesjs-float) - Anchor a floating element next to another element (selected component, ...)\n\n### Presets\n* [grapesjs-preset-webpage](https://github.com/GrapesJS/preset-webpage) - Webpage Builder\n* [grapesjs-preset-newsletter](https://github.com/GrapesJS/preset-newsletter) - Newsletter Builder\n* [grapesjs-mjml](https://github.com/GrapesJS/mjml) - Newsletter Builder with MJML components\n\n\nFind out more about plugins here: [Creating plugins](https://grapesjs.com/docs/modules/Plugins.html)\n\n\n\n\n\n## Support\n\nIf you like the project and you wish to see it grow, please consider supporting us with a donation of your choice or become a backer/sponsor via [Open Collective](https://opencollective.com/grapesjs)\n\n[![PayPalMe](http://grapesjs.com/assets/images/ppme.png)](https://paypal.me/grapesjs)\n[![Bitcoin](https://user-images.githubusercontent.com/11614725/52977952-87235f80-33cf-11e9-9607-7a9a354e1155.png)](https://commerce.coinbase.com/checkout/fc90b940-558d-408b-a166-28a823c98173)\n\n<a href=\"https://opencollective.com/grapesjs\"><img src=\"https://opencollective.com/grapesjs/tiers/sponsors.svg?avatarHeight=64\"></a>\n<a href=\"https://opencollective.com/grapesjs\"><img src=\"https://opencollective.com/grapesjs/tiers/backers.svg?avatarHeight=64\"></a>\n\n<br>\n\n[![BrowserStack](https://user-images.githubusercontent.com/11614725/39406324-4ef89c40-4bb5-11e8-809a-113d9432e5a5.png)](https://www.browserstack.com)<br/>\nThanks to [BrowserStack](https://www.browserstack.com) for providing us browser testing services\n\n\n## License\n\nBSD 3-clause\n\n\n[Documentation]: <https://grapesjs.com/docs/>\n[API-Reference]: <https://grapesjs.com/docs/api/>\n[CMS]: <https://en.wikipedia.org/wiki/Content_management_system>\n","readmeFilename":"README.md"}