@icebreakers/tsconfig

0.0.7 • Public • Published

@icebreakers/tsconfig

my tsconfig

tsconfig.cjs.json

{
  "extends": "@tsconfig/recommended/tsconfig.json",
  "compilerOptions": {
    "noEmitOnError": false,
    "declaration": true,
    "sourceMap": false,
    "allowSyntheticDefaultImports": true,
    "baseUrl": ".",
    "removeComments": true,
    "lib": [
      "ES2021"
    ],
    "paths": {
      "@/*": [
        "src/*"
      ]
    }
  }
}

tsconfig.com.json

{
  // test comment
  "compilerOptions": {
    "target": "esnext",
    "module": "esnext",
    "moduleResolution": "node",
    "declaration": true,
    "declarationDir": "types",
    "strict": true,
    "jsx": "preserve",
    "allowJs": true,
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "baseUrl": ".",
    "paths": {
      "@/*": ["./*"],
      "@components/*": ["./src/components/*"]
    },
    "lib": ["esnext", "dom"]
  },
  "include": ["src/**/*", "components/**/*"]
}

Readme

Keywords

Package Sidebar

Install

npm i @icebreakers/tsconfig

Weekly Downloads

10

Version

0.0.7

License

MIT

Unpacked Size

3.33 kB

Total Files

5

Last publish

Collaborators

  • icebreaker