Package.json dependencies not added to package.json of the built version (package.json in dist folder)

I’m building my project with this package.json
1
with angular cli (ng build –prod). When I build it, it creates dist folder with correct files, but package.json in dist folder doesn’t have dependencies of the main package.json.
2
How to bring dependencies from src to dist package.json when building project?

Source: Angular Questions