@armhil/azure-blob-static-content-uploader

1.1.0 • Public • Published

azure-blob-static-content-uploader

A static content uploader to upload files to Azure Blob Storage accounts.

A static-content-config.json file is required at the root of the react-app or whatever static content we're building. The schema should be like

{
 	"appName": "easy-references",
	"initialDirectoryName": "taskpane",
	"uploadDirectory": "build",
	"accountName": "easyaddins%REGION%",
	"connectionString": "DefaultEndpointsProtocol=https;AccountName=%ACCOUNTNAME%;AccountKey=%ACCESSKEY%;EndpointSuffix=core.windows.net",
	"supportedRegions": {
		"ause": "",
	}
}

If the initialDirectoryName is undefined or empty, it will upload the files to the base path.

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @armhil/azure-blob-static-content-uploader

    Weekly Downloads

    1

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    8.37 kB

    Total Files

    5

    Last publish

    Collaborators

    • armhil