@ailushyk/utils
v0.0.7
Published
- [Instalation](#installation) - [Init new project](#init-new-project) - [Publish project](#publish)
Downloads
11
Readme
Utils
Installation
npm i --save-dev @ailushyk/utils
Init new project
🚧 work in progress 🚧
npm init -y
init tsconfig
npm i --save-dev typescript
tsc --init
install eslint + prettier
npm install --save-dev eslint prettier eslint-config-prettier eslint-plugin-prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser
Publish
Usage:
utils publish [options]
Options:
Clean up build directory --clean-build <build-dir>
Display help for command -h, --help
Example
// build and publish
utils publish
// clean up build directory, build and publish
utils publish --clean-build=dist
// NPX
npx @ailushyk/utils publish
Setup app
Code Style
Setup eslint + prettier
npx @ailushyk/utils setup-code-style