1.0.1 • Published 2 years ago

sandbank-utils v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

github Package Registry

Sandbank NPM Package

npm login 하기

npm login --registry=https://npm.pkg.github.com --scope=@daground
npm notice Log in on https://npm.pkg.github.com/
Username: github user name 입력
Password: github 개인 access token
Email: github에 가입한 email

npm login 확인하기

npm whoami --registry=http://npm.pkg.github.com

로그인한 Username 이 출력되어야 함

npm publish

package.json version을 올린 후 배포해야함

npm publish --registry=https://npm.pkg.github.com

ex)
npm notice
npm notice 📦  @daground/sandbank-utils@1.0.1
npm notice === Tarball Contents ===
npm notice 1.6kB db/index.js
npm notice 180B  err/index.js
npm notice 203B  func/index.js
npm notice 751B  package.json
npm notice === Tarball Details ===
npm notice name:          @daground/sandbank-utils
npm notice version:       1.0.1
npm notice filename:      @daground/sandbank-utils-1.0.1.tgz
npm notice package size:  1.3 kB
npm notice unpacked size: 2.8 kB
npm notice shasum:        c9aeaa96687acbb5f7756d5c94ad95c3aadc8aab
npm notice integrity:     sha512-K7jHQMAvG0vyv[...]D6ah2Fdnyndkg==
npm notice total files:   4
npm notice

package 설치하기

npm login 후 설치해야 함
npm install @daground/sandbank-utils

Error code

통상 규칙

SUCCESS: 0 고정

Firebase Authentication

100 - 199

AWS SDK

200 - 299

라우터별 범위

auth

100000 - 119999

data

120000 - 139999

asset

140000 - 159999

info

160000 - 179999

investment

180000 - 199999

master

200000 - 219999

school

220000 - 239999

transaction

240000 - 259999

user

260000 - 279999

verification

280000 - 299999

wallet

300000 - 319999

Func

기본 함수들을 모아 놓는 곳