Published npm packages should not require tsc, they should include the compiled JS and be immediately executable without having to run npm run build (that script should be run in prepublishOnly lifecycle script: https://docs.npmjs.com/cli/v8/using-npm/scripts#prepare-and-prepublish).
Published npm packages should not require tsc, they should include the compiled JS and be immediately executable without having to run
npm run build
(that script should be run inprepublishOnly
lifecycle script: https://docs.npmjs.com/cli/v8/using-npm/scripts#prepare-and-prepublish).