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)
scalaVersion := "2.12.0"
name := "reading"
version := "0.1"
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.1",
"com.lihaoyi" %%% "scalatags" % "0.6.2",
"com.github.japgolly.scalacss" %%% "core" % "0.5.1",
"com.github.japgolly.scalacss" %%% "ext-scalatags" % "0.5.1",
"com.lihaoyi" %%% "scalarx" % "0.3.2",
"com.beachape" %%% "enumeratum" % "1.5.3"
)
scalacOptions ++= Seq(
"-Xfatal-warnings",
"-deprecation",
"-unchecked",
"-feature",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-Ywarn-unused",
"-Ywarn-unused-import"
)
|