#!/usr/bin/env bash

set -e

trash --force dist
mkdir -p dist

git clone -b gh-pages https://github.com/jussi-kalliokoski/trine.git dist/website
npm run create-website

babel -d dist/main src
npm run generate-packages

#!/usr/bin/env bash

set -e

trash --force dist
mkdir -p dist

git clone -b gh-pages https://github.com/jussi-kalliokoski/trine.git dist/website
npm run create-website

babel -d dist/main src
cp README.md dist/main
npm run generate-packages

Include README in main package.
Include README in main package.
