Hello, thanks for checking out this template. This template extends the base TypeScript CRA Template, and includes an apollo connection, styled-components, cypress and circleci configuration, and an "ideal" folder structure.
npx create-react-app your-project-name --template typescript-apollo
or
yarn create react-app your-project-name --template typescript-apollo
In the project directory, you can run:
-
yarn start
- runs the app in the development mode. Open http://localhost:3000 to view it in the browser. -
yarn test
- runs available test suite. -
yarn build
- builds the app for production to thebuild
folder. -
yarn eject
- exposes content ofreact-script
package -
yarn lint
- lints project files. -
yarn generate
- runs a shell script to generate a page, container, or component. -
yarn destroy
- runs a shell script to delete files used for demonstration purposes (this can be run as soon as you start a new project). -
yarn cypress:run
- runs your cypress test suite. -
yarn cypress:open
- opens cypress' electron app for running tests.