Skip to content

TicinoXP/scaffold-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaffold - TypeScript version

Set up your dev box

Make sure you have TypeScript installed:

$ tsc --version
Version 5.3.2

Set up your dev box

  • Make sure you have TypeScript installed:
$ tsc --version
Version 5.3.2
  • Clone this repo:
git clone git@github.com/ticinoxp/scaffold-ts

and setup npm:

npm install

Run the tests:

Run:

npm test

or:

npm test -- --watchAll

if you wish tests to be re-executed at any file modification.

Re-create

If you wish to recreate this repo from the scratch, use the following:

# Initialize a new npm project with default settings. The -y flag automatically confirms
npm init -y

# Install the TypeScript compiler as a development dependency for your project
# The --save-dev flag adds TypeScript to the devDependencies section of your package.json,
# meaning it won't be included when your project is deployed to production environments
npm install typescript --save-dev

# Initializes a TypeScript configuration file (tsconfig.json) in your project.
# This file specifies the root files and the compiler options required to compile the project.
npx tsc --init

# Install jest for running tests
npm install jest ts-jest @types/jest --save-dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors