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

https://github.com/shannonlal/device-monitor

Device Monitor Ionic app
https://github.com/shannonlal/device-monitor

Last synced: 2 months ago
JSON representation

Device Monitor Ionic app

Awesome Lists containing this project

README

        

The following is the Readme file for the device-monitor project.

# Installation of or project

## Install Ionic CLI
```
npm install -g @ionic/cli
```

## Install the project depenedencies
```
npm i
```

# Run the project locally
```
ionic serve
```

# Build Project for Different Environments

## Android Build

### Run Android App on real phone
1. Enable Developer Options on your

```
ionic cap run android -l --external
```
## iOS Build

# Code Maintenance

## Linting

To check the status of the linting within the project
```
npm run lint
```

To run linting and fix errors

```
node_modules/.bin/eslint src/**/*.tsx --fix
```

## Testing
To run the tests use the following command
```
npm run test
```

If building a new snapshot or updating a snapshot run the following command

```
CI=true npm run test -- --env=jsdom --coverage --updateSnapshot
```

## Code Coverage