mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Add jest and puppeteer for testing
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# Gabinete Digital
|
||||
|
||||
## Requirements
|
||||
|
||||
[node >= 14](https://nodejs.org/dist/v14.17.3/node-v14.17.3-x64.msi)
|
||||
|
||||
## Installation
|
||||
|
||||
Use the package manager npm to install dependencies.
|
||||
|
||||
```bash
|
||||
npm ci
|
||||
npm install
|
||||
npm install -g @ionic/cli
|
||||
npm install -g http-server
|
||||
```
|
||||
|
||||
## Start the development server
|
||||
|
||||
```bash
|
||||
ionic serve
|
||||
```
|
||||
|
||||
|
||||
## build for production and launch server
|
||||
|
||||
```bash
|
||||
ionic serve build --prod
|
||||
npm run start
|
||||
```
|
||||
|
||||
## Run test
|
||||
|
||||
```bash
|
||||
npm run jest
|
||||
```
|
||||
|
||||
|
||||
## Contributing
|
||||
For major changes, please open an issue first to discuss what you would like to change.
|
||||
|
||||
Please make sure to update tests as appropriate.
|
||||
Reference in New Issue
Block a user