0.7.1 • Published 3 years ago

@lostintime/devcon-ts v0.7.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

DEVCON-TS

Travis

Opinionated development configs for TypeScript projects.

Package brings devDependencies required for prettier 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

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

0.7.1

3 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.3

6 years ago