-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 4.93 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 4.93 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@tansuasici/country-state-city",
"version": "2.0.14",
"description": "Complete world countries, states, and cities data in JSON, CSV, XML, and YAML formats. Modern UI components included.",
"main": "countrystatecity-npm/dist/index.node.cjs",
"module": "countrystatecity-npm/dist/index.node.mjs",
"browser": "countrystatecity-npm/dist/index.browser.js",
"types": "countrystatecity-npm/dist/index.d.ts",
"files": [
"countrystatecity-npm/dist",
"countrystatecity-mcp/dist",
"data",
"README.md"
],
"exports": {
".": {
"types": "./countrystatecity-npm/dist/index.d.ts",
"browser": "./countrystatecity-npm/dist/index.browser.js",
"node": {
"import": "./countrystatecity-npm/dist/index.node.mjs",
"require": "./countrystatecity-npm/dist/index.node.cjs"
},
"default": "./countrystatecity-npm/dist/index.browser.js"
},
"./browser": {
"types": "./countrystatecity-npm/dist/index.d.ts",
"default": "./countrystatecity-npm/dist/index.browser.js"
},
"./node": {
"types": "./countrystatecity-npm/dist/index.d.ts",
"import": "./countrystatecity-npm/dist/index.node.mjs",
"require": "./countrystatecity-npm/dist/index.node.cjs"
},
"./data/countries.json": "./data/country.json",
"./data/states.json": "./data/state.json",
"./data/cities.json": "./data/city.json",
"./mcp": "./countrystatecity-mcp/dist/index.js"
},
"bin": {
"country-state-city-mcp": "./countrystatecity-mcp/dist/index.js"
},
"scripts": {
"dev": "env-cmd -f .env.development next dev --turbopack",
"prebuild:prod": "npm version patch",
"build:prod": "env-cmd -f .env.production next build",
"postbuild:prod": "git add package.json && git commit -m 'Build(prod): version bump'",
"build:lib": "rollup -c",
"build:lib:tsc": "tsc --project tsconfig.lib.json",
"start": "next start",
"export": "next export",
"lint": "next lint",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prepare": "husky",
"build:dev": "SET NODE_ENV=dev npm run build --dev --",
"build:local": "env-cmd -f .env.local next build",
"build:mcp": "esbuild countrystatecity-mcp/src/index.ts --bundle --platform=node --format=esm --outfile=countrystatecity-mcp/dist/index.js --external:@modelcontextprotocol/sdk --external:zod --banner:js=\"#!/usr/bin/env node\nimport{fileURLToPath as __mcp_fileURLToPath}from'url';import{dirname as __mcp_dirname}from'path';const __filename=__mcp_fileURLToPath(import.meta.url);const __dirname=__mcp_dirname(__filename);\"",
"dev:mcp": "tsx countrystatecity-mcp/src/index.ts",
"prepublishOnly": "npm run build:lib"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"keywords": [
"countries",
"states",
"cities",
"json",
"csv",
"xml",
"yaml",
"location",
"geography",
"world-data",
"iso3166",
"nextjs",
"react",
"typescript"
],
"author": {
"name": "Tansu Asici",
"url": "https://tansuasici.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tansuasici/CountryStateCity"
},
"bugs": {
"url": "https://github.com/tansuasici/CountryStateCity/issues"
},
"homepage": "https://countrystatecity.tansuasici.com",
"dependencies": {
"@base-ui/react": "^1.3.0",
"@modelcontextprotocol/sdk": "^1.26.0",
"@next/third-parties": "^16.2.1",
"@tailwindcss/postcss": "^4.2.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"firebase": "^12.1.0",
"fumadocs-core": "^16.6.16",
"fumadocs-mdx": "^14.2.9",
"fumadocs-ui": "^16.6.16",
"js-yaml": "^4.1.1",
"leaflet": "^1.9.4",
"lucide-react": "^0.539.0",
"next": "^16.2.0",
"postcss": "^8.4.33",
"react": ">=17.0.0",
"react-dom": ">=17.0.0",
"react-leaflet": "^5.0.0",
"shadcn": "^4.1.0",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.1",
"tw-animate-css": "^1.4.0",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.4",
"@types/leaflet": "^1.9.21",
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitest/coverage-v8": "^4.0.18",
"env-cmd": "^10.1.0",
"esbuild": "^0.25.9",
"eslint-config-next": "^16.2.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"rollup": "^4.49.0",
"tsx": "^4.21.0",
"typescript": "^5",
"vitest": "^4.0.18"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
}
}