Skip to content

Package.json Scripts Reference

yacoubii edited this page Sep 3, 2024 · 1 revision
Task Description Usage

dev

launch Palindrome.js on dev environment

yarn dev

build

build dev environment

Build result in dist folder

yarn build

build:dev

build Palindrome.js dev environment as a library

yarn build:dev

build:basic

build Palindrome.js basic (without sidebar) environment as a library

yarn build:basic

storybook

launch Palindrome.js on storybook environment

yarn storybook

build-storybook

build storybook environment

Build result in storybook-static folder

yarn build-storybook

cypress:run

run cypress headless tests

yarn cypress:run

cypress:open

open cypress GUI

yarn cypress:open

storybook-deploy

deploy storybook environment to Github pages

yarn storybook-deploy

dev-deploy

deploy dev environement to Github pages

yarn dev-deploy

benchmark:install

install the benchmark dependencies

yarn benchmark:install

benchmark:run

run the benchmark script

yarn benchmark:run

benchmark:eval

run the evaluation based on benchmark script

yarn benchmark:eval

Clone this wiki locally