Quickstart
-
Install
Terminal window pnpm i -D @reuters-graphics/graphics-kit-publisher -
Add a config file to the root of your project. See config options.
publisher.config.ts import { defineConfig } from '@reuters-graphics/graphics-kit-publisher';export default defineConfig({// Config options}); -
Publish a preview of your project.
Terminal window pnpm graphics-publisher preview -
Upload your project to the graphics server.
Terminal window pnpm graphics-publisher upload -
Publish your project.
Terminal window pnpm graphics-publisher publish -
Go to the pub. ๐บ
-
In the graphics kit, this library should already be installed. If for some reason itโs not, run:
Terminal window pnpm i -D @reuters-graphics/graphics-kit-publisher -
You should already have a config file to the root of your project. See config options.
publisher.config.ts import { defineConfig } from '@reuters-graphics/graphics-kit-publisher';export default defineConfig({// Config options}); -
Publish a preview of your project.
Terminal window pnpm preview -
Upload your project to the graphics server.
Terminal window pnpm upload -
Publish your project.
Terminal window pnpm pub -
Go to the pub. ๐บ