Catalog npm
Back to packageRELEASE DETAILS

2.0.1

npm

1mb-cli

Quickly deploy static content to 1MB's free static hosting service

oclif
Published10 May 2019
Direct dependencies14
Transitive dependenciesNot calculated

README

Current package documentation

1mb-cli

1mb-cli is an NPM package that allows you to quickly and easily deploy content to static sites via your terminal. It was built to help improve and expand 1mbsite. Not only can it deploy content but it will auto minify all resources to save storage.

Install

You can install 1mb-cli with the following command:

npm install --global 1mb-cli

Or you can download the latest tarball from the Releases page.

Usage

Cd into your websites directory and run 1mb-cli deploy. It will prompt you for your account username and api key and ask you if you'd like to cache them.

Upgrade Guide

If you're running a version of 1mb-cli older than 2.0.0 you can use the following command to upgrade:

npm install --global 1mb-cli

If you're using 2.0.0 or newer you can simply upgrade with 1mb-cli update

Note: The upgrade command will not work if you are using a tarball.

Optional Flags

FlagDescription
--vuejsAuto build and deploy a React application. Note: you must be in the root directory of your application
--reactjsAuto build and deploy a React application. Note: you must be in the root directory of your application
--minifyMinify all HTML/CSS/JS files. Note: This flag is useless if the --vuejs or --reactjs flags are used with it
--clearcredsClear saved credentials and reauthenticate
--clear-filesClear all site resources currently on 1MB before deploying. Note: this param doesn't do anything when mixe with --vuejs or --reactjs because those params delete all resources.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 14

Native requirements
14 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@oclif/command
Environment
{
  "local_name": "@oclif/command",
  "alias": false,
  "peer_metadata": null
}
^1.5.12runtime
@oclif/config
Environment
{
  "local_name": "@oclif/config",
  "alias": false,
  "peer_metadata": null
}
^1.12.11runtime
@oclif/plugin-help
Environment
{
  "local_name": "@oclif/plugin-help",
  "alias": false,
  "peer_metadata": null
}
^2.1.6runtime
@oclif/plugin-update
Environment
{
  "local_name": "@oclif/plugin-update",
  "alias": false,
  "peer_metadata": null
}
^1.3.9runtime
cli-ux
Environment
{
  "local_name": "cli-ux",
  "alias": false,
  "peer_metadata": null
}
^5.2.1runtime
configstore
Environment
{
  "local_name": "configstore",
  "alias": false,
  "peer_metadata": null
}
^4.0.0runtime
glob-gitignore
Environment
{
  "local_name": "glob-gitignore",
  "alias": false,
  "peer_metadata": null
}
^1.0.14runtime
imgur
Environment
{
  "local_name": "imgur",
  "alias": false,
  "peer_metadata": null
}
^0.3.1runtime
minify
Environment
{
  "local_name": "minify",
  "alias": false,
  "peer_metadata": null
}
^4.1.1runtime
parse-gitignore
Environment
{
  "local_name": "parse-gitignore",
  "alias": false,
  "peer_metadata": null
}
^1.0.1runtime
request
Environment
{
  "local_name": "request",
  "alias": false,
  "peer_metadata": null
}
^2.88.0runtime
@oclif/dev-cli
Environment
{
  "local_name": "@oclif/dev-cli",
  "alias": false,
  "peer_metadata": null
}
^1.21.3development
globby
Environment
{
  "local_name": "globby",
  "alias": false,
  "peer_metadata": null
}
^8.0.2development
rimraf
Environment
{
  "local_name": "rimraf",
  "alias": false,
  "peer_metadata": null
}
^2.6.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-vL/rS9iYl9wPK7RFLMm3iaf+onyE+fd4EjSKBj18xT8yzMWhAXMiSQAiiqa4Pl3anmaTg7RdSl55/5nLR4pn5w==",
  "shasum": "2be11316327532c8f179eb75a3468f04ca279478",
  "tarball": "https://registry.npmjs.org/1mb-cli/-/1mb-cli-2.0.1.tgz",
  "fileCount": 10,
  "unpackedSize": 17663,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1dtXCRA9TVsSAnZWagAAERYP/2w7MvngXQ7g+KtrhxdY\nI/qVKVJdIoq49PXJyLwajwUiValtth9aD3H5NhNDI4AIDV46itQHgNhUYdm/\nVR09/ExllgQbwtAJJeVukMaqgZgHfrz2MkIhe01PhTAEARa9X1yoNHQKQ5Oh\nr5B/aXqXDH9wm1Beoo3CgkUx31W/zrBcPefPtbGApdYpvdzL0KscG+bnwDb0\nInC7YI31oKjnBe3ZhmatBF4kYCrgtQOx1UvTaTmNC9khz/VJHq1o7mRZ6oW6\nNqUpeK3q4EYpx2oFec44Hyx1jg+B82GSDgR8BkmfRaCh3X+WeZWFeOgZqfOb\neV+O5hgcxNMk1mLwYVsCZgL9x3b5w2q5wD6vm5HzlLcDvi0rU6ILpejo0Za+\nIjiZOAFggnqH6S+rS3Y65gAz0BOqzes7oDnKDay4kgPgf6MoBURSgNQjna+3\nwenBNywA3CxSsn9iQVyGL7nFDCZLNB6QZTItbpJy9wFR/EyudLow9nN756Ii\nVX9Npl5zb1hpNuCb1krk2ZfmP7BSTsCICjZLuYpxww16JFaaX9Au2hL3k6XX\nDGCgu67Tue+R/GP34F9P6LjxeerDitxJNowcGpVgaIQivyylizX7McSeF21C\n+ajwPOmdeoRoHLnEUCBZc65MwQQPOvn6ZPrMoCMIzUGGQ0oKvc69gc0sH+QB\nktWX\r\n=9siD\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDpYCAj1j5OwU0Vhb48GRayWW1JWmRVMH7TqosSj+yqEgIhAI+FmaqhyxIB33XUuq+1Ug72xrJPH0+bxsvqAqYheEhu"
    }
  ]
}

Repository

PENDING
1mbsite/1mb-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:4e29de5fce49f1910eb09e212a53295f763b1c0ebd00a7bdb69b9b5e66435ba6

Other collected versions

2.0.424 Jul2.0.317 May2.0.210 May2.0.010 May1.0.63 May1.0.525 MarView all collected versions →