scalajs-starter
v1.0.9
Published
Scala.js starter
Downloads
254
Maintainers
Readme
scalajs-starter
Installation
- install sbt with instructions from https://www.scala-sbt.org/1.x/docs/Setup.html
npm install scalajs-starter
Usage
- build Scala to JavaScript
npm run build
- build & execute script
npm start
- test
npm test
- clean build folder
npm run clean
- run VanillaJS example
npm run example-vanillajs
Features
- Scala.js skeleton (to be used & replaced by CLI)
- sbt v. 1.2.8
- Scala v. 2.12.8
- Scala.js v. 0.6.28 (git tag 1.0.6)
- Scala.js v. 1.0.0-M8
- source maps
1.0.9
- fix: use js.Dynamic.global.global instead of reassigning globalThis to custom context (affects VanillaJS examples)
For complete changelog go to https://github.com/konradst/scalajs-starter/blob/master/CHANGELOG.md
Roadmap
- module support: ES, CommonJS
- interactive build
npx
CLI- add another VanillaJS example (alternative without assigning to globalThis)
For complete roadmap go to https://github.com/konradst/scalajs-starter/blob/master/ROADMAP.md