OpenST/openst.js

Generation of webpack as part of npm publishing step

Opened this issue · 0 comments

  • Pre commit hook is there to generate webpack which generates distribution in dist directory. It should be removed.
  • Builds should not be part of the repository, but instead be done in the npm prepack script so that they are built when packaging or publishing.
  • Also, a library that is published usually goes into a lib directory, not a dist directory. But that is something we also don’t do everywhere, yet. And any build artifacts should be listed in .gitignore.
  • It should not be a pre-commit hook.
  • Don’t add tests to the distributed files.