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

ts-aio

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ts-aio

ts test & build & dev all in one package

unpublished
latest
Source
npmnpm
Version
0.1.12
Version published
Maintainers
1
Created
Source

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"

FAQs

Package last updated on 18 Dec 2018

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