gasinit v1.0.67
Google Apps Script : initial files and folder
For : TypeScript project
Install
run command
- on Mac must have
sudo
sudo npm install -g gasinit
Usage
- Create new project
cd
to my projectrun command
gasinit
% gasinit
? Enter a description for your project: (A sample test-npm project)
type description for your project and Enter
š ļø š ļø š ļø Install : dependencies listed in the package.json file.
npm install
File Structure
project/
āāā ./src
ā āāā ./config
ā ā āāā Config.ts
ā āāā ./helpers
ā ā āāā DateHelper.ts
ā āāā Code.ts
āāā LICENSE
āāā package-lock.json
āāā package.json
āāā README.md
āāā tsconfig.json
Create .gitignore
# Node.js and npm
node_modules/
npm-debug.log
package-lock.json
yarn.lock
# TypeScript
dist/
build/
*.tsbuildinfo
# Google Apps Script
.gas/
**/appsscript.json
.clasp.json
.clasprc.json
creds.json
# JavaScript
*.log
*.min.js
*.min.js.map
# IDE and Editor files
.vscode/
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Environment files
.env
.env.local
.env.development
.env.test
.env.production
# macOS files
.DS_Store
# Windows files
Thumbs.db
# Logs and databases
*.log
*.sqlite
# Build and cache directories
.cache/
.temp/
.out/
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago