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
- Host: GitHub
- URL: https://github.com/shannonlal/device-monitor
- Owner: shannonlal
- Created: 2020-06-08T11:39:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T23:08:17.000Z (almost 5 years ago)
- Last Synced: 2025-02-04T21:46:19.701Z (4 months ago)
- Language: TypeScript
- Size: 262 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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