Giter VIP home page Giter VIP logo

webpack-deploy's Introduction

Webpack deploy utilities

Collection of useful utilities for deploying (not only) Webpack apps

Installation

cd $YOUR_PROJECT
npm install --save-dev productboard/webpack-deploy

Configuration

Copy deploy-config-example.js and secrets-example.js into the root of your project and fit them to your needs. Also make sure you have ./node_modules/.bin in your $PATH.

Use

Build your Webpack project and run deploy [environment]. The script will automatically detect the build hash from build.log.

Commands

  • deploy Batch command for quick deployment.
  • deploy-s3 AWS S3 asset upload of build files.
  • deploy-redis Redis deployment of revision index html file.
  • activate-rev Redis activation of deployed revision.
  • list-revs List of deployed revisions with meta information.
  • rollbar-source-map Rollbar source map upload.
  • slack-notify Slack channel notifier.
  • git-deploy-tag Git tag creation and push to remote.

Other

Why Bash with Gulp?

Gulp is great for building, Bash for running tasks.

TODO

License

MIT

Prettier config

{
  // Autoformat files on save
  "autoformat": true,

  // Only attempt to format files with extensions set there
  "extensions": ["js"],

  // Fit code within this line limit
  "printWidth": 80,

  // Number of spaces it should use per tab
  "tabWidth": 2,

  // If true, will use single instead of double quotes
  "singleQuote": true,

  // Controls the printing of trailing commas wherever possible
  "trailingComma": "all",

  // Controls the printing of spaces inside array and objects
  "bracketSpacing": true
}

webpack-deploy's People

Contributors

lezuse avatar hejld avatar mictech avatar lexmarin avatar

Watchers

James Cloos avatar Derick Warshaw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.