@reuters-graphics/us-election-components

v1.3.9
![npm](https://img.shields.io/npm/v/%40reuters-graphics%2Fus-election-components)

new

node ./scripts/newComponent/index.js

lint

prettier --check . && eslint .

test

vitest

check

svelte-kit sync && svelte-check --tsconfig ./tsconfig.json

start

storybook dev -p 3000

format

prettier --write .

test:ci

vitest run

build:docs

storybook build -o docs && typedoc --tsconfig tsconfig.typedoc.json && touch ./docs/.nojekyll

get-google

npx graphics get-google-docs google.json && node ./scripts/splitSheet.js

stories:new

npx rngs-io stories new --template

stories:sync

npx rngs-io stories sync

build:package

svelte-kit sync && svelte-package && publint

prepublishOnly

npm run build:package && npm run build:docs

stories:connect

npx rngs-io stories connect

changeset:publish

git add --all && changeset publish

changeset:version

changeset version
npm i @reuters-graphics/[email protected]

Metadata

  • MIT
  • >=18
  • Unknown
  • released 10/10/2024

Downloads