Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- adb connect
- Each child in a list should have a unique "key" prop.
- Can't resolve
- custom printing
- Failed to compiled
- dvh
- adb pair
- nextjs
- github 100mb
- ELECTRON
- augmentedDevice
- Git
- Recoil
- 이미지 데이터 타입
- vercel git lfs
- camera permission
- ffi-napi
- react-native-dotenv
- react-native
- rolldown
- animation
- github lfs
- device in use
- npm package
- github pdf
- electron-packager
- 티스토리 성능
- camera access
- html
- silent printing
Archives
- Today
- Total
Bleeding edge
2022/12/01 - npm 배포 본문
1. npm 계정 생성
npm 공식 홈페이지에 접속해서 회원가입(Sign up)합니다.
2. npm 로그인
npm login
IDE 환경에서 npm 로그인한다. 로그인할 때
Username : ID
Password : PW
Email : 가입한 이메일
OTP : 이메일로 전송된 OTP번호
3. package.json 설정
{
"name" : "projectName", //프로젝트 이름
"main" : "dist/index.js", //프로젝트 진입점
"types": "dist/index.d.ts",//타입지정
"keywords" : ["react", "component, "background", "animation"],
"repository" : {
"type": "git",
"url" : "git://gitbub.com/documentcloud/test.git"
},
}
4. build ⇒ publish
npm publish
후기 :
한번 하고나니 배포가 별거 없네! 라는 생각이 들었다. 하지만 ,배포를 하는 과정에서 readme나, package.json을 정돈하는데 시간이 좀 걸렸고, depenedencies를 하는방법이 어려웠따.
'ConnecTo' 카테고리의 다른 글
2022/12/05 - Bundler (0) | 2022.12.06 |
---|---|
2022/12/02 (0) | 2022.12.05 |
2022/11/30 (0) | 2022.11.30 |
2022/11/29 - Git actions (0) | 2022.11.30 |
2022/11/28 (0) | 2022.11.28 |