Skip to content

An implementation of the classic Solitaire game, serving as general playground for JavaScript, TypeScript, React and CSS.

Notifications You must be signed in to change notification settings

ckonig/solitaire

Repository files navigation

Solitaire React App

CICD Workflow

Cypress Workflow

An implementation of the classic Solitaire game.
A playground for JavaScript, TypeScript, React, Cypress and (S)CSS.

Demo

Try it out

Development

git clone git@github.com:ckonig/solitaire.git
cd solitaire
yarn
yarn start

When working with Visual Studio Code, use the dev task to run tsc and es-lint as separate tasks with the correct error catchers.

Available Scripts

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

yarn run predeploy

Builds the latest version of the game.

yarn run analyze

Analyze the dependencies, module sizes and code splitting.

yarn run deploy

Builds the latest version of the game and deploys it to the github page.
Enabled by gh-pages.

yarn cypress run

Runs the cypress tests once in headless mode.

npx cypress open

Launches the interactive cypress test runner.

About

An implementation of the classic Solitaire game, serving as general playground for JavaScript, TypeScript, React and CSS.

Resources

Stars

Watchers

Forks