-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (36 loc) · 1.3 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
enablePlugins(SbtWeb)
enablePlugins(ScalaJSPlugin)
name := "bg-stats"
scalaVersion := "2.12.4"
scalacOptions := Seq(
"-Xlint",
"-deprecation",
"-unchecked",
"-feature",
"-encoding", "utf8",
"-Xfatal-warnings")
libraryDependencies ++= Seq(
"io.monix" %%% "monix" % Version.monix,
"org.scalaz" %%% "scalaz-core" % Version.scalaz,
"com.github.japgolly.scalajs-react" %%% "core" % Version.scalaJsReact,
// Foundation SASS
"org.webjars.npm" % "foundation-sites" % Version.foundationSites
exclude("org.webjars.npm", "jquery")
exclude("org.webjars.npm", "what-input"))
scalaJSUseMainModuleInitializer := true
skip in packageJSDependencies := false
jsDependencies ++= Seq(
"org.webjars.npm" % "react" % Version.reactJs
/ "umd/react.development.js"
minified "umd/react.production.min.js"
commonJSName "React",
"org.webjars.npm" % "react-dom" % Version.reactJs
/ "umd/react-dom.development.js"
minified "umd/react-dom.production.min.js"
dependsOn "umd/react.development.js"
commonJSName "ReactDOM",
"org.webjars.npm" % "react-dom" % Version.reactJs
/ "umd/react-dom-server.browser.development.js"
minified "umd/react-dom-server.browser.production.min.js"
dependsOn "umd/react-dom.development.js"
commonJSName "ReactDOMServer")