@fruitsbytes/country-list-ts
Version:
It contains country information including 2 and 3 character ISO codes, country and capital names, currency information, telephone calling codes, and provinces ( first-tier political subdivisions).
96 lines (95 loc) • 2.84 kB
JSON
{
"name": "@fruitsbytes/country-list-ts",
"version": "1.0.1",
"description": "It contains country information including 2 and 3 character ISO codes, country and capital names, currency information, telephone calling codes, and provinces ( first-tier political subdivisions).",
"source": "src/index.ts",
"main": "dist/main.js",
"types": "dist/types.d.ts",
"module": "dist/module.js",
"type": "module",
"directories": {
"test": "test"
},
"targets": {
"main": {
"optimize": true,
"isLibrary" : true
}
},
"scripts": {
"dev": "npm run init && parcel watch",
"build": "npm run init && parcel build",
"lint": "eslint . --fix",
"test": "jest --coverage",
"make-data": "node bin/build-data",
"copy-flags": "cp -r src/data/flags/* dist/flags",
"copy-geo-json": "cp -r src/data/geo-json/* dist/geo-json",
"copy-topo-json": "cp -r src/data/topo-json/* dist/topo-json",
"clean-dist": "rm -rf dist && mkdir dist && mkdir dist/flags && mkdir dist/geo-json && mkdir dist/topo-json",
"init": "npm run make-data && npm run clean-dist && npm run copy-files",
"copy-files": "npm run copy-flags & npm run copy-geo-json & npm run copy-topo-json"
},
"bin": {
"make-data": "bin/build-data.js"
},
"repository": "git+https://github.com/Fruitsbytes/country-list-ts.git",
"keywords": [
"country",
"list",
"iso2",
"iso3",
"phone",
"capital",
"subregion",
"languages",
"region",
"currencies",
"geographic",
"flag",
"geo-jon",
"top-json",
"Typescript",
"list",
"mapped"
],
"author": "FruitsBytes <librarian@fruitsbytes.com> (https://github.com/Fruitsbytes)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Fruitsbytes/country-list-ts/issues"
},
"homepage": "https://github.com/Fruitsbytes/country-list-ts#readme",
"devDependencies": {
"@parcel/packager-ts": "^2.8.0",
"@parcel/transformer-typescript-types": "^2.8.0",
"@types/jest": "^29.2.4",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"chalk": "^5.1.2",
"cli-spinners": "^2.7.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.3.1",
"ora": "^6.1.2",
"parcel": "^2.8.0",
"prettier": "^2.8.0",
"shelljs": "^0.8.5",
"ts-jest": "^29.0.3",
"typescript": "~4.7",
"world-countries": "github:mledoze/countries"
},
"jest": {
"preset": "ts-jest"
},
"dependencies": {
"fast-memoize": "^2.5.2",
"lodash.camelcase": "^4.3.0",
"lodash.snakecase": "^4.1.1",
"lodash.startcase": "^4.4.0",
"lodash.uppercase": "^4.3.0"
},
"browserslist": ["> 0.5%, last 2 versions, not dead"],
"publishConfig": {
"access": "public"
}
}