https://github.com/na4zagin3/sandbox-scala-cross
Example project in Scala with cross-compile
https://github.com/na4zagin3/sandbox-scala-cross
Last synced: 3 months ago
JSON representation
Example project in Scala with cross-compile
- Host: GitHub
- URL: https://github.com/na4zagin3/sandbox-scala-cross
- Owner: na4zagin3
- Created: 2023-05-26T03:45:58.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T13:50:11.000Z (almost 2 years ago)
- Last Synced: 2024-12-30T05:35:36.600Z (5 months ago)
- Language: Scala
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Example sbt project cross-compiled with JS, JVM, and Native
### Usage
This is a normal sbt project, you can compile code with `sbt compile` and run it
with `sbt run`, `sbt console` will start a Dotty REPL. For more information on
cross-compilation in sbt, see .### Create NPM package
```sbt
> clean
> parserJS/npmPackageNpmrc
> parserJS/npmPackage
``````sh
$ cd parser/js/target/scala-3.2.2/npm-package
$ npm link
```