You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/config.ts
+70Lines changed: 70 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,3 +76,73 @@ export const config: {
76
76
'.prettierignore': '.prettierignore',
77
77
},
78
78
};
79
+
80
+
exportconstconfigForUi: {
81
+
dependencies: string[];
82
+
scripts: PackageJson.Scripts;
83
+
filesCopy: Record<string,string>;
84
+
filesMerge: Record<string,string>;
85
+
}={
86
+
dependencies: [
87
+
'@angular/cli',
88
+
'@google/clasp',
89
+
'@types/google-apps-script',
90
+
'@types/jest',
91
+
'@typescript-eslint/eslint-plugin',
92
+
'eslint',
93
+
'eslint-config-prettier',
94
+
'eslint-plugin-prettier',
95
+
'fs-extra',
96
+
'gts',
97
+
'inquirer@^8.0.0',
98
+
'jest',
99
+
'license-check-and-add',
100
+
'ncp',
101
+
'prettier',
102
+
'rimraf',
103
+
'rollup',
104
+
'rollup-plugin-cleanup',
105
+
'rollup-plugin-license',
106
+
'rollup-plugin-typescript2',
107
+
'ts-jest',
108
+
'typescript',
109
+
],
110
+
scripts: {
111
+
'preinstall':
112
+
'(cd src/ && ng new --skip-git --skip-tests=true --routing=false --ssr=false --style=css --standalone ui && cd ui/ && ng add --skip-confirmation @angular/material)',
113
+
'clean': 'rimraf build dist',
114
+
'lint':
115
+
'npm run license && eslint --fix --no-error-on-unmatched-pattern src/ test/',
'npm run lint && npm run test && npm run build && ncp appsscript.json dist/appsscript.json && ncp .clasp-dev.json .clasp.json && npm run build-ui && npm run deploy-ui && clasp push -f',
124
+
'deploy-ui': 'node deploy-ui.mjs',
125
+
'deploy:prod':
126
+
'npm run lint && npm run test && npm run build && ncp appsscript.json dist/appsscript.json && ncp .clasp-prod.json .clasp.json && npm run build-ui && npm run deploy-ui && clasp push',
0 commit comments