What changes in production mode
| Behavior | Default | Production |
|---|---|---|
Test files (*.test.*, *.spec.*, __tests__/) | Included | Excluded |
Story files (*.stories.*) | Included | Excluded |
Mock files (__mocks__/) | Included | Excluded |
| Package.json scripts analyzed | All | Only start, build, serve, preview, prepare |
| Unused devDependencies | Reported | Skipped |
| Type-only dependencies | Not flagged | Flagged (should be devDependencies) |
$ fallow check --production
Type-only dependency detection
In production mode, fallow detects dependencies that are only imported viaimport type:
devDependencies since types are erased at runtime and don’t need to be installed in production.
See also
CI Integration
Use production mode in your CI pipeline for lean, fast checks.
Rules & Severity
Control which issue types are errors, warnings, or disabled.