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

@teamsparta/ts-config

v0.0.7

Published

teamsparta 스타일 가이드에 맞게 typescript-config 설정을 커스텀하여 제공합니다

Downloads

187

Readme

@teamsparta/ts-config

teamsparta 스타일 가이드에 맞게 typescript-config 설정을 커스텀하여 제공합니다

  • config는 완벽하게 적용된게 아니며 필요에 따라 수정이 가능합니다.

Compiler Options

lib

•	설명: 컴파일러가 참조할 라이브러리의 목록을 지정합니다.
•	값: ["dom", "dom.iterable", "esnext"]
•	dom: DOM API를 포함합니다.
•	dom.iterable: DOM의 반복 가능한 객체들을 포함합니다.
•	esnext: 최신 ECMAScript 기능을 포함합니다.

target

•	설명: 컴파일된 JavaScript의 목표 버전을 지정합니다.
•	값: "es5"
•	ES5 표준에 맞게 코드를 컴파일합니다.

module

•	설명: 모듈 시스템을 지정합니다.
•	값: "esnext"
•	최신 ES 모듈 시스템을 사용합니다.

allowJs

•	설명: JavaScript 파일의 컴파일을 허용합니다.

checkJs

•	설명: JavaScript 파일에서 타입 검사를 수행합니다.

jsx

•	설명: JSX 코드의 처리 방식을 지정합니다.
•	값: "preserve"
•	JSX를 유지합니다 (변환하지 않음).

declaration

•	설명: 타입 선언 파일(.d.ts)을 생성합니다.

removeComments

•	설명: 컴파일된 파일에서 모든 주석을 제거합니다.

strict

•	설명: 모든 엄격한 타입 검사 옵션을 활성화합니다.

세부 엄격 옵션

•	noImplicitAny: 암시적으로 any 타입이 되는 것을 방지합니다.
•	strictNullChecks: null 및 undefined 값을 엄격하게 체크합니다.
•	strictFunctionTypes: 함수 타입에 대한 엄격한 검사를 수행합니다.
•	strictPropertyInitialization: 클래스의 속성이 제대로 초기화되었는지 검사합니다.
•	noImplicitThis: 암시적 this 타입이 any가 되는 것을 방지합니다.
•	alwaysStrict: 각 파일에 strict mode를 적용합니다.

기타 검사 옵션

•	noUnusedLocals: 사용하지 않는 지역 변수를 오류로 처리합니다.
•	noUnusedParameters: 사용하지 않는 매개 변수를 오류로 처리합니다.
•	noImplicitReturns: 함수에서 모든 코드 경로가 값을 반환하도록 합니다.
•	noFallthroughCasesInSwitch: switch 문에서 case의 fallthrough를 방지합니다.

기타 설정

•	skipLibCheck: 라이브러리 파일의 타입 검사를 건너뜁니다.
•	noEmit: JavaScript 출력을 생성하지 않습니다.
•	esModuleInterop: CommonJS와 ES 모듈 간의 호환성을 활성화합니다.
•	moduleResolution: 모듈 해석 방식을 지정합니다.
•	값: "bundler"
•	번들러 모듈 해석 방식을 사용합니다.
•	resolveJsonModule: JSON 모듈을 임포트할 수 있도록 합니다.
•	isolatedModules: 각 파일을 개별 모듈로 트랜스파일합니다.
•	incremental: 증분 컴파일을 활성화하여 컴파일 속도를 향상시킵니다.