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

@clamjs/config-ts

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clamjs/config-ts

统一的 tsconfig,适用于不同类型的项目

  • 0.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
4
Weekly downloads
 
Created
Source

@clamjs/config-ts

统一的 tsconfig,适用于不同类型的项目

Installation

pnpm add -D @clamjs/config-ts

Usage

js 项目,同时支持 node 和浏览器环境

clam js 项目模板默认配置,如需严格区分,请自行配置

{
  "extends": "@clamjs/config-ts/base.json"
}

js 项目,只支持 nodejs 环境

{
  "extends": "@clamjs/config-ts/node.json"
}

js 项目,只支持浏览器环境

{
  "extends": "@clamjs/config-ts/browser.json"
}

React 组件项目

{
  "extends": "@clamjs/config-ts/react-library.json"
}

React 应用项目,和组件的区别是不生成 dts

{
  "extends": "@clamjs/config-ts/react-app.json"
}

FAQs

Package last updated on 23 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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