Skip to content

tsconfig 1.0.1

Install from the command line:
Learn more about npm packages
$ npm install @iwsllc/tsconfig@1.0.1
Install via package.json:
"@iwsllc/tsconfig": "1.0.1"

About this version

@iwsllc/tsconfig

Getting Started

Standard TSConfig

This is used for general purpose Node based or server side applications.

{
	"extends": "@iwsllc/tsconfig",
	"compilerOptions": {~
		"outDir": "./dist",
		"rootDir": "./src"
	},
	"include": ["src/**/*"],
}

Browser (not JSX)

Extends base and includes "lib": ["dom", "dom.iterable", "esnext"]

{
	"extends": "@iwsllc/tsconfig/browser",
	"compilerOptions": {~
		"outDir": "./dist",
		"rootDir": "./src"
	},
	"include": ["src/**/*"],

}

JSX/React support

Includes /browser and adds "jsx": "react-jsx"

{
	"extends": "@iwsllc/tsconfig/react",
	"compilerOptions": {~
		"outDir": "./dist",
		"rootDir": "./src"
	},
	"include": ["src/**/*"],

}

Add Vitest Support

{
	"compileOptions": {
		"types": [
			"vitest/globals",
			"@testing-library/jest-dom/vitest"
		]
	}
}

Details


Assets

  • tsconfig-1.0.1.tgz

Download activity

  • Total downloads 67
  • Last 30 days 6
  • Last week 0
  • Today 0

Recent versions

View all