0.3.4 • Published 12 years ago

jsbundle-s3 v0.3.4

Weekly downloads
40
License
-
Repository
github
Last release
12 years ago

jsbundle-s3

Bundle, minify, and upload your JS code to Amazon's Simple Storage Service (S3).

Usage:

[JSBUNDLE_ENV=env] jsbundle-s3 <node_package_dir> [--bundle-version=version]

The options are basically identical to the jsbundle options.

There are two major differences:

  1. the --bundle-version option, which lets you specify a version string for the uploaded bundle. It defaults to a millisecond timestamp.
  2. the "s3" key in jsbundle.json, which is as follows:

    afterUpload is optional, and runs a shell command with 3 variables set after S3 upload succeeds:

  • $NAME the file name (taken from the bundled package's package.json), e.g.: mypackage.js
  • $VERSION the version string, e.g.: 1337644600297
  • $URL the url, without a protocol, of the uploaded file, e.g.: //s3.amazonaws.com/mybucket/1337644600297/mypackage.js
0.3.4

12 years ago

0.3.3

12 years ago

0.3.2

12 years ago

0.3.1

12 years ago

0.3.0

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago