gt scaffold for npm packages
- Check if you have installed nodejs.
- Check if you have installed gt.
- Check if you have setup gt config for this scaffold. If not run
gt config add vivaxy/gt-npm-package https://github.com/vivaxy/gt-npm-package.git
- Make a directory for your new project.
mkdir awesome-project
; - Go into your project directory.
cd awesome-project
; - Run
gt init
- Select
vivaxy/gt-npm-package
- Enjoy!
- Edit codes
- Commit your changes
- Publish by
yarn run release-gt
[![NPM Version](http://img.shields.io/npm/v/{{ projectName }}.svg?style=flat-square)](https://www.npmjs.com/package/{{ projectName }}) [![NPM Downloads](https://img.shields.io/npm/dt/{{ projectName }}.svg?style=flat-square)](https://www.npmjs.com/package/{{ projectName }}) ![MIT License](https://img.shields.io/npm/l/{{ projectName }}.svg?style=flat-square)
{{ gtAnnotation }}
npm install {{ projectName }}
yarn add {{ projectName }}
import {{ projectName }} from '{{ projectName }}';