Skip to content


Repository files navigation

Dutch Art Daily

Netlify Status build codecov GitHub package.json version GitHub

A new Dutch Golden Age artwork delivered every day!

Build Setup

# install dependencies
yarn install

# serve with hot reload at localhost:3000
yarn dev
# or
yarn serve

# build for production and launch server
yarn build
yarn start

# generate static project
yarn run generate

Generate Photos

The photos of artwork are generated in different sizes for use at different screen sizes. To generate the photos run:

yarn generate:images

Photos will be run through imagemin when generated.

Commit Code

This repo uses commitizen to standardize git commits. To run commitizen run:

yarn gitcommit

and follow to CLI prompts.

Run Tests

Unit Tests

yarn test:unit

E2E Tests

Development (interactive) mode

yarn dev

and wait for dev server to start

yarn dev:e2e

Production (headless) mode

yarn build && yarn start

and wait build and dev server to start

yarn test:e2e