Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 838 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 838 Bytes

Twtmf

Means Tw_____ the mother f__ker

Commands

yarn dev # For running the code in development thanks to swc and nodemon

yarn test # For running unit test
yarn test:watch # For watching unit test

yarn lint # For linting the code
yarn lint:fix # For linting the code and fix issues

yarn build # For building the code (there is no typechecking due to swc compiler)
yarn type-check # For typechecking the code

yarn start:cjs # For running the code builded in cjs
yarn start:esm # For running the code builded in esm

Publish to npm

Set NPM_TOKEN in your Github actions secret, and that's it :)

Alt Text

To test this package, just do that :

import { sayHello } from 'typescript-swc-starter';
sayHello();