https://github.com/agapas/react-carousel
Image carousel made with React and TypeScript
https://github.com/agapas/react-carousel
es6 functional-programming image-carousel javascript react typescript
Last synced: 8 months ago
JSON representation
Image carousel made with React and TypeScript
- Host: GitHub
- URL: https://github.com/agapas/react-carousel
- Owner: agapas
- License: gpl-3.0
- Created: 2018-11-04T18:01:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-18T08:56:05.000Z (over 5 years ago)
- Last Synced: 2025-01-21T13:51:52.045Z (10 months ago)
- Topics: es6, functional-programming, image-carousel, javascript, react, typescript
- Language: TypeScript
- Homepage:
- Size: 4.79 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-carousel
Image carousel made with React and TypeScript using ES6 syntax (and Class Fields and Static Properties from ES7).
Unit tests made with Jest, Enzyme and Sinon.
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app) and [TypeScript package](https://www.npmjs.com/package/react-scripts-ts).
The project uses [react-icons](https://github.com/react-icons/react-icons).
## User interface
## Running the project
- go to project directory
- run `npm i` to install all dependencies (just a first time)
- run `npm start` (it runs the app in the development mode and it should automatically open [http://localhost:3000](http://localhost:3000) in the browser)
## Testing the project
In the project directory run `npm test`. It launches the test runner in the interactive watch mode.
Run `npm test -- --coverage` to see coverage report. Note that tests run much slower with coverage so it is recommended to run it separately from your normal workflow.
## Production build
To run a production build use command `npm run build`. It builds the app for production to the `build` folder.
## License
This project is licensed under the [GNU v3.0] License - see the [LICENSE.md](LICENSE) file for details.