@packmule/typescript-pack
Packmule pack to transpile TypeScript files.
Last updated 8 months ago by thasmo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @packmule/typescript-pack 
SYNC missed versions from official npm registry.

TypeScript Pack

Compile TypeScript to JavaScript including Babel transpiling.

Internally the TypeScript Pack uses Babel to transpile the code if needed. To configure Babel settings in your project, a .babelrc.json file can be used. Linting code via ESLint can be utilized by creating an .eslintrc file.

Setup

npm install --save-dev @packmule/typescript-pack typescript @babel/core eslint

API

TypeScriptPack()
    .include(glob: string)

Options

  • cache - Controls cache utilization of the babel-loader.
  • lint - Controls source-code linting via eslint-loader.
  • fix - Controls source-code fixing via eslint-loader.
  • debug - Controls generation of source maps for the generated JS.

Usage

Example

Configure TS to JS transpiling.

import Packmule from '@packmule/core';
import TypeScriptPack from '@packmule/typescript-pack';

const packmule = new Packmule();
packmule.register(new TypeScriptPack());
return packmule.generate();

License

MIT


Current Tags

  • 2.0.1-nightly.242                                ...           latest (8 months ago)
  • 2.0.1-nightly.389                                ...           nightly (4 hours ago)

47 Versions

  • 2.0.1-nightly.389                                ...           4 hours ago
  • 2.0.1-nightly.388                                ...           a day ago
  • 2.0.1-nightly.387                                ...           8 days ago
  • 2.0.1-nightly.386                                ...           17 days ago
  • 2.0.1-nightly.375                                ...           24 days ago
  • 2.0.1-nightly.373                                ...           a month ago
  • 2.0.1-nightly.372                                ...           a month ago
  • 2.0.1-nightly.371                                ...           a month ago
  • 2.0.1-nightly.370                                ...           2 months ago
  • 2.0.1-nightly.369                                ...           2 months ago
  • 2.0.1-nightly.368                                ...           2 months ago
  • 2.0.1-nightly.364                                ...           2 months ago
  • 2.0.1-nightly.363                                ...           2 months ago
  • 2.0.1-nightly.362                                ...           2 months ago
  • 2.0.1-nightly.360                                ...           2 months ago
  • 2.0.1-nightly.358                                ...           2 months ago
  • 2.0.1-nightly.357                                ...           3 months ago
  • 2.0.1-nightly.355                                ...           4 months ago
  • 2.0.1-nightly.353                                ...           4 months ago
  • 2.0.1-nightly.352                                ...           4 months ago
  • 2.0.1-nightly.346                                ...           5 months ago
  • 2.0.1-nightly.342                                ...           5 months ago
  • 2.0.1-nightly.341                                ...           5 months ago
  • 2.0.1-nightly.339                                ...           6 months ago
  • 2.0.1-nightly.328                                ...           6 months ago
  • 2.0.1-nightly.327                                ...           6 months ago
  • 2.0.1-nightly.325                                ...           6 months ago
  • 2.0.1-nightly.316                                ...           7 months ago
  • 2.0.1-nightly.314                                ...           7 months ago
  • 2.0.1-nightly.310                                ...           7 months ago
  • 2.0.1-nightly.301                                ...           7 months ago
  • 2.0.1-nightly.300                                ...           7 months ago
  • 2.0.1-nightly.295                                ...           7 months ago
  • 2.0.1-nightly.293                                ...           7 months ago
  • 2.0.1-nightly.287                                ...           7 months ago
  • 2.0.1-nightly.286                                ...           7 months ago
  • 2.0.1-nightly.283                                ...           7 months ago
  • 2.0.1-nightly.281                                ...           8 months ago
  • 2.0.1-nightly.280                                ...           8 months ago
  • 2.0.1-nightly.271                                ...           8 months ago
  • 2.0.1-nightly.263                                ...           8 months ago
  • 2.0.1-nightly.257                                ...           8 months ago
  • 2.0.1-nightly.255                                ...           8 months ago
  • 2.0.1-nightly.253                                ...           8 months ago
  • 2.0.1-nightly.251                                ...           8 months ago
  • 2.0.1-nightly.247                                ...           8 months ago
  • 2.0.1-nightly.242                                ...           8 months ago
Maintainers (2)
Downloads
Today 8
This Week 22
This Month 75
Last Day 13
Last Week 9
Last Month 61
Dependencies (6)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |