Skip NODE_ENV=production npm run build

Yes, the Typescript compilation is done in that step!