forked from GuillaumeDerval/L-TProject2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
40 lines (31 loc) · 798 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
31
32
33
34
35
36
37
38
39
40
// Turn this project into a Scala.js project by importing these settings
enablePlugins(ScalaJSPlugin)
enablePlugins(ScalaJSBundlerPlugin)
name := "Splot"
version := "0.1-SNAPSHOT"
scalaVersion := "2.12.6"
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.9.2"
)
scalaJSUseMainModuleInitializer := true
mainClass := Some("example.TestSplot")
npmDependencies in Compile ++= (
"require" -> "2.4.20" ::
"d3" -> "4.12.2" ::
"topojson" -> "1" ::
"d3-tip" -> "0.9.1" ::
"d3-tile" -> "0.0" ::
Nil
)
useYarn := true
scalacOptions ++=
"-encoding" :: "UTF-8" ::
"-unchecked" ::
"-deprecation" ::
"-explaintypes" ::
"-feature" ::
"-language:_" ::
// "-Xlint:_" ::
// "-Ywarn-unused" ::
"-P:scalajs:sjsDefinedByDefault" ::
Nil