Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Move necessary front-end deps to prod #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rnewstead1
Copy link

This PR moves the following dependencies from dev to prod as they are needed to build/run the front-end service.

  • @types/jest**
  • @types/react
  • @types/react-dom
  • @types/react-redux
  • typescript

Adds a dependency of styled-components and corresponding @types/styled-components devDependency as this is also needed.

Test with the following from the front-end folder:

npm i --production
npm start

** It seems weird that @types/jest should be a prod dependency, but it doesn't compile otherwise as App.test.tx lives inside src/components

This PR also updates the package-lock to correspond with these changes but this file should maybe be removed from git as per the main .gitignore file (and there isn't one in the backend folder).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant