@sheetbase/app-scripts
Scripts for Sheetbase backend modules and apps.
Last updated 5 months ago by lamnhan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @sheetbase/app-scripts 
SYNC missed versions from official npm registry.

@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 plugin

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-plugin/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-plugin/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-plugin/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.

Options

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

License

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

Current Tags

  • 3.0.0-beta                                ...           latest (5 months ago)

38 Versions

  • 3.0.0-beta                                ...           5 months ago
  • 2.0.0-beta                                ...           8 months ago
  • 1.3.0                                ...           8 months ago
  • 1.2.0                                ...           9 months ago
  • 1.1.0                                ...           9 months ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-rc.0                                ...           a year ago
  • 0.0.31                                ...           a year ago
  • 0.0.30                                ...           a year ago
  • 0.0.29                                ...           a year ago
  • 0.0.28                                ...           2 years ago
  • 0.0.27                                ...           2 years ago
  • 0.0.26                                ...           2 years ago
  • 0.0.25                                ...           2 years ago
  • 0.0.24                                ...           2 years ago
  • 0.0.23                                ...           2 years ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (14)

Copyright 2014 - 2016 © taobao.org |