@flomon-ui/icons
Version:
Flomon icon components
68 lines (50 loc) • 1.41 kB
Markdown
# flomon-icons
## 프로젝트 설치
```
# 설치할 경로에서
$ git clone https://github.com/inforzia/flomon-icons.git
```
## 모듈 설치
```
# 설치된 경로에서
$ npm install
```
## 아이콘만 생성
```
$ npm run gen
```
## 전체 빌드
```
$ npm run build
```
## git pull 과정 (CLI)
```
# 다른 사람이 올린 파일을 내려받기
$ git pull
```
## git push 과정 (CLI)
```
$ git add .
$ git commit -m "{커밋 메시지}"
$ git push
```
## npm publish 과정
```
# package.json 에서 다음 버전으로 변경 후
# e.g. version: 0.0.6 -> version: 0.0.7
# 최초 한번만 access=public 으로 publish
$ npm publish --access=public
# 다음 부터는
$ npm publish
```
## 아이콘 생성 과정
1. 프로젝트 내에 `icons` 폴더에 `svg 파일 업로드` (svg파일 이름으로 아이콘이 생성되기 때문에 중복된 이름 확인 후 업로드)
2. `git pull` 수행
3. `npm install` 수행
4. `package.json`에서 버전 변경
5. 프로젝트 경로에서 `npm run build` 명령어 실행
6. `dist` 폴더에서 `flomon-icon.html` 파일에서 아이콘 확인
7. `npm publish` 수행
8. `git push` 수행
9. [flomon-icons](https://www.npmjs.com/package/@flomon-ui/icons) npm 저장소 확인
10. [flomon-icons](https://github.com/inforzia/flomon-icons) github 저장소 확인