This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery Tiny Pub/Sub for jQuery 1.7 - v0.1 - 27/10/2011 | |
* Based on @cowboy Ben Alman's REALLY tiny pub/sub. | |
* 1.7 specific updates by @addyosmani. | |
* Copyright maintained by @cowboy. | |
* Dual licensed under the MIT and GPL licenses. | |
* Edit By Alban to allow object context and return | |
*/ | |
(function($) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const execSync = require('child_process').execSync; | |
const AWS = require('aws-sdk'); | |
const fs = require('fs'); | |
const mime = require('mime'); | |
const { version } = require('../package.json'); | |
const CLOUDFRONT_ID = 'YOUR_CF_ID'; | |
const S3_BUCKET_ID = 'BUCKET_NAME_IN_AWS_ACCOUNT'; | |
const walkSync = dir => { |