{"_id":"@carafe-fm/bundler-dev","_rev":"5-07fe7d2163c5d7686a04ad247fed4e17","name":"@carafe-fm/bundler-dev","dist-tags":{"latest":"3.0.0"},"versions":{"3.0.0-alpha.1":{"name":"@carafe-fm/bundler-dev","version":"3.0.0-alpha.1","description":"Bundler for carafe files","bin":{"render-carafe-bundle":"bin/render-carafe-bundle.js","render-carafe-source":"bin/render-carafe-source.js","compile-carafe-bundle":"bin/compile-carafe-bundle.js","extract-carafe-bundle":"bin/extract-carafe-bundle.js","validate-carafe-bundle":"bin/validate-carafe-bundle.js"},"main":"dist/carafe-bundler.js","author":{"name":"Soliant Consulting"},"license":"MIT","scripts":{"build":"webpack-cli -p","version":"npm run build && git add dist"},"dependencies":{"ajv":"^6.10.2","ajv-errors":"^1.0.1","chalk":"^2.4.2","chokidar":"^2.1.8","faye-websocket":"^0.11.3","fs-extra":"^8.1.0","minimist":"^1.2.0","open":"^6.4.0","slugify":"^1.3.4"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","babel-loader":"^8.0.6","webpack":"^4.39.3","webpack-cli":"^3.3.7"},"repository":{"type":"git","url":"git+ssh://git@github.com/jeremiahsmall/carafe-bundler.git"},"keywords":["FileMaker","JavaScript"],"bugs":{"url":"https://github.com/carafe-fm/carafe-bundler/issues"},"homepage":"https://github.com/carafe-fm/carafe-bundler#readme","gitHead":"24164eac55a67d911c29a97b4060605429d083a3","_id":"@carafe-fm/bundler-dev@3.0.0-alpha.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5kCueCy8IVunioMWsToyiRyo3qpsIZLm0MQFAhYg0RGnKaTHbeYFaRkm89e2MhKoZ335OzRcQnW2Ms5dK//v2g==","shasum":"6a11c7ff5537ee40a553ef2d12e670f57c97fa75","tarball":"https://registry.npmjs.org/@carafe-fm/bundler-dev/-/bundler-dev-3.0.0-alpha.1.tgz","fileCount":41,"unpackedSize":398109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduJgHCRA9TVsSAnZWagAAiqYP/iFhJO7JmRnYtNROz6OB\n7cTvWZyfaKwQbseqkAj3aLnUPE9krEn8xdEfwPqkeiVUtjfLmdKWswOa9DVa\nkulu6GIlIsMrUF38CuxQp38BGFOMuD3WtAk6JzEUYd5NaKjBYxZr0NIYNY3y\ntzliEA4DebhNSC1r8MnqLuVLHcsijBss5uUOwbjaWFeX2/jRpZRaVo9IFcWz\nRUq9ZoNVZ8lU3xh/RK9/f8H3HCGzyi/PRwGn3DhBZJop9yQhvj1y3ftQbSvU\neZq62nE5spqzywA07MHvKLp/vJxPDwPXSKk/rwC92omrmfmEc6gFdFkLK1J/\ngwKidBVqUovdHr7DlgQme/8Pxj929j9mOeRry9jMiOFVhZ9EC0Y4c/Wu/UVg\nIlkCRUsyCUqjQiYVeexup4wvZUHJPPqOnm8aa+sfumdzcw/ML9u/rfyAQiXK\nflqBTJTuaIQhj+MFnpajyfIkRA/TolbcoYnZsMcC8RKSWJbWG3/rMAU5OrDv\n9e/IEHGmwWvM+Np1nTGTdhRJSBvN9+o2GWeQoQIv5e0vG0UbEQSd7iZWvFIh\n86xX1h/AYXpairJrSqMYwdNHCbwekKeBBrr/5QL4ES96SldB30jbJQ5ISLvk\nrveUZjVquTRYxFT8BK+6S516yWntCTXZxRYQ+7QoHngM/pguaibNa0rzd7Cm\nDZUF\r\n=lptb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+jS54ccjBZc98gWNxH1VtG3J3p0cbCcBiLP6MXVdgjgIhAJc+qO5YqYZd0H7dNWikNqidiTVqV3rBjYRHRqBuThMz"}]},"maintainers":[{"name":"dasprid","email":"mail@dasprids.de"},{"name":"jeremiahsmall","email":"github@jsmall.us"}],"_npmUser":{"name":"jeremiahsmall","email":"github@jsmall.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundler-dev_3.0.0-alpha.1_1572378631304_0.03648422413780672"},"_hasShrinkwrap":false},"3.0.0-alpha.3":{"name":"@carafe-fm/bundler-dev","version":"3.0.0-alpha.3","description":"Bundler for carafe files","bin":{"render-carafe-bundle":"bin/render-carafe-bundle.js","render-carafe-source":"bin/render-carafe-source.js","compile-carafe-bundle":"bin/compile-carafe-bundle.js","extract-carafe-bundle":"bin/extract-carafe-bundle.js","validate-carafe-bundle":"bin/validate-carafe-bundle.js"},"main":"dist/carafe-bundler.js","author":{"name":"Soliant Consulting"},"license":"MIT","scripts":{"build":"webpack-cli -p","version":"npm run build && git add dist"},"dependencies":{"ajv":"^6.12.0","ajv-errors":"^1.0.1","chalk":"^2.4.2","chokidar":"^3.3.1","faye-websocket":"^0.11.3","fs-extra":"^8.1.0","minimist":"^1.2.5","open":"^6.4.0","slugify":"^1.4.0"},"devDependencies":{"@babel/core":"^7.8.7","@babel/preset-env":"^7.8.7","babel-loader":"^8.0.6","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"repository":{"type":"git","url":"git+ssh://git@github.com/jeremiahsmall/carafe-bundler.git"},"keywords":["FileMaker","JavaScript"],"bugs":{"url":"https://github.com/carafe-fm/carafe-bundler/issues"},"homepage":"https://github.com/carafe-fm/carafe-bundler#readme","gitHead":"dc2c84694da6369dfa5379e6d5142bcbe741d8b9","_id":"@carafe-fm/bundler-dev@3.0.0-alpha.3","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-3ZFpbazOY5NDBk6Z90jdhU0bXj4mwxWjYAtW60DgxzxtYtM593ykbXaw2VU487ntDJF+uywAOCvA1NB9QRvhtA==","shasum":"8b5c7e455baa5c54269bdd637ecbfa72ffa5dc21","tarball":"https://registry.npmjs.org/@carafe-fm/bundler-dev/-/bundler-dev-3.0.0-alpha.3.tgz","fileCount":48,"unpackedSize":398042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecqRoCRA9TVsSAnZWagAAK28P/1GfxCqVhY9P3cmj9XtV\n35Kidl4P8exnVAxFpGnTjqRW8fzJFtNWxRIjZzXoME1jjQmHvxqJeb01e2L7\nZe/VL8AJsQT0a169JwYGpIGV/8uaDxHC3bd9EtPAoBFzbHQwgw6L0+G5sJXl\n+JL6lmZH0WSfo+4DeVrpd6CK6bCJHRFVpLqEsmWsFC8kKLe3lvIXWJZUVUfA\nVrZaa0WA4pX7GCm12ubWEpWsR74btDGS7hatWBpYz2Tt7Mb32u8/w7pzGq9h\niWe1CuCkJNs0d+8FchWQ/Ch/UdLP7ZsEy8D142RAQun4U5xKHV0XHx42cP9z\ncePDLe5sO7vLpoKIoRAoYLsfM0BdsFA5GlNekW9eXs/AN3N6dhti4foYI1/C\npQ2gm0opHh84JfC7Id0Jr/lKplHwceoiT9C603ZH8b3xUui7cmojYe8Z+YET\nMxp6ktVzkt5mL2BvFzUoGvDGoETJ+MdBKq3TufphKm4ouUfR6FNK0irxMYWY\nKAK7M181k/ZFN3GtUuzm5Bh7Pqp4UVyegK2cFUCQbwZUkUjhLsmGMZsEN+op\nD/6iEB4sxp1cp1KbT++BisGoK+1Ge5nQz//UCOsL41Frb6aUyOumRsiUAWU3\nRqob8Nuk5IcSg/cgML2epxREmNs6Xcf5BVNlz0VqmGhKUPstHRNg1qVa/Lka\nyNRy\r\n=g42J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD82W5B79l3acvNi7ECzul+RjW1NdXcBgISvRbWv0sFSAIgZDviJp+oJPGiryO2CqQeHHgLV225x0DZjdCwZGNdjbM="}]},"maintainers":[{"name":"dasprid","email":"mail@dasprids.de"},{"name":"jeremiahsmall","email":"github@jsmall.us"}],"_npmUser":{"name":"jeremiahsmall","email":"github@jsmall.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundler-dev_3.0.0-alpha.3_1584571495760_0.2991757785479243"},"_hasShrinkwrap":false},"3.0.0-alpha.4":{"name":"@carafe-fm/bundler-dev","version":"3.0.0-alpha.4","description":"Bundler for carafe files","bin":{"render-carafe-bundle":"bin/render-carafe-bundle.js","render-carafe-source":"bin/render-carafe-source.js","compile-carafe-bundle":"bin/compile-carafe-bundle.js","extract-carafe-bundle":"bin/extract-carafe-bundle.js","validate-carafe-bundle":"bin/validate-carafe-bundle.js"},"main":"dist/carafe-bundler.js","author":{"name":"Soliant Consulting"},"license":"MIT","scripts":{"build":"webpack-cli -p","version":"npm run build && git add dist"},"dependencies":{"ajv":"^6.12.0","ajv-errors":"^1.0.1","chalk":"^2.4.2","chokidar":"^3.3.1","faye-websocket":"^0.11.3","fs-extra":"^8.1.0","minimist":"^1.2.5","open":"^6.4.0","slugify":"^1.4.0"},"devDependencies":{"@babel/core":"^7.8.7","@babel/preset-env":"^7.8.7","babel-loader":"^8.0.6","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"repository":{"type":"git","url":"git+ssh://git@github.com/jeremiahsmall/carafe-bundler.git"},"keywords":["FileMaker","JavaScript"],"bugs":{"url":"https://github.com/carafe-fm/carafe-bundler/issues"},"homepage":"https://github.com/carafe-fm/carafe-bundler#readme","gitHead":"dd06d69da4a703064fe99b0404eb1cf65cb66668","_id":"@carafe-fm/bundler-dev@3.0.0-alpha.4","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-xdGLtgEOIGbSnrXLzFXtBPOJH+aDWgCw9u92pPrPR+yd5k+/J2o30JvxQ1h3fQrNSjMYFpcT7cdvqUnMSLxH7A==","shasum":"93f1fac7c0c26d0695f6199e22e0304693ebfc29","tarball":"https://registry.npmjs.org/@carafe-fm/bundler-dev/-/bundler-dev-3.0.0-alpha.4.tgz","fileCount":50,"unpackedSize":672476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefD35CRA9TVsSAnZWagAA6ZMP/0Wj0UebB0pWvpPRSoSg\ntI2sI61YNBfaGezGSYhUiOV8HJsDG23i/nc3kTxZyC60p/wnYvJiuJcVMKWX\nYqIDgKAONDoGgP/ZzWxmw+KTkBU+YY/6JiRA73C/RR5zHO9NLcnlVizsCiqm\nSMhnILl+L+tfAHmULw2BN+mLSi6XyyJy3b1VSWQEsn0y5uzcUwILCTkze3Nj\noWjuWK+zXXgrukhVhX321jzmSYaiyv6zlkJFKL8Yki/mHLr02d9OASAZ7VFl\nULrGB4ZBmDbDfBS3tdvmwDc+J3uiOVy3/W46tFNgNbKFLk6QJDk1n0NaWYX3\nTyuLz8DI+0zjA+BWaN6WssGpR0lS5mtA9FyGRz0uVGFIumzRhqid95dzbhRz\n9GCiRsv9jeHOxf6xx8F4LwCcp9ZAyqmJSJcQZ+NC3AO2FagSiPoXY1Yyjryu\nd/UQJg9CyrDNpnKIqsuIhS3f+VtVlAVoCB3f7rMv68eIwtfhi3UWHZJzEh1o\nTUKQ5Y821nVY58ok8rVfS+9VHufJjcruKiegFZrUqmTbqZgZ6OUnsTno62VN\ns9cPJbdsce/Bk3IKWsBznuobxpsZNXiiyje1n0NjuTBdnf5wN9Jheqtee1Dz\nxsn3Pl7Un+6nkZ4O+DRY/SaJZzkWyB+gjJriwUyxdyqmNMrnArAJRONOHWmo\ncBU7\r\n=zup5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpJF9mYEqwffZ+VaLzNoBdNuBeVmSlGqKWACxrXmBGAQIgH4uwCRH47btOR2u2ReNTwIhLUX/X215VgDxiaNmlmEk="}]},"maintainers":[{"name":"dasprid","email":"mail@dasprids.de"},{"name":"jeremiahsmall","email":"github@jsmall.us"}],"_npmUser":{"name":"jeremiahsmall","email":"github@jsmall.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundler-dev_3.0.0-alpha.4_1585200633021_0.7185868656943166"},"_hasShrinkwrap":false},"3.0.0":{"name":"@carafe-fm/bundler-dev","version":"3.0.0","description":"Bundler for carafe files","bin":{"render-carafe-bundle":"bin/render-carafe-bundle.js","render-carafe-source":"bin/render-carafe-source.js","compile-carafe-bundle":"bin/compile-carafe-bundle.js","extract-carafe-bundle":"bin/extract-carafe-bundle.js","validate-carafe-bundle":"bin/validate-carafe-bundle.js"},"main":"dist/carafe-bundler.js","author":{"name":"Soliant Consulting"},"license":"MIT","scripts":{"build":"webpack-cli -p","version":"npm run build && git add dist"},"dependencies":{"ajv":"^6.12.0","ajv-errors":"^1.0.1","chalk":"^2.4.2","chokidar":"^3.3.1","faye-websocket":"^0.11.3","fs-extra":"^8.1.0","minimist":"^1.2.5","open":"^6.4.0","slugify":"^1.4.0"},"devDependencies":{"@babel/core":"^7.8.7","@babel/preset-env":"^7.8.7","babel-loader":"^8.0.6","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"repository":{"type":"git","url":"git+ssh://git@github.com/carafe-fm/carafe-bundler.git"},"keywords":["FileMaker","JavaScript"],"bugs":{"url":"https://github.com/carafe-fm/carafe-bundler/issues"},"homepage":"https://github.com/carafe-fm/carafe-bundler#readme","gitHead":"f31c868166a88821304f247a9501afe190135f61","_id":"@carafe-fm/bundler-dev@3.0.0","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-3OgM+Nnr6/hMxPFfARelQDPF2clYhKH4nQe6NOThU/bBjOA68ohPKon6Iiaz5dl1WMkAPv34zRMBg97C+7/r0Q==","shasum":"45aa75856b43fa84e2b930cd58e11fabb38dee71","tarball":"https://registry.npmjs.org/@carafe-fm/bundler-dev/-/bundler-dev-3.0.0.tgz","fileCount":50,"unpackedSize":672464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegatdCRA9TVsSAnZWagAAH3EP/RrCl9FuMcnux3FHZzoG\nd9LFh95iL3cQpsUO6ViTZCO6UFmGyBdWYIL9/JUP3+AbRVfyRpqy8fZdHpVC\nmL3N35jK/gE1OCrkMhtVICXVk1+n9B9P/15tsGm01QSlwm9WLmYXqZva0F3P\nS+aF27J4PgAe8EtvfaxXJYK+orBcnG6OZJLhWgY8PksxBuL4ae5U5h1ceNcL\nbWSEQ/ueiZJlhCkK5VL2yBBpwt6c3mqqDBcWlPSveR5I+tlSW6XfCOef/cqm\nCT91TYZ3ZispGRSdigN01elFOw0y95KBE4rd5ZX032bQEM8LKycBtoqL10Td\ntk4StfH5whbtVFISMbuWVro4IUhMv9YErc5FlZ6EYeS+kfnQDbIqqxRrUeWb\n4Ju1hnFdp/Sp5QeRuuBpiskYmTTG4+qOo9wLszppjzLi0GOI9Rvv3mnmoTsl\nXd5OIUHKD7LAsINM2uDEEt27yoxSaDy0/93snJfyb1CvgM5vojsvuJySZ0gV\nlvPShglcv3SrhVNLe/nnXAhHAYZZ+SEyfoH4QnlyMjcxp9DENLtZVDX3abq7\nwQKZHeUOY6yaygPmBCUji+jRdwn4yRJ+IRstMQNRUhdQReZaj6lYaqs/UrAu\nnH3CDDk0zs0PtwZjFCQ6UzqdcGuSFflNXMkkZS9OCyvtrbKEUzNrEQJqy7L7\ntbAa\r\n=jfVi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqUGM6KOznO1/Bi+qJtx8Pu96+CzbcItx0PMvwM0vJSQIgPQLBTarv75svYtqcY3B+uUKb/343sf771VgoQgMEVPU="}]},"maintainers":[{"name":"dasprid","email":"mail@dasprids.de"},{"name":"jeremiahsmall","email":"github@jsmall.us"}],"_npmUser":{"name":"jeremiahsmall","email":"github@jsmall.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundler-dev_3.0.0_1585556316870_0.2541890262920832"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-29T19:50:31.113Z","3.0.0-alpha.1":"2019-10-29T19:50:31.466Z","modified":"2023-12-11T21:05:17.090Z","3.0.0-alpha.3":"2020-03-18T22:44:55.878Z","3.0.0-alpha.4":"2020-03-26T05:30:33.200Z","3.0.0":"2020-03-30T08:18:37.063Z"},"maintainers":[{"email":"bengert@soliantconsulting.com","name":"bengert"},{"email":"github@jsmall.us","name":"jeremiahsmall"},{"email":"mail@dasprids.de","name":"dasprid"}],"description":"Bundler for carafe files","homepage":"https://github.com/carafe-fm/carafe-bundler#readme","keywords":["FileMaker","JavaScript"],"repository":{"type":"git","url":"git+ssh://git@github.com/carafe-fm/carafe-bundler.git"},"author":{"name":"Soliant Consulting"},"bugs":{"url":"https://github.com/carafe-fm/carafe-bundler/issues"},"license":"MIT","readme":"# Carafe Bundler\n\nThis is a utility for working with Carafe Bundles outside of FileMaker. Carafe Bundler is an NPM package which is used for a number of different purposes.\n\n1. It is packaged in an NPM Initializer to bootstrap a new Carafe Bundle project.\n1. It is transpiled into a Browser Tool for rendering and validating Carafe Bundles in browser applications.\n1. It can be packaged into any NPM project and used directly.\n\n## Prerequisites\n\nYou will need to have [Node.js and NPM installed](https://nodejs.org/en/download/) to use this utility.\n\n## NPM Initializer\n\nCarafe Bundler has an initializer which you can use to bootstrap a new Carafe Bundle project. The initializer will bootstrap a new bundle project using a starter template and include Carafe Bundler as a devDependency.\n\nThis is for two important use cases:\n\n1. Starting a brand new Bundle project in your preferred editor or IDE\n1. Customizing or configuring any existing Bundle in your preferred editor or IDE\n\n```bash\nnpm init @carafe-fm/bundle\n```\n\nTo work on an existing Bundle, you can initialize a new project with the appropriate project name, and then import the Bundle.\n\n```bash\nnpm init @carafe-fm/bundle existing-bundle\ncd existing-bundle\nnpm run import path/to/existing-bundle.json\n```\n\nThe initializer includes a README in the new project which provides a npm run command reference.\n\n## Browser Tool\n\nThe `dist/carafe-bundler.js` tool is for validating and rendering bundles in web browser implementations. See `test/browser-bundler.html` for a working example.\n\n### Validate\n\nThe `validator.validateBundle` method takes a json bundle argument, and returns a JavaScript Promise. Example usage:\n\n```javascript\n    var validator = new carafeBundler.default.CarafeValidator();\n    validator.validateBundle(theJson)\n        .then(function () {\n            console.log('Bundle is valid.');\n        })\n        .catch(function (errors) {\n            console.error('Bundle is not valid:');\n            console.error(errors);\n        });\n```\n\n### Render\n\nThe `renderer.render` method takes the html, bookend, config, and data bundle properties as arguments, and returns an HTML document. You can push it into an iframe with JavaScript like this:\n\n```javascript\n    var renderer = new carafeBundler.default.CarafeRenderer();\n    var iframeDocument = document.querySelector('#theiframe').contentWindow.document;\n    var content = renderer.render(theJson.html, theJson.bookend, theJson.config, theJson.data);\n    iframeDocument.open('text/html', 'replace');\n    iframeDocument.write(content);\n    iframeDocument.close();\n```\n\n\n\n## CLI\n\nYou can install Carafe Bundler as a devDependency in your Node project and manipulate a bundle with any of the commandline tools.\n\n```bash\nnpm install @carafe-fm/bundler --save-dev\n``` \n\n### Validate A Carafe Bundle\n\n```bash\nvalidate-carafe-bundle -h\n```\n\n```bash\n  usage: validate-carafe-bundle -b <path/to/existing/bundle.json>\n\n  purpose: Validates a JSON Bundle.\n\n  options:\n    -b  <argument> Required path to existing valid JSON Bundle\n    -h  Shows this help text\n```\n\n### Render A Bundle\n\n```bash\nrender-carafe-bundle -h\n```\n\n```bash\n  usage: render-carafe-bundle -b <path/to/existing/bundle.json> -o <path/to/output/rendered.html>\n\n  purpose: Renders a validated JSON Bundle to a specified HTML output path.\n\n  options:\n    -b  <argument> Required path to existing valid JSON Bundle\n    -o  <argument> Required path to output the rendered HTML\n    -h  Shows this help text\n```\n\n### Extract A Bundle Into Source files\n\n```bash\nextract-carafe-bundle -h\n```\n\n```bash\n  usage: extract-carafe-bundle -b  <path/to/existing/bundle.json>\n\n  purpose: Extracts source files from a given valid JSON Bundle.\n            CAUTION:  overwrites any existing files without warning.\n\n  configuration: Source files are loaded from the current directory by default.\n                 Source file paths may be customized in your package.json.\n  options:\n    -b  <argument> Required path to existing valid JSON Bundle\n    -h  Shows this help text\n```\n\n\n### Start A Dev Server To Render Source Files And Watch For Changes\n\nStarts watching four files in the current directory for changes and hot reloads the browser preview\n\n```bash\nrender-carafe-source -h\n```\n\n```bash\n  usage: render-carafe-source [-p <port>]\n\n  purpose: Starts a dev server on localhost:8080 by default.\n           Server hot reloads on changes to source files.\n\n  configuration: Source files are loaded from the current directory by default.\n                 Source file paths may be customized in your package.json.\n  options:\n    -p  <argument> Overrides the default localhost port (default is 8080)\n    -s  Send the compiled Bundle to Carafe.fmp12 if it is open on the host system (default is false)\n    -u  <argument> URL for send (default is fmp://$/Carafe?script=Send%20Carafe%20Bundle&param={sendConfig})\n        Note: {sendConfig} will be expanded into a JSON object with path string and forceSend bool properties at runtime\n    -f  Force the send to overwrite without prompting the user (default is false)\n    -h  Shows this help text\n```\n\nServer defaults to `localhost:8080`\n\n### Compile Source Files Into A Bundle And Optional Send to FileMaker\n\nCompiles source files and outputs a Bundle to the specified path\n\n```bash\ncompile-carafe-bundle -h\n```\n\n```bash\n  usage: compile-carafe-bundle [-b <output/path/to/new/bundle.json>] [-s  [-f] [-u <fmpurl>]]\n\n  purpose: Compiles source files to a validated JSON Bundle.\n           Optionally sends Bundle to Carafe.fmp12 if it is open on the host system.\n\n  configuration: Source files are loaded from the current directory by default.\n                 Source file paths and send URL may be customized in your package.json.\n  options:\n    -b  <argument> Bundle path (default is dist/{name}-{version}-{creator}.carafe-draft-02.json)\n    -s  Send the compiled Bundle to Carafe.fmp12 if it is open on the host system (default is false)\n    -u  <argument> URL for send (default is fmp://$/Carafe?script=Send%20Carafe%20Bundle&param={sendConfig})\n        Note: {sendConfig} will be expanded into a JSON object with path string and forceSend bool properties at runtime\n    -f  Force the send to overwrite without prompting the user (default is false)\n    -h  Shows this help text\n```\n","readmeFilename":"README.md"}