@katachanneloffical/kata-snippets
Version:
A simple component generator for projects
16 lines (13 loc) • 516 B
Markdown
npm link
generate-component
Đăng ký tài khoản NPM → npm login
Cấu hình package.json (đặt tên, version, dependencies)
Publish package lên NPM → npm publish --access public
Cài đặt và sử dụng package → npm install -g package-name
Cập nhật package (nếu cần) → Tăng version + npm publish
git add .
git commit -m "update"
git push
npm publish
npx katacreate --type nestjs --name myApp --outputDir ./myDir
node index.js--type angular --name test --outputDir ./test