Let's continue with a little bit of typescript set up, the first thing we need to do is generate a
config file back over at my terminal.
Still inside of our tiny AMPM deployed directory, I'll do an NPCs, yes, that's dash in it.
That will create our config file.
Inside that file, back inside my editor, we're going to add in some configuration identical to what
we previously put into our Seelie project and several other of our sub packages as well.
We're going to find my out door option right here.
I'm going to uncomfort that and add in this.
Remember, this means that whenever we build our project or use typescript to compile everything, we're
going to place all the compiled files into the disk directory.
I'm also going to uncommented declaration, true, remember, that's going to mean that we also generate
some script type definition files as well and also put them into our directory.
That looks pretty good.
Next up, I'm going to go back over to my package, JSON file.
I'm going to find the script section, I'm going to delete that and replace it with a build script,
so this script is just going to attempt to build our project.
They're really just going to run inside there as the typescript compiler.
They're just going to try to take all of the typescript files we have and build them.
Let's save this and test all this out back at our terminal very quickly.
We'll do a NPM run build.
I don't see any warnings or any air messages, so let's go back over.
Yeah, I can definitely now see the directory right here and we've got our Tranz piled JavaScript file
inside there and a type definition file for it as well.
We're not actually exporting any types that are useful here, but I figured let's just go ahead and
go the full nine yards and kind of mirror the same structure that we have over on our other sub packages.
So at this point in time, everything we have done is not really fair, has nothing to do with AMPM,
we've just built a very small standalone project.
That is it.
Now, at this point in time, we're going to take a pause right here.
And when we come back, we're then going to start to focus on how we take this project and set everything
up inside of it to be deployed off to NPM.