New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

fis-parser-typescript

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-parser-typescript

A parser plugin for fis3 to compile typescript(ts) file.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

fis3-parser-typescript

typescript parser for fis3

INSTALL

npm install -g fis3-parser-typescript

USEAGE

fis.match('**.ts', {
	parser: fis.plugin('typescript', {
			// options
		}),
	rExt: '.js'
});

注意

如果你的 fis 版本小于 3.2.2 请加以下配置。

fis.set('project.fileType.text', 'ts,tsx');

常用配置说明

  • jsx 默认为 2, 解析 <xml> 为对应的 react 语句。如果设置 1, 则保留。

  • module 默认为 1.

    • 1: commonjs
    • 2: amd
    • 3: umd
    • 4: system
  • target 默认为 0, es3.

    • 0: es3
    • 1: es5
    • 2: es6
  • sourceMap 默认为 false 配置是否输出 sourcemap

Keywords

fis

FAQs

Package last updated on 13 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts