cra-template-typescript-apollo
v1.3.9
Published
The base TypeScript template with Apollo.
Downloads
5
Maintainers
Readme
cra-template-typescript-apollo
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.
Usage
npx create-react-app your-project-name --template typescript-apollo
or
yarn create react-app your-project-name --template typescript-apollo
Available Scripts
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
packageyarn 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.