This is a sample implementation of an application implemented with TypeScript.
Package | Version |
---|---|
TypeScript | 5.4.2 |
Vite | 5.1.6 |
For other packages, check the package.json
for each project.
For other development environments and operation environments, see README.md in the top directory.
Starts a local server for development and creates a project monitor build. Any changes you make to the project will automatically rebuild and cause the browser to reload. You can debug in Visual Studio Code from [Debug Project].
To terminate in Visual Studio Code, type >Tasks: Terminate Task
and select the task from the command palette.
Outputs a TypeScript build deliverable to the dist
directory.
The output is a JavaScript file that has been bundled into one using Vite.
When you execute this command, it will also copy the necessary files for operation.
You can change the settings by editing tsconfig.json
and vite.config.mts
.
Creates above build after optimizing it. It is used to output deliverables for production environments as it reduces the build size.
Performs a TypeScript type check test.
You can change the settings by editing tsconfig.json
.
Performs static analysis of TypeScript files in the src
directory.
You can change the settings by editing .eslintrc.yml
.
Performs static analysis and automatic modification of TypeScript files in the src
directory.
You can change the settings by editing .eslintrc.yml
.
Starts a simple local server.
You can check the index.html by accessing /Samples/TypeScript/Demo
in the server from your browser.
The project needs to be built in advance.
Deliverables can be verified in an environment close to the production environment.
Deletes the build deliverable directory (dist
).