-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
44 lines (42 loc) · 1.69 KB
/
build.sbt
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import Dependencies._
val reactVersion = "16.7.0"
val scalaJSReactVersion = "1.4.2"
val scalaCssVersion = "0.5.6"
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "spoter.me",
scalaVersion := "2.12.12",
version := "0.1.0-SNAPSHOT"
)),
name := "KGV Prototype",
scalacOptions += "-feature",
scalacOptions += "-language:higherKinds",
scalacOptions += "-Ypartial-unification",
scalaJSUseMainModuleInitializer := true,
// creates single js resource file for easy integration in html page
skip in packageJSDependencies := false,
version in webpack := "4.28.1",
version in startWebpackDevServer := "3.1.14",
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.7",
"com.github.japgolly.scalajs-react" %%% "core" % scalaJSReactVersion,
"com.github.japgolly.scalajs-react" %%% "extra" % scalaJSReactVersion,
"com.github.japgolly.scalacss" %%% "core" % scalaCssVersion,
"com.github.japgolly.scalacss" %%% "ext-react" % scalaCssVersion,
"com.payalabs" %%% "scalajs-react-bridge" % "0.8.0",
"org.scala-js" %%% "scalajs-java-time" % "0.2.5",
"com.beachape" %%% "enumeratum" % "1.5.13",
//"org.typelevel" %%% "cats-core" % "1.6.0",
//"org.typelevel" %%% "cats-macros" % "1.6.0",
//"org.typelevel" %%% "cats-kernel" % "1.6.0",
scalaTest % Test
),
npmDependencies in Compile ++= Seq(
"react" -> reactVersion,
"react-dom" -> reactVersion,
"@solid/react" -> "1.1.3",
"rdflib" -> "0.19.1",
"react-bootstrap" -> "1.0.0-beta.4",
"leaflet" -> "1.4.0"),
).enablePlugins(ScalaJSPlugin, ScalaJSBundlerPlugin)