Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phanect/configs

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phanect/configs

Collection of @phanect's personal build configs

  • 2024.11.23
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@phanect/configs

Collection of personal configuration files for @phanect

Install packages

npm install -D @phanect/configs typescript @types/node

tsconfig

Usage

tsconfig.json

{
  "extends": [
    "@phanect/configs/ts",
    // add for npm packages (both for frontend and Node.js)
    "@phanect/configs/ts/addons/npm"
  ],
  "compilerOptions": {
    // add `dom` for frontend projects
    "lib": [
      "esnext",
      "dom"
    ],
    "types": [
      // add for Cloudflare Workers projects
      "@cloudflare/workers-types",
      // add for projects using Vite
      "vite/client"
    ],
    // add for Hono projects
    "jsxImportSource": "hono/jsx"
  }
}

List of tsconfigs

  • @phanect/configs/ts: For projects other than Node.js (Frontend & Cloudflare Workers)
  • @phanect/configs/ts/nodejs: For Node.js projects
  • @phanect/configs/ts/addons/npm: Supplemental tsconfig for npm package (Generates .d.ts files)

License

CC0 1.0 (≒ Public Domain)

FAQs

Package last updated on 23 Nov 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