JSPM

synquery-bootstrap

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q22666F
  • License ISC

Command line tools for developing applications on Synquery web-platform.

Package Exports

    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 (synquery-bootstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    synquery project logo

    Synquery Bootstrap Build Status synquery-bootstrap version

    Table of Contents

    Intro

    synquery-bootstrap allows you to quickly install and setup develop environment with synquery web-platform via the command line.

    Example:

    $ sb use [project id]
    Now ready to execute \#project_id 

    Simple as that!

    synquery-bootstrap also provides convenience tools for building Single-Session Application:

    1. HTML replacer

    # change parcel absolute paths to relative
    $ node .sb/etc/replacer.js relativize -A
    
    # add or modify html node in bulk
    $ node .sb/etc/replacer.js add -A head content-type "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">"
    
    # delete html node in bulk
    $ node .sb/etc/replacer.js del -A head meta,content-type

    Synquery web-platform technology basis

    About

    synquery-bootstrap needs the well-known javascript runtime node.js. We recommend to install nvm before installing this module.

    Installing and Updating

    Install & Update Script

    After installing node.js, you should make your project directory and move into it.

    mkdir myproject
    cd myproject

    Then, to install the release version:

    npm install synquery-bootstrap

    Or to install the latest version(only on bash environment):

    curl -o- https://raw.githubusercontent.com/synquery/synquery-bootstrap/refs/heads/main/cmd/setup.sh | bash
    wget -qO- https://raw.githubusercontent.com/synquery/synquery-bootstrap/refs/heads/main/cmd/setup.sh | bash