Detection
Uffizzi will detect your repository as a React app if it has any of the following files at its root:
package.json
for NPM projectsyarn.lock
for Yarn projects
Execution
In order of precedence, Uffizzi will execute the following commands if their configurations are present:
- Procfile buildpack will execute
web
command if present - NPM buildpack will execute
npm start
(With NODE_ENV=production) if astart
command is present in package.json
Troubleshooting
If Uffizzi cannot auto-detect your app, try one of the following troubleshooting methods:
- Remove
package-lock.json
, then try building again - Build and import your own Docker image