New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@preco21/tsconfig

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@preco21/tsconfig - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

2

package.json
{
"name": "@preco21/tsconfig",
"version": "4.0.0",
"version": "5.0.0",
"description": "Shared TypeScript config for my projects",

@@ -5,0 +5,0 @@ "author": "Plusb Preco <plusb21@gmail.com>",

@@ -27,15 +27,35 @@ # tsconfig

## Tips
## Snippets
### For `non-library` setup
### For `library` setup
```json
{
...
"extends": "@preco21/tsconfig",
"compilerOptions": {
"outDir": "dist",
"esModuleInterop": true,
"declaration": true,
"sourceMap": true,
"declaration": false,
}
"incremental": true
},
"include": ["src"]
}
```
### For `application` setup
```json
{
"extends": "@preco21/tsconfig",
"compilerOptions": {
"outDir": "dist",
"module": "commonjs",
"esModuleInterop": true,
"resolveJsonModule": true,
"sourceMap": true,
"incremental": true
},
"include": ["src"]
}
```
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"target": "es2019",
"module": "es2020",
"moduleResolution": "node",
"resolveJsonModule": true,
"jsx": "react",
"declaration": true,
"newLine": "lf",

@@ -15,7 +13,13 @@ "stripInternal": true,

"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true,

@@ -22,0 +26,0 @@ "noEmitOnError": true,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc