1.0.1 • Published 2 years ago

@electron-toolkit/tsconfig v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@electron-toolkit/tsconfig

TSConfigs for Electron projects to extend.

Requires TypeScript >= 4.5.

Install:

npm add -D @electron-toolkit/tsconfig

Add one of the available configurations to your tsconfig.json:

The base configuration:

"extends": "@electron-toolkit/tsconfig/tsconfig.json"

Configuration for Browser environment (Renderer process):

"extends": "@electron-toolkit/tsconfig/tsconfig.web.json"

Configuration for Node environment (Main process and Preload scripts):

"extends": "@electron-toolkit/tsconfig/tsconfig.node.json"