@friends-library/dev
Meta-package for convenient development. Sort of like react-scripts
for all-purpose
typescript module development. Includes pre-configured out-of-the-box support for:
- TypeScript (currently
4.1.x
) - Jest (setup with ts-jest)
- eslint (configured for typescript with opinionated defaults)
- prettier
- ts-node
Exposes a fldev
bin that can be used with npx
or as part of npm scripts:
$ npx fldev ts:check
$ npx fldev ts:compile
$ npx fldev test
$ npx fldev test:watch
$ npx fldev lint
$ npx fldev lint:fix
$ npx fldev format
$ npx fldev tsnode ./some-ts-script.ts
$ npx fldev ci