Tyrian feature tests using Scalajs and Snowpack.
Interesting library. Can't get past this app loading error, though:
- Uncaught SyntaxError: The requested module './main.js' does not provide an export named 'App' (at (index):12:9)
See public/index.html and objektwerks.App for details.
- brew install node
- npm install jsdom ( must install locally )
- npm install ( in project root directory )
See package.json for installable dependencies.
- npm install ( only when package.json changes )
- sbt clean compile fastLinkJS
See target/public directory.
- sbt clean test fastLinkJS
Edits are reflected in both sessions.
- sbt ( new session )
- ~ fastLinkJS
- npx snowpack dev ( new session )
See snowpack.config.json and Snowpack Config for configurable options.
- sbt clean test fullLinkJS
- npx snowpack build ( see build directory )