@lostintime/devcon-ts
Development configs for TypeScript projects
Last updated 8 months ago by lostintime .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @lostintime/devcon-ts 
SYNC missed versions from official npm registry.

DEVCON-TS

Travis

Opinionated development configs for TypeScript projects.

Package brings devDependencies required for prettier, tslint and conventional commits support.

Installation

Install the package and link config files.

npm install --save-dev @lostintime/devcon-ts

Conventional Commits

Dependencies brought by @lostintime/devcon-ts.

ln -s ./node_modules/@lostintime/devcon-ts/.huskyrc
ln -s ./node_modules/@lostintime/devcon-ts/.czrc
ln -s ./node_modules/@lostintime/devcon-ts/.lintstagedrc
ln -s ./node_modules/@lostintime/devcon-ts/.commitlintrc.json

Prettier

ln -s ./node_modules/@lostintime/devcon-ts/.editorconfig
ln -s ./node_modules/@lostintime/devcon-ts/.prettierrc

TypeScript

ln -s ./node_modules/@lostintime/devcon-ts/tslint.json

Extend @lostintime/devcon-ts in your tsconfig.json, ex:

{
  "extends": "@lostintime/devcon-ts",
  "compilerOptions": {
    "rootDir": "./src",
    "outDir": "./dist",
    "declarationDir": "./dist",
    "composite": true
  },
  "include": ["src"]
}

Testing

... with mocha, chai and nyc.

npm install --save-dev mocha chai @types/mocha @types/chai nyc

Link configs

ln -s ./node_modules/@lostintime/devcon-ts/.mocharc.json
ln -s ./node_modules/@lostintime/devcon-ts/.nycrc

Updates

mocha.opts is not deprecated in favor of .mocharc.json

Current Tags

  • 0.5.0                                ...           latest (8 months ago)

11 Versions

  • 0.5.0                                ...           8 months ago
  • 0.4.3                                ...           10 months ago
  • 0.4.2                                ...           10 months ago
  • 0.4.1                                ...           10 months ago
  • 0.4.0                                ...           10 months ago
  • 0.3.0                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 1
Last Month 15
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |