1.0.2 • Published 5 months ago

@kyohxt/electron-toolkit-tsconfig v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months 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"
1.0.2

5 months ago