-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.1 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 3.1 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
{
"name": "@boolean.mv/geo-data",
"version": "0.4.0",
"description": "Typed country, nationality, and Maldives geographic reference data for web applications.",
"author": "Boolean Private Limited",
"keywords": [
"countries",
"geodata",
"maldives",
"nationalities",
"typescript"
],
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git+https://github.com/booleanMV/GeoData.git"
},
"bugs": {
"url": "https://github.com/booleanMV/GeoData/issues"
},
"homepage": "https://github.com/booleanMV/GeoData#readme",
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js"
},
"./countries": {
"types": "./dist/countries.d.ts",
"import": "./dist/countries.js",
"require": "./dist/cjs/countries.js"
},
"./nationalities": {
"types": "./dist/nationalities.d.ts",
"import": "./dist/nationalities.js",
"require": "./dist/cjs/nationalities.js"
},
"./maldives": {
"types": "./dist/maldives.d.ts",
"import": "./dist/maldives.js",
"require": "./dist/cjs/maldives.js"
},
"./maldives/zones/*": {
"types": "./dist/maldives-zones/*.d.ts",
"import": "./dist/maldives-zones/*.js",
"require": "./dist/cjs/maldives-zones/*.js"
},
"./metadata": {
"types": "./dist/metadata.d.ts",
"import": "./dist/metadata.js",
"require": "./dist/cjs/metadata.js"
},
"./query": {
"types": "./dist/query.d.ts",
"import": "./dist/query.js",
"require": "./dist/cjs/query.js"
},
"./data/*": "./dist/data/*",
"./schemas/*": "./schemas/*",
"./package.json": "./package.json"
},
"files": [
"dist",
"schemas",
"docs",
"CHANGELOG.md",
"LICENSE",
"LICENSE-DATA.md",
"README.md"
],
"engines": {
"node": ">=22"
},
"scripts": {
"generate": "node scripts/generate.mjs",
"check:review": "node scripts/check-review-dates.mjs",
"check:generated": "npm run build:coordinates && npm run generate && git diff --exit-code -- data/coordinates.json data/coordinate-coverage.json data/dhivehi-names.json data/dhivehi-coverage.json src/countries.ts src/nationalities.ts src/maldives.ts src/maldives-zones src/metadata.ts",
"build:coordinates": "node scripts/build-coordinates.mjs",
"sync:coordinates": "node scripts/sync-official-coordinates.mjs",
"sync:onemap": "node scripts/sync-onemap.mjs",
"build": "npm run build:coordinates && npm run generate && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node scripts/write-cjs-package.mjs && node scripts/export-json.mjs",
"clean": "rm -rf dist",
"test": "npm run check:review && npm run build && node --test tests/*.test.mjs",
"typecheck": "npm run generate && tsc -p tsconfig.json --noEmit",
"prepublishOnly": "npm test"
},
"devDependencies": {
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"typescript": "^5.9.2"
}
}