This project is a template for ReactJS project. This template was built with Create React App and TypeScript. Made by Diego Silva
At first, in the project directory, you need run:
// installing the dependencies
yarn install
// creates .jest-test-results.json file to @storybook/addon-jest
yarn test:generate-output
// run project on http://localhost:3000/
yarn start
Run the app in the development mode by opening http://localhost:3000 to view it in the browser. The page will reload if you make edits.
// build project
yarn build
// runs the linter in all components and pages
yarn lint
// runs jest to test all components and pages
yarn test
// runs jest in watch mode
yarn test:watch
// creates .jest-test-results.json file to @storybook/addon-jest
yarn test:generate-output
// runs storybook on http://localhost:6006/
yarn storybook
// creates a new component. to create a Button component, for example, run: yarn generate Button
yarn generate <ComponentName>
Learn how to install yarn
through the official documentation.
To give more power to my JavaScript code.
To stylize my app as components.
My Github profile: https://github.com/coderamos/
My Linkedin profile: https://www.linkedin.com/in/coderamos/