readme, convert factorio objects to tables, other refactors

This commit is contained in:
Adam 2021-10-20 00:51:35 +02:00
parent 9238140a4c
commit 2e15f83c90
10 changed files with 215 additions and 47 deletions

View file

@ -19,27 +19,22 @@ plugins {
kotlin {
js(IR) {
binaries.executable()
useCommonJs()
nodejs()
//
//// compilations.all {
// compilations["main"].apply {
// packageJson {
// customField(
// "scripts",
// mapOf(
// "build" to "tstl",
// "dev" to "tstl --watch",
// )
// )
// }
// }
}
}
dependencies {
val kotlinWrappersVersion = "0.0.1-pre.259-kotlin-1.5.31"
implementation(
project.dependencies.enforcedPlatform(
"org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:${kotlinWrappersVersion}"
)
)
}
val rootPackageJson by rootProject.tasks.getting(RootPackageJsonTask::class)
//fun NpmTask.setNodeModulesPath(path: String): Unit =