Packages are huge

Summary

The packages that we currently publish to the NPM registry are huge because we include the documentation in them which includes documentation for externals (unfortunately not only used externals because TypeDoc behaves strange).

It get's even worse for projects that use transitive dependencies (api > core > core-tools, ...). This is really bad for docker images of connectors if you do not want to manually remove those "extraneous" files.

Steps to reproduce

Install some @openstapps packages and have a look at the files sizes.

Example Project

https://gitlab.com/openstapps/backend/

What is the current bug behavior?

Large file sizes.

What is the expected correct behavior?

Small file size. 😄

Relevant logs and/or screenshots

167M	./core
2.1M	./logger
1.4M	./configuration
339M	./api
208M	./core-tools
717M	.

Possible fixes

Either we need to drop the documentation completely from the packages (.npmignore) or at least the documentation for the externals which would be a problem for the online documentation of the packages because they would not include the "complete" documentation for what is necessary.