-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sbt
More file actions
25 lines (19 loc) · 732 Bytes
/
build.sbt
File metadata and controls
25 lines (19 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ThisBuild / scalaVersion := "3.2.1"
lazy val hello = (project in file("."))
.enablePlugins(ScalaJSPlugin, ScalablyTypedConverterPlugin)
.settings(
name := "Scala.js Tutorial",
scalaJSUseMainModuleInitializer := true,
libraryDependencies += "org.rogach" %%% "scallop" % "4.1.0",
libraryDependencies += "com.lihaoyi" %%% "utest" % "0.8.1" % "test",
testFrameworks += new TestFramework("utest.runner.Framework"),
Compile / npmDependencies ++= Seq(
"@types/node" -> "18.11.18"
),
stOutputPackage := "typings"
)
// This is an application with a main method
//
// Add support for the DOM in `run` and `test`
//jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv()
// uTest settings