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 5.3.0 to 6.0.0

5

node.json

@@ -5,4 +5,7 @@ {

"module": "Node16",
"moduleResolution": "Node16"
"moduleResolution": "Node16",
"moduleDetection": "force",
"resolveJsonModule": false // ESM doesn't yet support JSON modules.
}
}

17

package.json
{
"name": "@preco21/tsconfig",
"version": "5.3.0",
"version": "6.0.0",
"description": "Shared TypeScript config for @preco21",
"author": "Plusb Preco <plusb21@gmail.com>",
"main": "tsconfig.json",
"author": "Preco Plusb <plusb21@gmail.com>",
"main": "./tsconfig.json",
"engines": {
"node": ">=14"
"node": ">=18"
},
"files": [
"tsconfig.json",
"node.json"
],
"license": "MIT",

@@ -14,6 +18,3 @@ "homepage": "https://github.com/preco21/tsconfig#readme",

"bugs": "https://github.com/preco21/tsconfig/issues",
"files": [
"tsconfig.json",
"node.json"
],
"sideEffects": false,
"keywords": [

@@ -20,0 +21,0 @@ "tsconfig",

@@ -8,3 +8,3 @@ # tsconfig

```bash
$ npm install --save-dev @preco21/tsconfig
npm install --save-dev @preco21/tsconfig
```

@@ -29,12 +29,10 @@

## Snippets
For *Node.js* setup without bundler:
### For *common* setup
```json
{
"extends": "@preco21/tsconfig",
"compilerOptions": {
"extends": "@preco21/tsconfig/node",
"compilerOptions": {
"outDir": "dist",
"declaration": true,
"declaration": false,
"incremental": true

@@ -47,13 +45,4 @@ },

### For *Node.js* setup
```json
{
"extends": "@preco21/tsconfig/node",
...
}
```
## Motivation
Heavily inspired by [`sindresorhus/tsconfig`](https://github.com/sindresorhus/tsconfig).
{
"compilerOptions": {
"target": "ES2021",
"target": "ES2022",
"module": "ESNext",

@@ -10,9 +10,10 @@

"declaration": true,
"sourceMap": true,
"lib": [
"DOM",
"DOM.Iterable",
"ES2020"
],
"DOM",
"DOM.Iterable",
"ES2022"
],

@@ -19,0 +20,0 @@ "jsx": "preserve",

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