Skip to content

typescript-config 1.1.0

Install from the command line:
Learn more about npm packages
$ npm install @jobgetapp/typescript-config@1.1.0
Install via package.json:
"@jobgetapp/typescript-config": "1.1.0"

About this version

@jobgetapp/typescript-config

Project Description

The base typescript configuration used for JobGet projects. Includes a both a source and test configuration, with the assumption that source code is stored with the following directory structure:

  .
  ├── ...
  ├── project_folder   # Folder containing the project content
  │   ├── package.json
  │   ├── jest.config.js
  │   ├── src
  │       ├── tsconfig.json
  │       ├── .eslintrc.js
  │       └── ...
  │   ├── test
  │       ├── tsconfig.json
  │       ├── .eslintrc.js
  │       └── ...
  └── ...

Usage

# src/tsconfig.json

{
  "extends": "@jobgetapp/typescript-config/tsconfig.lib.src.json",
  "compilerOptions": {
    "outDir": "../dist",
    "rootDir": ".",
    "baseUrl": "./",
    "paths": {
      "~/*": ["./*"]
    }
  }
}
# test/tsconfig.json

{
  "extends": "@jobgetapp/typescript-config/tsconfig.lib.test.json",
  "compilerOptions": {
    "rootDir": "..",
    "baseUrl": "../" 
  },
  "include": [
    "../src/**/*",
    "../test/**/*"
  ]
}

Details


Assets

  • typescript-config-1.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all