Socket
Socket
Sign inDemoInstall

@vue/tsconfig

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/tsconfig - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "@vue/tsconfig",
"version": "0.3.0",
"version": "0.3.1",
"description": "A base TSConfig for working with Vue.js",

@@ -5,0 +5,0 @@ "main": "tsconfig.json",

@@ -10,7 +10,11 @@ {

// We expect users to use bundlers.
// So here we enable some resolution features that are only available in bundlers.
"moduleResolution": "bundler",
"resolveJsonModule": true,
"allowImportingTsExtensions": true,
"useDefineForClassFields": true,
// `allowImportingTsExtensions` can only be used when `noEmit` or `emitDeclarationOnly` is set.
"noEmit": true,
// Required in Vue projects

@@ -39,4 +43,8 @@ "jsx": "preserve",

// at least `ES2020` for dynamic `import()`s and `import.meta` to work correctly.
// - If you are not using Vite, feel free to override the `target` field.
// - If you are not using Vite, feel free to overwrite the `target` field.
"target": "ESNext",
// For spec compilance.
// `true` by default if the `target` is `ES2020` or higher.
// Explicitly set it to `true` here in case some users want to overwrite the `target`.
"useDefineForClassFields": true,

@@ -43,0 +51,0 @@ // Recommended

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