-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
43 lines (43 loc) · 1.04 KB
/
package.json
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
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "jp-postal",
"version": "3.2.0",
"main": "index.cjs",
"license": "MIT",
"repository": "github:tranvansang/jp-postal",
"keywords": [
"japanese",
"postal",
"postal-code",
"address",
"yubinbango",
"郵便番号",
"〒",
"住所",
"日本住所"
],
"author": "Sang <t@sang.jp>",
"files": [
"index.cjs",
"index.mjs",
"index.d.ts"
],
"exports": {
".": {
"require": "./index.cjs",
"import": "./index.mjs",
"types": "./index.d.ts"
}
},
"scripts": {
"rebuild": "yarn install --production=false && yarn download && yarn unzip && yarn enc-convert && yarn js-convert && yarn build && yarn test",
"download": "wget -O ken_all.zip http://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zip",
"unzip": "unzip -o ken_all.zip",
"enc-convert": "iconv -f sjis -t utf8 KEN_ALL.CSV > KEN_ALL-utf8.CSV",
"js-convert": "node convert.mjs",
"test": "yarn mocha test.mjs",
"build": "./build.sh"
},
"devDependencies": {
"csv": "^6.2.1"
}
}