processing / processing/p5.js-web-editor
Test-only packages are in production dependencies
@avinxshKD is already working on this.
Since Mar 10, 2026.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
A few test libraries are listed under runtime dependencies instead of devDependencies, so they get installed in production builds unnecessarily.
Packages currently in runtime deps:
sinonsinon-mongoosejest-expressmongodb-memory-server
mongodb-memory-server is especially heavy and unnecessary for production installs.
Actual behavior:
Test tooling is shipped in runtime dependencies.
Expected behavior:
Test tooling should be in devDependencies only.
Steps to reproduce:
- Open package.json.
- Check the dependencies section.
- Confirm the above test packages are listed there.
Why this matters:
Larger production install/build footprint.
Slower CI/build pipelines.
Unnecessary runtime dependency surface.
Environment:
Repo: processing/p5.js-web-editor
Date observed: 2026-02-21
Local dev setup on Windows
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.