Skip to content

Prerequisites

Code editor

We recommend using VS Code to edit the code in your project and run publishing commands.

Node

The graphics kit requires a minimum version of node, which will be specified in the engines key of your project’s package.json. We highly recommend using a Node version manager so you can easily switch which version of node you want to use.

n is a great option and can be installed easily on MacOS using brew:

Terminal window
brew install n

Once installed, you can use it to download and install any version of node:

Terminal window
n 22

pnpm

We use pnpm for package management. You can install it easily using npm.

Terminal window
npm install -g pnpm

Svelte

The graphics kit uses Svelte and SvelteKit.

blüprint

bluprint (sic) is our application scaffolding CLI we use to create new projects from templates stored in GitHub.

You should install bluprint globally …

Terminal window
pnpm add --global @reuters-graphics/bluprint

… and add the bluprint for the graphics kit to your CLI.

Terminal window
bluprint add reuters-graphics/bluprint_graphics-kit