Scalajs
ScalaJs feature tests.
Install
jsdom must be installed locally - not globally!
- brew install node
- npm install jsdom
See package.json for installable dependencies.
Build
- npm install ( only when package.json changes )
- sbt clean compile fastLinkJS
See target/public directory.
Test
- sbt clean test fastLinkJS
See target/public directory.
Dev
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.
Package
- sbt clean test fullLinkJS
- npx snowpack build
See build directory.
Console
- sbt clean compile fastLinkJS run
Browser
- sbt clean compile fastLinkJS
- npx snowpack dev