{"_id":"@dtrlanz/gas-bundler","_rev":"10-9b27a4e387208b7d7b0e10d37d178f42","name":"@dtrlanz/gas-bundler","dist-tags":{"latest":"0.3.3"},"versions":{"0.1.0":{"name":"@dtrlanz/gas-bundler","version":"0.1.0","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.1.0","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"fc0982d691c087a203b9eae2e2d4f92b0cfb76be","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.1.0.tgz","fileCount":40,"integrity":"sha512-wHKXARhzP1Zi6QDjAExNHcvjkHWErlY+CfWQWSMC1nGV5OKG384tezkZhAAOV0UhtzTn7RXdfg7ap1z1s1+nbw==","signatures":[{"sig":"MEUCIQCTqZuNMBpgrYCoXaR8mfpOojK+ymA5Tsbu1sMkKV611AIgd97IUcN94xw41X/QP5D3gfykLcbaEhlxERbxEyR6Wws=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134007},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"22346364a13c55ebf74eaa17c24d0d37d9632062","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"8.19.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"18.13.0","dependencies":{"cheerio":"^1.0.0-rc.12","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.19.5","@chialab/esbuild-rna":"^0.17.8","@chialab/esbuild-plugin-html":"^0.17.3"},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.1.0_1700108594057_0.7800881172113594","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@dtrlanz/gas-bundler","version":"0.1.1","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.1.1","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"f6ffc6c68e31ba2fef66009d3663a1bcdd865884","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.1.1.tgz","fileCount":40,"integrity":"sha512-GV7yuGjAymXxH7IBvClqliwGo5whmSkHW0xkNz9xSdF33MXWy9CRxxUvVHkOAL7YBnUeCvgW0nsLieoGZCypzw==","signatures":[{"sig":"MEQCIC26JnQvXW3z6UAE4uRqVtSwLiVGiMymVJ+Q5/zE4IxPAiBpZMSusUsODouv+0p/QTZwZyOa6fTJOQDN0CAek2CQWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134069},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"f5b87bc05f144bd7f72a65fe3c1b21c38c73ddbb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"8.19.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"18.13.0","dependencies":{"cheerio":"^1.0.0-rc.12","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.19.5","@chialab/esbuild-rna":"^0.17.8","@chialab/esbuild-plugin-html":"^0.17.3"},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.1.1_1700109561502_0.5242579875454623","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@dtrlanz/gas-bundler","version":"0.1.2","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.1.2","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"5bad552907a79167bea0c63e3887257b9e4c7ba8","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.1.2.tgz","fileCount":17,"integrity":"sha512-ouEFIpv9DjBZs6ON6spjpk/PbFnai6YLcegLmQzp7KtaEFL0l4xmECkE2MlVOz+MzUBI+9Mp7lMObLjC3XhR0Q==","signatures":[{"sig":"MEQCIEzb2tBfFpgO+1lKRmzxSnwlBp93P8yYCGfIkym81XwKAiBa/HUQs5dOZUNzhkuH7ET4svtPg/brXnKDKcAi9o/FRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48604},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"f5b87bc05f144bd7f72a65fe3c1b21c38c73ddbb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"8.19.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"18.13.0","dependencies":{"cheerio":"^1.0.0-rc.12","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.19.5","@chialab/esbuild-rna":"^0.17.8","@chialab/esbuild-plugin-html":"^0.17.3"},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.1.2_1700110684533_0.33711110341947115","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@dtrlanz/gas-bundler","version":"0.1.3","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.1.3","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"0019a5f94e8a960ce7f6bf022709cb384192d13e","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.1.3.tgz","fileCount":17,"integrity":"sha512-AMGa/1x1hmdHKjSC5R6C2lzjVTvhU71luw3idJFm3VQka+s5KO9mPoKbwTvCDqInDUXNdaehZWrb9VbDCjfsjg==","signatures":[{"sig":"MEUCIQDJBiHRjaWRwfumCqdu+gRzBdFJ9PNYkRCS2x58mrF7qgIgLENGwNomjMTbSACG5mReBlnwgGBLRXswULWPmPmgbWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48520},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"f5b87bc05f144bd7f72a65fe3c1b21c38c73ddbb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"8.19.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"18.13.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.19.5","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.1.3_1700111043105_0.1698279984845874","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@dtrlanz/gas-bundler","version":"0.1.4","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.1.4","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"aff7ab7e7b09a4c9b068af5335b578f3c02ab2f7","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.1.4.tgz","fileCount":17,"integrity":"sha512-UjyhGKp1cW5+qGR51wQ9G71rIjMdiopzKZ/5lGajs6r1IKnfgV6bV7bfxnuE6xYm4fjFLMiEC5u98EeVk8yDZg==","signatures":[{"sig":"MEUCIQCWp9GK3yTp78irdgu8nHfQDsKOuA8F3S5hHRpN4UNXWQIgFB57EJqwQaLCifM2bREZhAnaBt6C12SpCuHpbZ/sMtc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48603},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"0b902a2d49eb2f33436c7533bac71d3a2decb3ed","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"8.19.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"18.13.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.19.5","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.1.4_1700146220013_0.40178119611548824","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@dtrlanz/gas-bundler","version":"0.1.5","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.1.5","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"155bf8185e19851e2499a7d8a612e4d170a829a6","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.1.5.tgz","fileCount":17,"integrity":"sha512-43k8U7QMlHKua9wNHL20zf2TrWb6V/OojfOCoHh70WFPDfYDx1ONToVJI2OOsVt/w/1JOdLeQYj0CfW/iq7+xA==","signatures":[{"sig":"MEQCIHf/LF7SxInT+KD5af934ijzEVwWfQwQMUJBy+/gUv+8AiBVYF84OndDoGaeB/7FZIqvdD765JIfDTasWg29dUsOYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61068},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"88cb209329ec484e31c54197731b951bde1dd3a0","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"8.19.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"18.13.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.19.5","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.1.5_1700146933240_0.5340732096244845","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@dtrlanz/gas-bundler","version":"0.2.0","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.2.0","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"e4806c1caa33387cef29f53dfa602197b8a1fdd2","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.2.0.tgz","fileCount":19,"integrity":"sha512-8gFboO4hTdvKjWMuTHbE/PINWQNPGZi/qtPBqvHASPXq0kLE3S9lD1lAEJtyN/E1fz+E5FsfksVn/3VDfREw0Q==","signatures":[{"sig":"MEUCIQCVoQfeRC4GoXBcGuuDxJKXl4R6nYthFcaYMm4JeOypawIgOEIy4d6vBg8RZFuUnzbKClsBUmAM4Vh1HBRoXTQ2zhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65224},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"92b72e1fa2cb21fd3c68761651a9d348395fc620","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"10.2.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"20.10.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.19.5","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.2.0_1703776898613_0.2707945479314193","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@dtrlanz/gas-bundler","version":"0.3.0","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.3.0","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"df15b56aff026e9f0264c5ba3bc6bdb01f589de2","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.3.0.tgz","fileCount":19,"integrity":"sha512-kUzFW5E/iLpJl0bPT9yxuuc/IJVNeMkyd0yiob72RO/S4ecPlbGnEyiif+hGX/fn9unlKk7mg2/cw09iRIbAtA==","signatures":[{"sig":"MEQCIEcrujfv0hAZ5mPF8xcXmI9zAw4jbwRTSyhHOENEAghMAiBHnOJ+1QOP1fiFyHQ5t2muBNoF/AZ9bFSKrKRemQQDoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65365},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"4263b5ce6fd251d2535a1ce1b231ef1534fb96b4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"10.2.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"20.10.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.21.0","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.3.0_1715702799575_0.715201594362094","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@dtrlanz/gas-bundler","version":"0.3.1","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.3.1","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"7bb98b126feb8c32accf262db4050c7f477e8544","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.3.1.tgz","fileCount":19,"integrity":"sha512-D5YWbSVaBJetMhK5qCZsGEu2VBD4mOl3PFRb4AyYY4guMiZU2G9ZT/JzJSlkws0wT50jpPjjQm4xzFSmz3T+IA==","signatures":[{"sig":"MEQCIBCYzG3aMxuQ7e1LWyH0mZMcAHDFzz62oLqtTTIbqL2vAiB/7JuidZnu2cWg4CokJByXGZghBDmyKQLfzcr+WpsLsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65365},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"a77b1e44c055b63f118beb0616e9facceb90510e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"10.2.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"20.10.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.21.3","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.3.1_1716915792109_0.13418307355231973","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@dtrlanz/gas-bundler","version":"0.3.2","keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","_id":"@dtrlanz/gas-bundler@0.3.2","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"homepage":"https://github.com/dtrlanz/gas-bundler#readme","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"dist":{"shasum":"b35a545aa79cc1198c8181952656cdeca3ac60b3","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.3.2.tgz","fileCount":15,"integrity":"sha512-q02f/BHK9oZpMzWMZqmzE73T3+9wL+NwkDZfP6PEBzh23STiNr1zgKENW4+MsoY5s+PzF+1m4GrUjiDHEANYvg==","signatures":[{"sig":"MEUCIQDIx0ZWarGwszo44YlwY22yhzPD9cuwuZZnGK9PxHWojgIgeHigVe3mXPNI98J/oGPkNXPaLoTj/p7DdOWrCVOKp3I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61645},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","gitHead":"8bbc8a53ace5f82a62d85b14763b264331a29fd8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"repository":{"url":"git+https://github.com/dtrlanz/gas-bundler.git","type":"git"},"_npmVersion":"10.2.3","description":"**GAS Bundler**","directories":{},"_nodeVersion":"20.10.0","dependencies":{"cheerio":"^1.0.0-rc.12","esbuild":"^0.21.3","@jimp/png":"^0.22.10","@jimp/jpeg":"^0.22.10","js-beautify":"^1.14.11","@jimp/custom":"^0.22.10","@jimp/plugin-resize":"^0.22.10","@chialab/esbuild-rna":"^0.19.0-beta.3","@chialab/node-resolve":"^0.19.0-beta.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/gas-bundler_0.3.2_1722330839689_0.9755587212965646","host":"s3://npm-registry-packages"}},"0.3.3":{"type":"module","devDependencies":{},"dependencies":{"@jimp/custom":"^0.22.10","@jimp/jpeg":"^0.22.10","@jimp/plugin-resize":"^0.22.10","@jimp/png":"^0.22.10","cheerio":"^1.0.0-rc.12","js-beautify":"^1.14.11","esbuild":"^0.21.3","@chialab/esbuild-rna":"^0.19.0-beta.3","@chialab/node-resolve":"^0.19.0-beta.1"},"name":"@dtrlanz/gas-bundler","description":"**GAS Bundler**","version":"0.3.3","main":"./dist/lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dtrlanz/gas-bundler.git"},"keywords":["apps-script"],"author":{"name":"Daniel Lanz"},"license":"MIT","types":"./dist/lib/index.d.ts","bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"homepage":"https://github.com/dtrlanz/gas-bundler#readme","_id":"@dtrlanz/gas-bundler@0.3.3","gitHead":"8bbc8a53ace5f82a62d85b14763b264331a29fd8","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-f7sw/sr4UVln4SKmhXH8nZpA/N8xZZY1ps7VQG+43Imkv4LwVF1uJXQLronokCA5LCgqEXGm5T6xBfIQOoVlHQ==","shasum":"e5d615f95e44ffd48abe3dccd513a104c08d77d7","tarball":"https://registry.npmjs.org/@dtrlanz/gas-bundler/-/gas-bundler-0.3.3.tgz","fileCount":19,"unpackedSize":65380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo/bmGZSFdjamVvWFxpIdBELiu/4i+qxUXc2VNOOEm9gIhALg86jlHkFCAc5JWQzXGjSajV4N7fkoNo5GEN1yuBFrC"}]},"_npmUser":{"name":"dtrlanz","email":"dl15@outlook.com"},"directories":{},"maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gas-bundler_0.3.3_1722331506443_0.1378222121126358"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-16T04:23:13.968Z","modified":"2024-07-30T09:25:06.806Z","0.1.0":"2023-11-16T04:23:14.341Z","0.1.1":"2023-11-16T04:39:21.822Z","0.1.2":"2023-11-16T04:58:04.811Z","0.1.3":"2023-11-16T05:04:03.412Z","0.1.4":"2023-11-16T14:50:20.298Z","0.1.5":"2023-11-16T15:02:13.379Z","0.2.0":"2023-12-28T15:21:38.808Z","0.3.0":"2024-05-14T16:06:39.736Z","0.3.1":"2024-05-28T17:03:12.326Z","0.3.2":"2024-07-30T09:13:59.841Z","0.3.3":"2024-07-30T09:25:06.618Z"},"bugs":{"url":"https://github.com/dtrlanz/gas-bundler/issues"},"author":{"name":"Daniel Lanz"},"license":"MIT","homepage":"https://github.com/dtrlanz/gas-bundler#readme","keywords":["apps-script"],"repository":{"type":"git","url":"git+https://github.com/dtrlanz/gas-bundler.git"},"description":"**GAS Bundler**","maintainers":[{"name":"dtrlanz","email":"dl15@outlook.com"}],"readme":"**GAS Bundler**\r\n\r\n*A simple bundler for Google Apps Script*\r\n\r\n---\r\n\r\n## Install\r\n\r\n```\r\nnpm install @dtrlanz/gas-bundler --save-dev\r\n```\r\n \r\n## Usage\r\n\r\nThis bundler calls esbuild's `build` function to bundle Google Apps Script projects. However, instead of passing the project entry points, it separates them into server and client entry points based on file extension.\r\n\r\nClient side entry points are bundled using a plugin that inlines ECMAScript Modules into `<script>` tags.\r\n\r\nAfter installing the package, set up a build script `build.js`.\r\n\r\n```\r\nawait build({\r\n    entryPoints: ['src/server.ts', 'src/client.html'],\r\n    outdir: 'out',\r\n});\r\n```\r\n\r\nThen run it as follows:\r\n\r\n```\r\nnode ./build.js\r\n```\r\n\r\nWith the exception of `entryPoints`, all other options are passed directly to esbuild (potentially overriding defaults provided by this package). See the [esbuild documentation](https://esbuild.github.io/api/).\r\n\r\n## Use cases\r\n\r\nGoogle Apps Script projects that serve HTML in any form (e.g., web apps, side panels) include these in the form of `.html` files. Client-side code typically has to be contained directly in these files or included from dedicated `.html` files with `<script>` tags (see [Separate HTML, CSS, and JavaScript](https://developers.google.com/apps-script/guides/html/best-practices#separate_html_css_and_javascript)). This setup has several drawbacks. In particular, it makes it more difficult to develop client-side code in Typescript, and it inhibits sharing code between server and client.\r\n\r\nMoreover, Google Apps Script does not support ECMAScript Modules.\r\n\r\nThis package seeks to address those issues by using `esbuild` to bundle projects with approporiate default options and a customized HTML plugin that inlines client-side code.\r\n\r\n## Client-side scripts\r\n\r\nThe HTML loader will inline client-side scripts when bundling HTML files. These script tags must have the attribute `type=\"module\"`.\r\n\r\nFor example, say you have the following file `client.html`:\r\n\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n  <head><meta charset=\"utf-8\"></head>\r\n  <body>\r\n    <script type=\"module\">\r\n        import { message } from './client-script.ts';\r\n        console.log(message);\r\n    </script>\r\n  </body>\r\n</html>\r\n```\r\n\r\nThe relevant code would be contained in a file `client-script.ts` in the same folder:\r\n\r\n```\r\nexport const message = 'Hello world';\r\n```\r\n\r\n## Attribution & Disclaimer\r\n\r\nGoogle is a trademark of Google LLC. This project is not endorsed by or affiliated with Google in any way.\r\n\r\n## License\r\n\r\n**GAS Bundler** is released under the [MIT](./LICENSE) license.","readmeFilename":"README.md"}