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

@reallyland/tsconfig

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reallyland/tsconfig

TypeScript configuration file for The Really Project

  • 4.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.3K
decreased by-36.16%
Maintainers
1
Weekly downloads
 
Created
Source

@reallyland/tsconfig

TypeScript configuration file for The Really Project


Buy Me A Coffee tippin.me Follow me

Version Node version MIT License

Downloads Total downloads Packagephobia Bundlephobia

Code of Conduct

TypeScript configuration file for The Really Project, works for either browser or Node.js.

Table of contents

Pre-requisites

  • TypeScript >= 4.1.3
  • [Optional for browser] Node.js >= 14.15.3
  • [Optional for browser] NPM >= 6.14.9 (NPM comes with Node.js so there is no need to install separately.)

Setup

Install

# Install via NPM
$ npm install --save @reallyland/tsconfig

Usage

Note that the following fields are required after extending the sharable tsconfig:

  • compilerOptions.rootDir
  • compilerOptions.outDir
  • compilerOptions.declarationDir
  • include
  • exclude
Node.js

tsconfig.json

{
  "extends": "@reallyland/tsconfig",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist",
    "declarationDir": "dist"
  },
  "include": ["src/**/*.ts"],
  "exclude": ["dist"]
}

[Optional] tsconfig.prod.json

{
  "extends": "@reallyland/tsconfig",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist",
    "declarationDir": "dist"
  },
  "include": ["src/*.ts"],
  "exclude": ["src/test/**/*.ts", "src/demo/**/*.ts"]
}
Browser

Main difference is that there are dom and dom.iterable are added in the lib field of /browser/tsconfig.json to provide typings for web platform APIs.

tsconfig.json

{
  "extends": "@reallyland/tsconfig/browser",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist",
    "declarationDir": "dist"
  },
  "include": ["src/**/*.ts"],
  "exclude": ["dist"]
}

License

MIT License © Rong Sen Ng (motss)

Keywords

FAQs

Package last updated on 14 Dec 2021

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