Skip to content
/ bases Public

Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment

License

Notifications You must be signed in to change notification settings

tsconfig/bases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centralized Recommendations for TSConfig bases

Hosts base TSConfigs for particular environments supported and improved by the community. Basically Definitely Typed for TSConfigs.

In this repo:

Node 12

Install:

npm install --save-dev @tsconfig/node12
yarn add --dev @tsconfig/node12

Add to your tsconfig.json:

"extends": "@tsconfig/node12/tsconfig.json"

Node 10

Install:

npm install --save-dev @tsconfig/node10
yarn add --dev @tsconfig/node10

Add to your tsconfig.json:

"extends": "@tsconfig/node10/tsconfig.json"

Contributing

git clone https://github.com/tsconfig/bases.git tsconfig-bases
cd tsconfig-bases

Then edit the tsconfig.json files in bases/.

Developing

Create a set of npm packages via:

deno run --allow-read --allow-write scripts/create-npm-packages.ts

Inspect them, then they are deployed by passing in the paths to the base files via stdin:

echo bases/node10.json | deno run --allow-read --allow-run scripts/deploy-npm-packages.ts  

The rest of the files in this repo are for deploying, which uses Deno 1.0.

If you add a new json file, please run deno run --allow-read --allow-write scripts/update-markdown-readme.ts to update the README.

About

Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published