How does angular4 publish the NPM package? How to introduce your own released npm package?

I encapsulated some components through ng and wanted to release these components into npm packages for use by other projects, but I encountered a lot of problems and found a lot of information on the Internet, but I had no choice but to update the version of ng-related things too quickly and there were many compatibility problems. I use the version of angular-cli1.3 to complete the release, download and reference of the npm package, which can basically be implemented. But our project uses echarts, and he requires that the version of cli be higher than 1.3. Then I tried a lot of methods, but failed in the end. Do you gods have a good way to ask for advice

Mar.12,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa024-1f9c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa024-1f9c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?