Files
atrium/samples/js/README.md
Robert Stoll 514e6a54c2 remove jasmine sample and turn mocha sample into js sample
It is very unlikely someone uses JS with jasmine as jetbrains has
setup everything with mocha
2020-11-11 22:53:29 +01:00

792 B

Sample JS project: Atrium with mocha

This example project is heavily based on kotlin's example. Yet with a few optimizations and adaptations:

  • it stores nodejs and npm only once per project (and not for every sub project)
  • it uses --prefer-offline for a faster build and offline capability
  • it uses sourceMap so that debugging in kotlin code is possible (as good as your IDE supports it)
  • it includes all test dependencies, also runtime only dependencies
  • it does not force a moduleKind on src/main
  • last but not least and this is the important part, it establishes a dependency to Atrium on JS level which is necessary due to the loosely coupled design of Atrium and dead code elimination.