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
아이콘 생성 과정
- 프로젝트 내에
icons
폴더에 svg 파일 업로드
(svg파일 이름으로 아이콘이 생성되기 때문에 중복된 이름 확인 후 업로드)
-
git pull
수행
-
npm install
수행
-
package.json
에서 버전 변경
- 프로젝트 경로에서
npm run build
명령어 실행
-
dist
폴더에서 flomon-icon.html
파일에서 아이콘 확인
-
npm publish
수행
-
git push
수행
-
flomon-icons npm 저장소 확인
-
flomon-icons github 저장소 확인