-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
30 lines (21 loc) · 822 Bytes
/
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
enablePlugins(ScalaJSPlugin)
enablePlugins(ScalaJSBundlerPlugin)
name := "react4s"
organization := "com.github.react-react4s-redux-spike"
version := "0.1-SNAPSHOT"
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies += "com.github.ahnfelt" %%% "react4s" % "0.9.13-SNAPSHOT"
libraryDependencies += "com.github.werk" %%% "router4s" % "0.1.0-SNAPSHOT"
scalaVersion := "2.12.6"
scalaJSUseMainModuleInitializer := true
emitSourceMaps := false
libraryDependencies ++= Seq(
"com.raquo" %%% "laminar" % "0.3",
"org.scala-js" %%% "scalajs-dom" % "0.9.5",
"com.raquo" %%% "domtestutils" % "0.7" % Test,
"org.scalatest" %%% "scalatest" % "3.0.5" % Test,
"com.github.japgolly.scalajs-react" %%% "core" % "1.2.0"
)
npmDependencies in Compile ++= Seq(
"react" -> "16.2.0",
"react-dom" -> "16.2.0")