-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.31 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "jpostcode",
"version": "1.0.202609",
"description": "Japanese postal code to address lookup. Auto-updated monthly, official CDN available, no API server required. Works in Node.js, browsers, and TypeScript.",
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
"types": "dist/jpostcode.d.ts",
"exports": {
".": {
"types": "./dist/jpostcode.d.ts",
"require": "./dist/index.cjs.js",
"import": "./dist/index.mjs",
"default": "./dist/index.cjs.js"
},
"./web": {
"types": "./dist/web.d.ts",
"require": "./dist/web.cjs",
"import": "./dist/web.mjs",
"default": "./dist/web.mjs"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/matzlika/jpostcode-js.git"
},
"homepage": "https://github.com/matzlika/jpostcode-js#readme",
"bugs": {
"url": "https://github.com/matzlika/jpostcode-js/issues"
},
"keywords": [
"jpostcode",
"Japanese addresses",
"postal code",
"zipcode",
"address lookup",
"address autofill",
"autofill",
"form autofill",
"Japan",
"prefecture",
"city",
"town",
"Kana",
"TypeScript",
"JavaScript",
"郵便番号",
"住所検索",
"住所自動入力",
"フォーム自動入力",
"日本",
"都道府県",
"市区町村",
"町域",
"カナ"
],
"scripts": {
"build": "npm run build:js && npm run build:web && npm run build:types",
"build:js": "node esbuild.mjs",
"build:web": "node esbuild-web.mjs",
"build:types": "tsc -p tsconfig.build.json",
"test:esm": "node -e \"import('./dist/index.mjs').then((m)=>{const r=m.Jpostcode.find('0010000'); if (r[0]?.prefecture !== '北海道') process.exit(1)})\"",
"test:web": "node scripts/test-web-dist.mjs",
"test": "npm run build && jest && npm run test:esm && npm run test:web"
},
"files": [
"dist",
"README.md",
"README.en.md",
"CHANGELOG.md",
"LICENSE",
"NOTICE"
],
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^25.6.0",
"esbuild": "^0.28.0",
"jest": "^30.3.0",
"npm-check-updates": "^22.0.1",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^6.0.3"
}
}