Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.
/ scala-js-typescript Public archive

A TypeScript-to-Scala.js converter. Designed for parsing definitelytyped.com, powers definitelyscala.com.

Notifications You must be signed in to change notification settings

kyleu/scala-js-typescript

Repository files navigation

scala-js-typescript

ARCHIVED: These projects are superceded by the great work at https://github.com/ScalablyTyped/Distribution

A TypeScript-to-Scala.js converter. Designed for parsing http://definitelytyped.org, powers http://definitelyscala.com.

Running

Right now the whole thing is a giant Scala Play Framework app that expects certain directories. You can run the freshly-cloned repository with SBT, but there won't be any projects.

To run for your own TypeScript definitions ("foo") rename your index.d.ts to "foo.ts", and place it in ./data/typescript. Then start the app with sbt run, and open http://localhost:9000. Select Project List, then your project. You'll see options to parse, build, and publish your project. Publishing won't work.

In order to create the SBT project, you'll need to clone [email protected]:DefinitelyScala/scala-js-template.git into ./util.

More documentation coming soon. Feel free to email me if you run into trouble.

License

The code is licensed under Apache License v2.0.

About

A TypeScript-to-Scala.js converter. Designed for parsing definitelytyped.com, powers definitelyscala.com.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published