ts-aio
ts test & build & dev all in one package
Last updated a year ago by bichi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ts-aio 
SYNC missed versions from official npm registry.

Typescript all in one package

build & test

  • build by tsc
  • test by mocha
  • reformat by prettier-eslint
  • lint by eslint & tslint

How to use

Usage: src [options] [command]

Options:
  -c, --ts-config [dir]       set a project directory (default: "tsconfig.json")
  -d, --build-dir [dir]       set a directory for built result files (default: "dist")
  -i, --include [regex]       source directories (collect able) (default: [])
  -t, --test [regex]          test directories(collect able, test only) (default: [])
  -r, --requires [file path]  require files (collect able) (default: [])
  -h, --help                  output usage information

Commands:
 build        build ts to js
 test         test codes
 test-watch   watch testing codes
 coverage     measure test coverage
 reformat     format code style
 init         copy config files for your project

Files for IDE

  • tslint config file: node_modules/ts-aio/tslint.json
  • eslint config file: node_modules/ts-aio/.eslintrc.js
  • nyc config file: node_modules/ts-aio/.nycrc
  • ts-node register: node_modules/ts-node/register.js
  • tsconfig-path register: node_modules/tsconfig-paths/register.js

Run mocha manually

yarn mocha -r ts-node/register -r tsconfig-paths/register "test/**/*.spec.ts"

Run nyc manually

yarn nyc -r ts-node/register -r tsconfig-paths/register mocha -r ts-node/register -r tsconfig-paths/register "test/**/*.spec.ts"

Current Tags

  • 0.2.0-alpha.2                                ...           alpha (7 months ago)
  • 0.1.12                                ...           latest (a year ago)

35 Versions

  • 0.2.0-alpha.2                                ...           7 months ago
  • 0.2.0-alpha.1                                ...           7 months ago
  • 0.2.0-alpha.0                                ...           7 months ago
  • 0.1.12                                ...           a year ago
  • 0.1.11                                ...           a year ago
  • 0.1.10                                ...           a year ago
  • 0.1.9                                ...           a year ago
  • 0.1.9-alpha2                                ...           a year ago
  • 0.1.9-alpha1                                ...           a year ago
  • 0.1.9-alpha0                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.5-alpha0                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 38
Dependencies (27)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |