Make building and publishing easier

* Auto-detect nodejs (instead of node) and add a symlink to the environment
   * On Debian-based systems, all you now need to do to set up your dev env is
        $ sudo apt-get install -y nodejs npm && make configure
* Detect missing node binary *before* running npm install
* Fold publish.sh into Makefile
* Make publishing to other destinations easy:
   * Publish to /testing: make publish
   * Publish to /hackhack: make publish DEST=hackhack
   * Publish to /: make publish DEST=prod
* Eliminate babel and publish straight ES6
* Simplify CSS pipeline, removing SASS and autoprefixer, and using csso
* Rev-bump packages (except for eslint)

Change-Id: Ida0d9ae640a8f19efaf6d18d675270982c23d7c2
Reviewed-on: https://chromium-review.googlesource.com/752754
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
6 files changed
tree: ddd45949c297f4b84c77506a5dbb981aadeaddae
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. README.md
  5. app/
  6. firmwares/
  7. gulpfile.js
  8. icon.xcf
  9. package.json
README.md

TWebkie

A install-less WebUSB-based tool for the Twinkie USB Power Delivery monitoring dongle.

Quick-start

  • Plug the Twinkie dongle to your host
  • Open your Chrome browser and visit twebkie.org (or click on the pop-up)

For developers

This site is using Material Design Lite.

It is structured as Progressive Web App based on the Web Starter Kit which contains more documentation how to use gulp and build or deploy this site.

The site source repository is chromiumos/twebkie.

More resources