Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.44 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.44 KB

Musiq Frontend Web

Description

Hybrid application (Web and Android) for Musiq

NPM-scripts

  • start - Run application
  • build - Build application
  • help - Help React native CLI
  • test - Test application using Jest
  • test:cov - Test application using Jest with coverage
  • lint - Lint source using eslint
  • lint:fix - Lint source using eslint with autofix
  • format - Format source using Prettier
  • android - Run Android in Debug mode
  • android:release - run Android in Release mode
  • build:android:apk - build APK
  • build:android:aab - build AAB
  • storybook - Run Storybook
  • build-storybook - Build Storybook
  • i18nextParser - i18next validate locales
  • deploy - Deploy web build
  • deploy:doc - Deploy Storybook
  • deploy:apk - Deploy APK file
  • deploy:coverage - Deploy test coverage report

Common

Getting Started

Rename /src/utils/~variables.example.ts to /src/utils/variables.ts and change some variables;

npm install for install all dependencies

Testing

npm run test for run all unit-tests

or npm run test:cov for run unit-tests with coverage

Web

Local run

npm start

Deploy

npm run build

npm run deploy

Android

Local run

npm run android for debug mode or npm run android:release for release mode

Build

npm run build:android:apk for build APK or npm run build:android:aab for build AAB