1
00:00:00,790 --> 00:00:04,720
Let's continue with a little bit of typescript set up, the first thing we need to do is generate a

2
00:00:05,080 --> 00:00:07,150
config file back over at my terminal.

3
00:00:08,360 --> 00:00:14,720
Still inside of our tiny AMPM deployed directory, I'll do an NPCs, yes, that's dash in it.

4
00:00:15,530 --> 00:00:17,060
That will create our config file.

5
00:00:18,040 --> 00:00:22,810
Inside that file, back inside my editor, we're going to add in some configuration identical to what

6
00:00:22,810 --> 00:00:27,520
we previously put into our Seelie project and several other of our sub packages as well.

7
00:00:28,280 --> 00:00:30,650
We're going to find my out door option right here.

8
00:00:31,030 --> 00:00:33,970
I'm going to uncomfort that and add in this.

9
00:00:34,600 --> 00:00:39,700
Remember, this means that whenever we build our project or use typescript to compile everything, we're

10
00:00:39,700 --> 00:00:43,120
going to place all the compiled files into the disk directory.

11
00:00:44,260 --> 00:00:49,870
I'm also going to uncommented declaration, true, remember, that's going to mean that we also generate

12
00:00:49,870 --> 00:00:54,850
some script type definition files as well and also put them into our directory.

13
00:00:57,400 --> 00:00:58,080
That looks pretty good.

14
00:00:59,780 --> 00:01:02,630
Next up, I'm going to go back over to my package, JSON file.

15
00:01:03,870 --> 00:01:08,940
I'm going to find the script section, I'm going to delete that and replace it with a build script,

16
00:01:09,780 --> 00:01:13,290
so this script is just going to attempt to build our project.

17
00:01:13,670 --> 00:01:17,280
They're really just going to run inside there as the typescript compiler.

18
00:01:17,590 --> 00:01:20,730
They're just going to try to take all of the typescript files we have and build them.

19
00:01:22,480 --> 00:01:26,650
Let's save this and test all this out back at our terminal very quickly.

20
00:01:27,360 --> 00:01:29,230
We'll do a NPM run build.

21
00:01:31,680 --> 00:01:35,280
I don't see any warnings or any air messages, so let's go back over.

22
00:01:35,760 --> 00:01:40,650
Yeah, I can definitely now see the directory right here and we've got our Tranz piled JavaScript file

23
00:01:40,650 --> 00:01:43,360
inside there and a type definition file for it as well.

24
00:01:43,830 --> 00:01:47,790
We're not actually exporting any types that are useful here, but I figured let's just go ahead and

25
00:01:47,790 --> 00:01:52,980
go the full nine yards and kind of mirror the same structure that we have over on our other sub packages.

26
00:01:53,890 --> 00:01:58,570
So at this point in time, everything we have done is not really fair, has nothing to do with AMPM,

27
00:01:58,810 --> 00:02:01,420
we've just built a very small standalone project.

28
00:02:01,450 --> 00:02:01,990
That is it.

29
00:02:02,950 --> 00:02:05,530
Now, at this point in time, we're going to take a pause right here.

30
00:02:05,530 --> 00:02:10,270
And when we come back, we're then going to start to focus on how we take this project and set everything

31
00:02:10,270 --> 00:02:12,550
up inside of it to be deployed off to NPM.

