country-codes-kit
Version:
simple package to retrieve country calling codes, iso codes and currency symbols
62 lines (61 loc) • 1.65 kB
JSON
{
"name": "country-codes-kit",
"version": "0.0.4",
"type": "commonjs",
"homepage": "",
"main": "./cjs/index.js",
"module": "./esm/index.mjs",
"typings": "./types/index.d.ts",
"exports": {
".": {
"import": "./esm/index.mjs",
"require": "./cjs/index.js",
"types": "./types/index.d.ts"
},
"./codes": {
"import": "./esm/codes/index.mjs",
"require": "./cjs/codes/index.js",
"types": "./types/codes/index.d.ts"
},
"./generators": {
"import": "./esm/generators/index.mjs",
"require": "./cjs/generators/index.js",
"types": "./types/generators/index.d.ts"
}
},
"scripts": {
"build": "npm run build:clean && npm run build:cjs && npm run build:esm && node rename-esm.js && npm run build:types",
"build:clean": "rimraf build",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:types": "tsc --project tsconfig.types.json",
"copy-files": "cp package.json ./build/ && cp README.md ./build/",
"release": "npm run build && npm run copy-files && npm publish ./build"
},
"files": [
"cjs",
"esm",
"types",
"README.md"
],
"keywords": [
"codes",
"phone-codes",
"currency",
"currency-symbols",
"iso code",
"iso",
"iso2",
"iso3"
],
"author": "AlvXodus",
"license": "MIT",
"repository": {
"url": "https://github.com/AlvXodus/country-codes"
},
"description": "simple package to retrieve country calling codes, iso codes and currency symbols",
"devDependencies": {
"@types/node": "^22.13.14",
"rimraf": "^6.0.1"
}
}