elm.json
for elm packagespackage.json
for node packagesyarn.lock
current versions of node packageswebpack.config.js
- build and compile configsrc\
- the app source files
- You will need
[email protected]
,node
andyarn
follow the official install instructions if you don't have already - Clone this repo
yarn
to install
- Add node packages with
yarn add <package>
oryarn add --dev <package>
- Watch files and serve to
localhost:3000
withyarn dev
We're using elm-test for testing.
- Run tests with
yarn test
from root of site - Todo add to build process
We're using elm-format to standardise formatting.
The output of different versions of elm-format varies significantly, so please use version 0.8.1
.
- e.g. run over all src files
yarn format src
from the root of the site - Todo add to commit or push
We're using Travis.
- On every push to the repo, Travis will build and run tests
- To trigger a deploy to gh-pages, create and push a tag (e.g.
git tag v1.0.0 && git push origin --tags
Encrypted vars can be added to.travis.yml
using the travis cli tools as decribed in the travis docs. Currently configured with GITHUB_TOKEN value.