JSPM

@sheetbase/server-scripts

3.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q34639F
  • License MIT

Scripts for Sheetbase server modules and apps.

Package Exports

  • @sheetbase/server-scripts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sheetbase/server-scripts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Install

Global

$ npm install -g @sheetbase/server-scripts

Command: sheetbase-server-scripts

Local

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

Add these lines to the project package.json.

{
  "scripts": {
    "build": "sheetbase-server-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/server-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/server-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/server-scripts/ayedocs-plugins/sheetbase-routing.template");

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

Command overview

Scripts for Sheetbase server modules and apps.

Command reference

build

Build distribution package.

deploy

Push to the Apps Script server.

Options

  • -d, --dry-run: Staging only.
  • --copy [value]: Copied resources, comma-seperated.
  • --vendor [value]: Files for @vendor.js, comma-seperated.

help

Display help.

License

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


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