2.4.10 • Published 1 year ago

qcobjects-tsconfig v2.4.10

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
1 year ago

qcobjects-tsconfig

TypeScript Config Base for QCObjects

Install

  npm i -D qcobjects-tsconfig

NOTE: Make sure you have installed QCObjects and ESLint before you use this

To install them

  npm i --save-dev qcobjects eslint github:QCObjects/-types-qcobjects github:QCObjects/-types-qcobjects-sdk 

## Settings

Create a tsconfig.json file with this content

{
  "extends": "qcobjects-tsconfig/tsconfig.json",
  "compilerOptions": {
    "rootDir": "src",                                    /* Specify the root folder within your source files. */
    "allowJs": true,                                     /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
    "outDir": "build",                                  /* Specify an output folder for all emitted files. */  
  },
  "include": ["src/**/*.ts"],
  "exclude": ["src/**/*.spec.js", "src/*.js"]
}

Create also a tsconfig.d.json file with this content

{
  "extends": "qcobjects-tsconfig/tsconfig.d.json",
  "include": ["src/**/*.ts"],
  "exclude": ["src/**/*.spec.js", "src/*.js"]
}

Run tsc and include tsc in your scripts

  npx tsc
{
  "scripts":{
    "build:ts": "npx tsc"
  }
}
2.4.10

1 year ago

2.4.9

1 year ago

2.4.8

1 year ago

2.4.7

1 year ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

2.4.5

1 year ago