This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config/dev/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "build:prod": "DEPLOY_ENV=prod webpack --config config/webpack/webpack.config.js", | |
| "build": "DEPLOY_ENV=dev webpack --watch --config config/webpack/webpack.config.js", | |
| "sync": "cd build/ && clasp push" | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { env } = require("process"); | |
| const deployEnv = env.DEPLOY_ENV || "dev"; | |
| [...] | |
| module.exports = { | |
| [...] | |
| plugins: [ | |
| new CopyWebpackPlugin([ | |
| { from: join(root, `config/${deployEnv}/.clasp.json`), to: ".", ToType: "file" }, | |
| ]), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "sync": "DEPLOY_ENV=dev webpack --watch --config config/webpack/webpack.config.js", | |
| "push": "cd build/ && clasp push" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const exec = require("child_process").exec; | |
| [...] | |
| module.exports = { | |
| [...] | |
| plugins: [ | |
| [...] | |
| new CopyWebpackPlugin([ | |
| { from: join(root, "config/dev/.clasp.json"), to: ".", ToType: "file" }, | |
| ]), | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scriptId":"10r3UYeLI…" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const HtmlWebpackPlugin = require("html-webpack-plugin"); | |
| [...] | |
| module.exports = { | |
| [...] | |
| plugins: [ | |
| new HtmlWebpackPlugin({ | |
| filename: "appsscript.json", | |
| template: join(root, "config", "appsscript.json.ejs"), | |
| chunks: [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "oauthScopes": [ | |
| "https://www.googleapis.com/auth/gmail.addons.execute", | |
| "https://www.googleapis.com/auth/gmail.readonly" | |
| ], | |
| "gmail": { | |
| "name": "<%= htmlWebpackPlugin.options.addon.name %>", | |
| "logoUrl": "https://i.imgur.com/Em0d7Tc.png", | |
| "contextualTriggers": [{ | |
| "unconditional": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "build": "DEPLOY_ENV=dev webpack --watch --config config/webpack/webpack.config.js", | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "compilerOptions": { | |
| "outDir": "./build", | |
| "baseUrl": ".", | |
| "noImplicitAny": true, | |
| "sourceMap": true, | |
| "strictNullChecks": false, | |
| "noImplicitThis": true, | |
| "noEmitOnError": true, | |
| "target": "ES5", |
NewerOlder