0.3.3 • Published 1 year ago

@maons/tsconfig v0.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Typescript configurations

tsconfig.json files for Node.js, Next.js and React.js projects.

Getting Started

Install

npm install @maons/tsconfig --save-dev

Configuration

These are base shared tsconfig.jsons from which all other tsconfig.json's inherit from.

Node.js

Create a tsconfig.json file with the following content:

{
  "extends": "@maons/tsconfig/base.json",
  "compilerOptions": {
    "outDir": "dist"
  },
  "include": ["src/**/*"]
}

Next.js

Create a tsconfig.json file with the following content:

{
  "extends": "@maons/tsconfig/nextjs.json",
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules"]
}

React.js

Create a tsconfig.json file with the following content:

{
  "extends": "@maons/tsconfig/react-library.json",
  "include": ["."],
  "exclude": ["dist", "build", "node_modules"]
}

License

Licensed under the MIT license.

0.3.3

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.1.0

1 year ago

0.1.0-beta.0

1 year ago

0.0.1

1 year ago