<commit_before>import sbtcrossproject.CrossPlugin.autoImport.crossProject

name := "scala-stripe"
organization in ThisBuild := "com.outr"
version in ThisBuild := "1.1.8-SNAPSHOT"
scalaVersion in ThisBuild := "2.12.8"
crossScalaVersions in ThisBuild := List("2.12.8", "2.11.11")
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation")
resolvers in ThisBuild += Resolver.sonatypeRepo("releases")

publishTo in ThisBuild := sonatypePublishTo.value
sonatypeProfileName in ThisBuild := "com.outr"
publishMavenStyle in ThisBuild := true
licenses in ThisBuild := Seq("MIT" -> url("https://github.com/outr/scala-stripe/blob/master/LICENSE"))
sonatypeProjectHosting in ThisBuild := Some(xerial.sbt.Sonatype.GitHubHosting("outr", "scala-stripe", "<EMAIL>"))
homepage in ThisBuild := Some(url("https://github.com/outr/scala-stripe"))
scmInfo in ThisBuild := Some(
  ScmInfo(
    url("https://github.com/outr/scala-stripe"),
    "scm:<EMAIL>:outr/scala-stripe.git"
  )
)
developers in ThisBuild := List(
  Developer(id="darkfrog", name="<NAME>", email="<EMAIL>", url=url("http://matthicks.com"))
)

val youiVersion = "0.10.12"

lazy val root = project.in(file("."))
  .aggregate(coreJS, coreJVM)
  .settings(
    publish := {},
    publishLocal := {}
  )

lazy val core = crossProject(JVMPlatform, JSPlatform).in(file("core"))
  .settings(
    name := "scala-stripe",
    libraryDependencies += "org.scalactic" %%% "scalactic" % "3.0.5",
    libraryDependencies += "org.scalatest" %%% "scalatest" % "3.0.5" % "test"
  )
  .jvmSettings(
    fork := true,
    libraryDependencies ++= Seq(
      "io.youi" %% "youi-client" % youiVersion
    )
  )
  .jsSettings(
    jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv,
    skip in packageJSDependencies := false,
    libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.9.6",
    scalacOptions += "-P:scalajs:sjsDefinedByDefault"
  )

lazy val coreJS = core.js
lazy val coreJVM = core.jvm<commit_msg>Updated to YouI 0.10.13<commit_after>import sbtcrossproject.CrossPlugin.autoImport.crossProject

name := "scala-stripe"
organization in ThisBuild := "com.outr"
version in ThisBuild := "1.1.8-SNAPSHOT"
scalaVersion in ThisBuild := "2.12.8"
crossScalaVersions in ThisBuild := List("2.12.8", "2.11.11")
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation")
resolvers in ThisBuild += Resolver.sonatypeRepo("releases")

publishTo in ThisBuild := sonatypePublishTo.value
sonatypeProfileName in ThisBuild := "com.outr"
publishMavenStyle in ThisBuild := true
licenses in ThisBuild := Seq("MIT" -> url("https://github.com/outr/scala-stripe/blob/master/LICENSE"))
sonatypeProjectHosting in ThisBuild := Some(xerial.sbt.Sonatype.GitHubHosting("outr", "scala-stripe", "<EMAIL>"))
homepage in ThisBuild := Some(url("https://github.com/outr/scala-stripe"))
scmInfo in ThisBuild := Some(
  ScmInfo(
    url("https://github.com/outr/scala-stripe"),
    "scm:<EMAIL>:outr/scala-stripe.git"
  )
)
developers in ThisBuild := List(
  Developer(id="darkfrog", name="<NAME>", email="<EMAIL>", url=url("http://matthicks.com"))
)

val youiVersion = "0.10.13"

lazy val root = project.in(file("."))
  .aggregate(coreJS, coreJVM)
  .settings(
    publish := {},
    publishLocal := {}
  )

lazy val core = crossProject(JVMPlatform, JSPlatform).in(file("core"))
  .settings(
    name := "scala-stripe",
    libraryDependencies += "org.scalactic" %%% "scalactic" % "3.0.5",
    libraryDependencies += "org.scalatest" %%% "scalatest" % "3.0.5" % "test"
  )
  .jvmSettings(
    fork := true,
    libraryDependencies ++= Seq(
      "io.youi" %% "youi-client" % youiVersion
    )
  )
  .jsSettings(
    jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv,
    skip in packageJSDependencies := false,
    libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.9.6",
    scalacOptions += "-P:scalajs:sjsDefinedByDefault"
  )

lazy val coreJS = core.js
lazy val coreJVM = core.jvm
{'fraction_non_alphanumeric': 0.1696383087111564, 'fraction_numerical': 0.016556291390728478, 'mean_word_length': 4.48463687150838, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1710569', 'n_tokens_mistral': 1484, 'n_tokens_neox': 1426, 'n_words': 264}