{"_id":"apps-script-starter","_rev":"1-5cbf87b82dbaeefbfc3b2fac1812e526","name":"apps-script-starter","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"apps-script-starter","version":"1.0.2","description":"A starter kit for building Google Apps Script projects with modern JavaScript ES6","author":{"name":"Amit Agarwal","email":"amit@labnol.org","url":"https://digitalinspiration.com"},"homepage":"https://digitalinspiration.com/","license":"MIT","main":"src/index.js","scripts":{"prebuild":"npm version --loose-semver --new-version patch","build":"webpack --bail --progress --colors --display-modules","deploy":"npm run build && clasp push"},"repository":{"type":"git","url":"git+https://github.com/labnol/apps-script-starter.git"},"keywords":["google-apps-script","gsuite","google","babel","webpack","eslint"],"dependencies":{},"devDependencies":{"@google/clasp":"^1.3.2","@types/google-apps-script":"0.0.24","babel-core":"^6.26.3","babel-eslint":"^8.2.3","babel-loader":"^7.1.4","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-assign":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-preset-env":"^1.7.0","clean-webpack-plugin":"^0.1.19","copy-webpack-plugin":"^4.5.1","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-loader":"^2.0.0","eslint-plugin-googleappsscript":"^1.0.1","eslint-plugin-import":"^2.12.0","eslint-plugin-prettier":"^2.6.0","gas-lib":"^2.0.1","gas-webpack-plugin":"^0.3.0","prettier":"^1.13.5","uglifyjs-webpack-plugin":"^1.2.5","webpack":"^4.12.0","webpack-cli":"^3.0.6"},"gitHead":"56c635b113c46c264f24ae166e4a92a5fc5805f1","bugs":{"url":"https://github.com/labnol/apps-script-starter/issues"},"_id":"apps-script-starter@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"9.4.0","_npmUser":{"name":"labnol","email":"amit@labnol.org"},"dist":{"integrity":"sha512-jmY10co1thJcQG03BRXjTr4jrQfW3/VQfR1MZ1vCSV/6l476Q6JkTRdMzMOpA6R8LjD3JbQZ3sJ2A9HUFZJj7w==","shasum":"44d5d2ca492c36c8f391a2e7b28feb79c6a9d58e","tarball":"https://registry.npmjs.org/apps-script-starter/-/apps-script-starter-1.0.2.tgz","fileCount":30,"unpackedSize":19271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIilPCRA9TVsSAnZWagAAbbgP/36iu29+zIyvjAkc1pGG\n9oRojd+fGsAw8ZC6LrKqW31116DBmCeLYyWmfIrGil/rlcv2rGar9ZB5wZXK\nsVcL87RfKcsEYfz9ygM/5tuuqrgSaxBuQLQ5Ib9mC24JeIrwzAWGEVSmLkDf\nYGpoiSS1jBpm6WtU+KvAkDGvXfAZtivkCNqJ3kcApWxIx4w1mTtG5ZpgurLN\nQy0HxIBtw21uyXz+hUWKJkMrz0i/iMzNcfm61yC4vx2KioLJHelVqyRfny/w\nS2t0Juyq44eNj2ioXQN2E/6FjVDa1DdK+t77BGSkwqSCE1avNTYBXBzugmGY\ni3Qrj8H6j5F48LTvyns2Fr1TyjyyBgsmSJYf6H1hQ1Ir0yO6L+SzRmKm9xvL\n1avhGBTFw/FwpEWZXo+dBfGhOnHf6cFJGn3+Csqqebfsj9VSfjahQAZfsURX\nEBevlu9DQP3em2Vm9N1w+N/+Fvwmr8d7cpn5/btKglzO0BVs4mOPPohJg6M+\nPg3YSo6eSoARqP1sdCmivruZEZAEPK/yNNhplyALdy1rHHG0cNvwbGI60d2X\nwImbK7fnyX5bEGwj2Vu62XcG1dKyjRs8CfE1fSJ6fgsPyUXVbeWzXbfJ9Pjm\nx6mbtVlYr7JL46adqGxFr1crkXmTuPI1FhaXiBf9fcoRt13dJH0LrbEaV0HK\nmmEA\r\n=57yC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNo1nTJmiF2YbX7JyiJLDC+B1mIAy8GyHSwghatYpZmgIgaQJu5+kw3NsPl6WAGdFJJguZmhvdiIVGzCIyFY1CXPo="}]},"maintainers":[{"name":"labnol","email":"amit@labnol.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apps-script-starter_1.0.2_1528965454052_0.6545602085836069"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-14T08:37:34.051Z","1.0.2":"2018-06-14T08:37:34.127Z","modified":"2022-04-11T14:55:15.664Z"},"maintainers":[{"name":"labnol","email":"amit@labnol.org"}],"description":"A starter kit for building Google Apps Script projects with modern JavaScript ES6","homepage":"https://digitalinspiration.com/","keywords":["google-apps-script","gsuite","google","babel","webpack","eslint"],"repository":{"type":"git","url":"git+https://github.com/labnol/apps-script-starter.git"},"author":{"name":"Amit Agarwal","email":"amit@labnol.org","url":"https://digitalinspiration.com"},"bugs":{"url":"https://github.com/labnol/apps-script-starter/issues"},"license":"MIT","readme":"![Google Apps Script Development with ES6](https://digitalinspiration.com/images/google-apps-script-development.png)\n\n## Google Apps Script 💯\n\nUse the [Apps Script Starter kit](https://github.com/labnol/apps-script-starter) to quickly build Google add-ons and web applications with next-generation JavaScript.\n\nThe starter kit is used by [Digital Inspiration](https://digitalinspiration.com/) for building Google add-on likes [Gmail Mail Merge](https://chrome.google.com/webstore/detail/mail-merge-with-attachmen/nifmcbjailaccmombpjjpijjbfoicppp), [Google Forms Notifications](https://chrome.google.com/webstore/detail/email-notifications-for-f/acknfdkglemcidajjmehljifccmflhkm) and [Twitter Archiver](https://chrome.google.com/webstore/detail/twitter-archiver/pkanpfekacaojdncfgbjadedbggbbphi?hl=en).\n\nFor help, please contact [Amit Agarwal](https://twitter.com/labnol) amit@labnol.org\n\n## Developing with Apps Script 🚀\n\nThe Apps Script Starter kit makes it easy for you to quickly setup a modern development environment and build workflow. Here's everything that's included in the starter kit to get you started:\n\n#### Babel\n\nWrite code using ES6 features like arrow functions, destructuring, classes, template literals, and the Babel transpiler will transform your ECMAScript 2015/2017 code to ES5 that Apps Script can understand.\n\n#### ESLint\n\nA popular linting engine that analyzes your JavaScript code for correctness and highlights the errors in real time before you even compile the code, thus reducing the development time.\n\n#### Webpack\n\nWebpack is a powerful tool for bundling JavaScript modules. Developers can structure code in directory and Webpack creates a minimized and optimized bundle for pushing to production.\n\n#### Google CLASP\n\nA command line utility for working with Google Apps Script projects. You can develop code locally and push it to production, manage your manifest file, deploy web apps and publish new versions of apps.\n\n#### Visual Studio Code\n\nThis incredibly powerful source code editor from Microsoft provides an integrated development environment and has built-in support for Emmet, Intellisense for code autocompletion, Command Line Terminal, Git integration, Node.js , TypeScript and more.\n\n#### Prettier\n\nA code formatter that will beautify your JavaScript, JSON, HTML and CSS stylesheets according to a set of rules and styles widely accepted by programmers.\n\n#### AirBnB\n\nDevelopers have their own unique style of writing code. AirBnB's JavaScript style guide outlines how JavaScript code should be written and adheres to the rules.\n\n## Getting Started 🏃🏼\n\n![Google Apps Script - Setup Development Environment](https://www.labnol.org/media/npm-install.gif)\n\nSetting up a modern development environment for building Google Apps Script projects is easy and quick. You also need to install Node.js which includes the npm package manager.\n\n1\\. Clone the repository and install npm dependencies\n```\ngit clone https://github.com/labnol/apps-script-starter\ncd apps-script-starter \nnpm install\n```        \n\n2\\. Log in to Google clasp and authorize with your Google account.\n```\nnpx clasp login\n```\n\n3\\. Replace the \"scriptId\" value in the .clasp.json file.\n\n4\\. Include the necessary OAuth Scopes in the appsscript.json file\n\n5\\. Deploy the project\n```\nnpm run deploy\n```\n          \nThe `dist` directory contains the bundled code that is pushed to Google Apps Script.\n\n## About the Developer 👨🏼‍💻\n\n[Amit Agarwal](https://digitalinspiration.com/google-developer) is a web geek and author of [labnol.org](https://www.labnol.org/), a popular tech how-to website. He frequently uses [Google Apps Script](https://ctrlq.org/) to automate workflows enhance productivity. \n\nReach him on [Twitter](https://twitter.com/labnol) or email amit@labnol.org\n\n#### Contributions 🙏🏼\n\nContributions and feature requests are welcome. If you are using the Google Apps Script starter package and fixed a bug for yourself, please consider submitting a PR!\n\n#### License 📄\n\n[MIT License](https://github.com/labnol/apps-script-starter/blob/master/LICENSE) (c) [Amit Agarwal](https://digitalinspiration.com/google-developer)\n","readmeFilename":"README.md"}