Skip to content

OwtmPatrick/calc-ts

Repository files navigation

Calculator

A simple calculator that allows you to use the operations of addition, subtraction, multiplication and division, as well as parentheses. Here is working example

Usage

Just enter expression by clicking corresponding buttons or using keyboard and then click = or enter key.

Start

  1. Clone repo
  2. Install packages
npm install
  1. Start dev server
npm run start

Build

Run following command to build your source code:

npm run build

And go to dist folder

Static code analyze

You can run linters for static code analyzing:

Typescript

npm run lint

also you can use --fix flag for autofixing if it is possible:

npm run lint:fix

Styles

npm run stylelint

with --fix flag

npm run stylelint:fix

Tests

You can also run tests with following command:

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published