Skip to content

Repository files navigation

WebCardinal bundles

The content of each bundle can be viewed in the table below:

namespace package bundle
webcardinal
minimal 
wiki    
all     
webcardinal core ✔️ ✔️ ✔️ ✔️
cardinal barcode ✔️ ✔️
core ✔️
essentials ✔️ ✔️ ✔️
forms ✔️ ✔️
wiki ✔️ ✔️ ✔️

How to use WebCardinal bundler?

For a WebApp

  1. Clone this repository
git clone https://github.com/webcardinal/webcardinal-bundler
  1. Install it
npm install
  1. Bring your desired bundle
npm run bundle-<BUNDLE_NAME>
# example npm run bundle-minimal
  1. Obtain the distribution
npm run build

The generated distribution is now in /webcardinal directory.

For a SSApp

In the octopus.json of your workspace.

  1. Add WebCardinal as a dependency
{
    "name": "webcardinal",
    "src": "https://github.com/webcardinal/webcardinal-bundler",
    "actions": [
        {
            "type": "smartClone",
            "target": ".",
            "collectLog": false
        },
        {
            "type": "execute",
            "cmd": "cd webcardinal && npm install && npm run bundle-<BUNDLE_NAME> && npm run build"
        }
    ]
}
  1. Add distribution in a new Dossier in build script
{
    "name": "webcardinal-wallet-build",
    "actions": [
        {
            "type": "execute",
            "cmd": "cd webcardinal && npm run build-dossier"
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages