In this video, we're going to add in typescript support to our Seelie project as well.
We're going to do pretty much everything we just did in the last video for local API.
The only difference is that we're not going to set up the NPM run start command just yet.
We're also not going to worry about the main field just yet either.
But otherwise, inside of Seelie, we're going to rename the index, not just file over to rewrite some
code inside their install typescript as a development dependency and then generate the config file.
So let's get to it.
First off, back inside my code editor, I will find the Seelie Project directory.
I'm going to create a new folder inside there of Sarsae.
I'll move the index file inside of that new directory.
And rename that file to be index dots.
And then going to open that file up.
We'll do a quick rewrite of this code, so quick refactor.
Over to the equivalent typescript, so I'm going to import serve from local API, I'll then call serve.
I'm going to close that file.
I'll then go back over to my terminal and I'm going to stop the running typescript process that we might
still have running over here, I stopped it right before this video.
But make sure you stop the NPM run start command that was currently running inside of our local API
directory.
I'll then change on over to our Seelie folder.
Inside of there, I'm going to generate my config file with an Northparkes typescript dash dash in it.
After that, I'll then install TypeScript as a development dependency into our Seelie project as well,
so we will do a llena ad script.
We're going to add this in as a development dependency.
And we'll set up our scope as well.
We want to only install TypeScript into CLY, so my scope is going to be Kly.
OK, let's go ahead and run that.
And it looks like that has been added in very good.
Now, in theory, we have typescript support inside of our Seelie project, but we haven't really had
the ability to run it just yet.
Let's take a quick pause and then finish up a little bit of typescript set up inside there in just a
moment.