Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shimabox/mizu

Mizu is a joke script that simulates water(H2o) generation in JavaScript.
https://github.com/shimabox/mizu

Last synced: 22 days ago
JSON representation

Mizu is a joke script that simulates water(H2o) generation in JavaScript.

Awesome Lists containing this project

README

        

# Mizu

`Mizu` is a joke script that simulates water(H2o) generation in JavaScript.

![Mizu](https://github.com/shimabox/Mizu/assets/2285196/b5f3b538-be54-44ee-b4ea-3ce1679587ae)

## Demo

https://shimabox.github.io/Mizu/

**Measurement**

https://shimabox.github.io/Mizu/?m=1

## Run

- node
- v18.16.0
- npm
- 9.5.1

```sh
git clone [email protected]:shimabox/Mizu.git && cd Mizu
npm ci
npx http-server

# you are accessible here.
http://127.0.0.1:8080
```

## Develop

### Measurement

http://127.0.0.1:8080?m=1

### Run test (by jest)

```sh
npm run test
```

#### Output coverage.

```sh
npm run test:coverage
```

See `coverage/lcov-report/index.html` for the report.

### Run formatter (by prettier)

```
npm run format
# or
npm run format:fix
```

### Run lint (by eslint)

```
npm run lint
# or
npm run lint:fix
```

### Run ci

```
npm run ci
```

The following commands are executed in order.

- npm run format
- npm run lint
- npm run test:coverage