npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@voya-kit/ts-config

v0.0.1

Published

voya typescript config

Downloads

15

Readme

@voya-kit/ts-config

项目简介

@voya-kit/ts-config 是一套关于 TypeScript 项目的TS配置集,旨在简化 TypeScript 开发者的配置流程,提升开发效率与代码质量。

功能特性

模块化与可扩展性

  • 配置多种扩展配置项。
  • 支持与其他配置工具或框架无缝集成,适应多样化的项目结构。

安装指南

使用 npm

npm install @voya-kit/ts-config --save-dev

快速开始

  • @voya-kit/ts-config TypeScript 配置详解: 为了满足不同项目类型的需要,@voya-kit/ts-config 提供了四种预设的 TypeScript 配置文件,每种配置针对特定的开发场景进行了优化。以下是这些配置的概览表格:

| 配置文件 | 目标场景 | 特性描述 | |------------|---------------------|------------------------------------------------------------------------------------| | base.json | 通用基础配置 | 包含了 TypeScript 基础的编译选项,适用于所有 TypeScript 项目。它是其他配置的基础,包括基本的类型检查、模块解析等设置。 | | node.json | Node.js 后端应用 | 在基础配置之上,增加了对 Node.js 环境的优化配置,例如处理 Node.js 全局变量、模块系统等,适合构建服务器端应用程序。 | | node-server.json | Node.js 服务端框架应用 | 专为构建 Node.js 服务端框架(如 Express, Koa 等)设计,包含了针对服务器框架的特定配置,比如对 import 语句的特殊处理和性能优化。 | | vue-app.json | Vue.js 前端应用 | 支持 Vue 项目的 TypeScript 类型检查,与 Vite 集成,确保 Vue 组件的正确编译与提示。 |

  • 配置 TypeScript: 在 tsconfig.json 中继承本配置。
    • 选择合适的配置:根据您的项目类型,选择对应的配置文件进行继承。
    • 配置继承示例
      { 
        "extends": "@voya-kit/ts-config/node.json"
      }