Skip to content

Commit

Permalink
rescript v10 업그레이드
Browse files Browse the repository at this point in the history
  • Loading branch information
mununki committed Sep 21, 2022
1 parent 4d0aeee commit b4a203b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 15 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# re-korean-numeral
# rescript-korean-numeral

`re-korean-numeral`은 숫자를 한글 숫자로 변환해주는 리스트립트(ReScript) 모듈 입니다.
`rescript-korean-numeral`은 숫자를 한글 숫자로 변환해주는 리스트립트(ReScript) 모듈 입니다.

###

```
1234 -> 1,234
1234567890 -> 12억 3,456만 7,890
Expand All @@ -14,16 +15,16 @@
1. 모듈 설치

```shell
npm i @greenlabs/re-korean-numeral
npm i @greenlabs/rescript-korean-numeral
or
yarn add @greenlabs/re-korean-numeral
yarn add @greenlabs/rescript-korean-numeral
```

2. `bsconfig.json` 의존성 추가하기

```json
"bs-dependencies": [
"@greenlabs/re-korean-numeral"
"@greenlabs/rescript-korean-numeral"
]
```

Expand Down
2 changes: 1 addition & 1 deletion bsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@greenlabs/re-korean-numeral",
"name": "@greenlabs/rescript-korean-numeral",
"bsc-flags": [
"-bs-super-errors"
],
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@greenlabs/re-korean-numeral",
"name": "@greenlabs/rescript-korean-numeral",
"version": "0.1.2",
"description": "ReScript module to convert the number to Korean",
"scripts": {
"re:watch": "bsb -make-world -w",
"re:build": "bsb -make-world",
"re:clean": "bsb -clean-world",
"start": "rescript build -w",
"build": "rescript build -with-deps",
"clean": "rescript clean",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/green-labs/re-korean-numeral.git"
"url": "git+https://github.com/green-labs/rescript-korean-numeral.git"
},
"keywords": [
"ReScript",
Expand All @@ -20,11 +20,11 @@
"author": "Greenlabs Dev <developer@greenlabs.co.kr>",
"license": "MIT",
"bugs": {
"url": "https://github.com/green-labs/re-korean-numeral/issues"
"url": "https://github.com/green-labs/rescript-korean-numeral/issues"
},
"homepage": "https://github.com/green-labs/re-korean-numeral#readme",
"homepage": "https://github.com/green-labs/rescript-korean-numeral#readme",
"devDependencies": {
"@glennsl/bs-jest": "^0.6.0",
"bs-platform": "^8.4.2"
"rescript": "^10"
}
}
}

0 comments on commit b4a203b

Please sign in to comment.