This package has been deprecated

Author message:

rename to @sheetbase/server-scripts

@sheetbase/app-scripts
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

@sheetbase/app-scripts

Scripts for Sheetbase backend modules and apps.

Build Status Coverage Status NPM License Support me on Patreon PayPal Ask me anything

Install

Global

$ npm install -g @sheetbase/app-scripts

Command: sheetbase-app-scripts

Local

$ npm install --save-dev @sheetbase/app-scripts

Add these lines to the project package.json.

{
  "scripts": {
    "build": "sheetbase-app-scripts build"
  }
}

Ayedocs plugins

This package provides Ayedocs templates and converts for conviniently document generation for Sheetbase server modules.

Sheetbase template

Included all sections:

  • Installation
  • Options
  • Main properties & methods
  • Routing
const sheetbaseTemplate = require("@sheetbase/app-scripts/ayedocs-plugins/sheetbase.template");

module.exports = {
  fileRender: {
    "sheetbase.md": sheetbaseTemplate(),
    "sheetbase-full.md": sheetbaseTemplate(true),
  },
};

Sheetbase installation template

Common installation & basic usage section.

const sheetbaseInstallationTemplate = require("@sheetbase/app-scripts/ayedocs-plugins/sheetbase-installation.template");

module.exports = {
  fileRender: {
    "sheetbase-installation.md": sheetbaseInstallationTemplate(),
    "sheetbase-installation-full.md": sheetbaseInstallationTemplate(true),
  },
};

Sheetbase routing template

Showing endpoint, default disabled routes, routing errors and the list of routes.

const sheetbaseRoutingTemplate = require("@sheetbase/app-scripts/ayedocs-plugins/sheetbase-routing.template");

module.exports = {
  fileRender: {
    "sheetbase-routing.md": sheetbaseRoutingTemplate(),
    "sheetbase-routing-full.md": sheetbaseRoutingTemplate(true),
  },
};

Command overview

Scripts for Sheetbase backend modules and apps.

Command reference

build

Build distribution package.

push

Push to the Apps Script server.

Options

  • --copy [value]: Copied resources, comma-seperated.
  • --vendor [value]: Files for @vendor.js, comma-seperated.

help

Display help.

License

@sheetbase/app-scripts is released under the MIT license.


⚡️ This document is generated automatically using @lamnhan/ayedocs.

Package Sidebar

Install

npm i @sheetbase/app-scripts

Weekly Downloads

9

Version

3.0.4

License

MIT

Unpacked Size

52.5 kB

Total Files

38

Last publish

Collaborators

  • lamnhan