This repo hosts the official ExchangeJS website. Interesting things about it:
- We build ES6 with Webpack (see Workflow)
First, checkout this repository:
git clone https://github.com/ExchangeJS/exchangejs.github.io.git
Open a terminal in the new directory, and install the sites dependencies:
cd exchangejs.github.io
npm install
To develop we recommend running the Webpack development server:
npm run dev
This will launch a local web server which automatically refreshes your page as you make changes to the Javascript. The files generated by the dev server are not written to disk. To deploy to production, you need to generate the production files.
npm run deploy
Then commit your changes and when you're ready make a new pull request.
TODO: Add tests!