tsconfig

WebJar for tsconfig

Лицензия

Лицензия

MIT
Категории

Категории

config Библиотеки уровня приложения Configuration
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

tsconfig
Последняя версия

Последняя версия

7.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

tsconfig
WebJar for tsconfig
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/TypeStrong/tsconfig

Скачать tsconfig

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/tsconfig/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>tsconfig</artifactId>
    <version>7.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/tsconfig/
implementation 'org.webjars.npm:tsconfig:7.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/tsconfig/
implementation ("org.webjars.npm:tsconfig:7.0.0")
'org.webjars.npm:tsconfig:jar:7.0.0'
<dependency org="org.webjars.npm" name="tsconfig" rev="7.0.0">
  <artifact name="tsconfig" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='tsconfig', version='7.0.0')
)
libraryDependencies += "org.webjars.npm" % "tsconfig" % "7.0.0"
[org.webjars.npm/tsconfig "7.0.0"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.webjars.npm : types__strip-bom jar [3.0.0,4)
org.webjars.npm : types__strip-json-comments jar [0.0.30]
org.webjars.npm : strip-bom jar [3.0.0,4)
org.webjars.npm : strip-json-comments jar [2.0.0,3)

Модули Проекта

Данный проект не имеет модулей.

TSConfig

NPM version NPM downloads Build status Test coverage

Resolve and parse tsconfig.json, replicating TypeScript's behaviour.

Usage

See the TypeScript docs for information on setting up tsconfig.json.

API

  • resolve(cwd: string, path?: string): Promise<string | void> Resolve tsconfig.json, like TypeScript, allowing a path to be specified and falling back to recursively resolving tsconfig.json upward when no path is specified.
  • resolveSync(cwd: string, path?: string): string | void Synchronous resolve.
  • find(cwd: string): Promise<string | void> Standalone behaviour of recursively resolving tsconfig.json upward.
  • findSync(cwd: string): string | void Synchronous find.
  • load(cwd: string, path?: string): Promise<{ path?: string, config: any }> Resolve, load and parse tsconfig.json.
  • loadSync(cwd: string, path?: string): { path?: string, config: any } Synchronous load.
  • readFile(filename: string): Promise Read a JSON file as tsconfig.json (strip BOM, parse JSON and support empty contents).
  • readFileSync(filename: string): any Synchronous readFile.
  • parse(contents: string, filename: string): any Parse file contents as tsconfig.json (strip BOM, parse JSON and support empty contents).

Contributing

Feel free to open issues for discussion.

# Install dependencies/typings.
npm install

# Run test suite.
npm test

License

MIT License

org.webjars.npm

TypeStrong

TypeScript workflows

Версии библиотеки

Версия
7.0.0