@electron-toolkit/tsconfig

1.0.1 • Public • Published

@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"

Readme

Keywords

Package Sidebar

Install

npm i @electron-toolkit/tsconfig

Weekly Downloads

11,644

Version

1.0.1

License

MIT

Unpacked Size

3.46 kB

Total Files

7

Last publish

Collaborators

  • alex.wei