How to prepare a repo before publishing to npm registry

I deploy my contract to the npm registry and use it on another repository. the second repository includes the deployment scripts so I want to import the first contract and deploy it here. how should I publish the first package to the npm registry? should it include the artifacts folder? I see that in other cases the imported package contains "/build" folder with the contract's abi.
I'm struggling with this issue for a while and would appreciate any assistance or instructions.
TNX