1.0.2 • Published 7 years ago

@fes/static-deploy v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 years ago

deploy to public static bucket

conventionally we build our production code into dist directory and then deploy to public clound storage for usage of CDN.

s3 deploay

In your package.json

dir is optional and default dist

{
  "scripts": {
    "deploy": "static-deploy s3 region bucket ak sk [dir]"
  }
}

alioss deploay

In your package.json

dir is optional and default dist

{
  "scripts": {
    "deploy": "static-deploy alioss region bucket ak sk [dir]"
  }
}