Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 2.5 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@yusifaliyevpro/countries",
"version": "5.2.6",
"description": "TypeScript wrapper for Rest Countries API to fetch country data by codes, capitals, or all countries with full typings.",
"keywords": [
"alpha_2",
"alpha_3",
"api-wrapper",
"borders",
"calling-codes",
"capital-cities",
"capitals",
"cca2",
"cca3",
"countries",
"country-api",
"country-codes",
"country-data",
"country-flags",
"country-info",
"currencies",
"demonyms",
"dial-codes",
"flags",
"geography",
"iso-3166",
"iso3166",
"languages",
"latlng",
"nationality",
"node-sdk",
"population",
"region",
"rest-api",
"rest-countries",
"restcountries",
"sdk",
"subregion",
"timezones",
"typescript",
"typescript-sdk",
"world-countries",
"zod"
],
"homepage": "https://github.com/yusifaliyevpro/countries#readme",
"license": "LGPL-2.1-or-later",
"author": {
"name": "Yusif Aliyev",
"email": "yusifaliyevpro@gmail.com",
"url": "https://yusifaliyevpro.com/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yusifaliyevpro/countries.git"
},
"files": [
"dist"
],
"type": "module",
"sideEffects": false,
"typesVersions": {
"*": {
"*": [
"./dist/*.d.ts"
],
"types": [
"./dist/types/index.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.mjs",
"require": "./dist/types/index.cjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"check": "greenly",
"sort-data": "node scripts/sort-data.ts",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:schema": "vitest run tests/schema.test.ts",
"test:data": "vitest run tests/data.test.ts",
"test:currencies": "vitest run tests/currencies.data.test.ts"
},
"dependencies": {
"zod": "4.6.5"
},
"devDependencies": {
"@types/node": "24.19.1",
"dotenv": "18.0.6",
"greenly": "1.2.0",
"oxfmt": "0.72.0",
"oxlint": "1.87.0",
"oxlint-tsgolint": "7.0.2003",
"tsdown": "0.23.0",
"typescript": "7.0.2",
"unplugin-unused": "0.6.0",
"vitest": "5.0.3"
}
}