– retrieves the ~/.clasprc.json file with the key.
npm run glogin
– creates a project; in the console, select 'form'.
npm run gcreate
After executing the gcreate command, you will find files in the 'appsscript' directory. Copy the .clasp.json file to the project's root.
-
Initializes a
package.json
file in the current directory with default values.npm init -y
-
Installs the Parcel package as a development dependency for your project.
npm install --save-dev parcel
-
Starts the project. Typically used to run the "start" script from the "scripts" section in the
package.json
file.npm start
-
Installs the Vue.js package for your project.
npm install vue
-
Installs the @google/clasp package for working with Google Apps Script from the command line.
npm install -D @google/clasp
-
TypeScript Documentation with @google/clasp: Link to documentation on using TypeScript with @google/clasp.
-
Installs TypeScript types for Google Apps Script.
npm i -D @types/google-apps-script
-
Installs the nodemon package for automatic server reloading when files change in development mode.
npm install -D nodemon
-
Installs Prettier for code formatting. The
--save-dev
option adds it to development dependencies, and--save-exact
keeps exact versions in thepackage.json
file.npm install --save-dev --save-exact prettier
Feel free to use this text in Markdown format for better readability.