Welcome to the Quiz App repository! This project is built using React Native and aims to provide a seamless experience for creating and taking quizzes on mobile devices.
- email:
[email protected]
- password:
test
Here's a detailed explanation of each script defined in the package.json
file:
- This script is used to install iOS dependencies using CocoaPods.
- It first installs Ruby dependencies using
bundle install
. - Then it installs iOS dependencies using
bundle exec pod install --project-directory=ios/ --repo-update
.
- This script is used to run the React Native app on an Android device or emulator.
- It runs the command
react-native run-android
.
- This script is used to run the React Native app on an iOS simulator or device.
- It runs the command
react-native run-ios
.
- This script is used to format code using Prettier.
- It runs the command
prettier --write .
.
- This script is used to lint code using ESLint.
- It runs the command
eslint .
.
- This script is used to type-check TypeScript files without emitting JavaScript files.
- It runs the command
tsc --noEmit
.
- This script is used to kill the process running on port 8081.
- It uses
lsof
to find the process ID and then kills it usingxargs kill
.
- This script is used to reset Watchman's state.
- It runs the command
watchman watch-del-all
.
- This script is used to reverse port forwarding for Android development.
- It runs the command
adb reverse tcp:8081 tcp:8081
.
- This script is used to start the Metro bundler.
- It runs the command
react-native start --reset-cache
.
- This script is used to start the development environment.
- It first kills the port using
kill-port
, resets Watchman usingwatchman-reset
, and reverses ADB usingadb-reverse
. - Then it starts the Metro bundler using
start:packager
.
- This script is used to run tests using Jest.
- It runs the command
jest
.
- This script is used to generate stories for Storybook.
- It runs the command
sb-rn-get-stories
.
- This script is used to watch for changes in Storybook stories.
- It runs the command
sb-rn-watcher
.
The project has various dependencies and devDependencies listed in the package.json
file. These include libraries for navigation (@react-navigation/native
), state management (zustand
), and testing (jest
). Please refer to the package.json
file for the complete list.
For a list of upcoming features and improvements, please check TODOs.md.
Contributions to this project are welcome! If you'd like to contribute, please follow the guidelines in the CONTRIBUTING.md file.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or issues regarding the Quiz App, please open an issue on GitHub. We're here to help!