malaysia-postcodes
Version:
List of Malaysia Postcodes with City and State (JSON)
87 lines (86 loc) • 2.58 kB
JSON
{
"name": "malaysia-postcodes",
"version": "2.7.3",
"description": "List of Malaysia Postcodes with City and State (JSON)",
"engines": {
"node": ">=18.0.0"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --ci",
"test:coverage": "jest --coverage",
"lint": "eslint .",
"format": "prettier --write --cache \"**/*.[tj]s?(x)\"",
"format-check": "prettier --check --cache \"**/*.[tj]s?(x)\"",
"check-types": "tsc --pretty --noEmit",
"version": "npm run build && npm run test && node scripts/update-cdn-versions.js",
"prepare": "husky",
"lint:fix": "eslint . --fix",
"clean": "rm -rf dist/ coverage/",
"update-cdn-versions": "node scripts/update-cdn-versions.js",
"version:patch": "npm version patch && npm run update-cdn-versions",
"version:minor": "npm version minor && npm run update-cdn-versions",
"version:major": "npm version major && npm run update-cdn-versions"
},
"repository": {
"type": "git",
"url": "https://github.com/AsyrafHussin/npm-malaysia-postcodes.git"
},
"keywords": [
"malaysia",
"postcodes",
"postal codes",
"postcode"
],
"type": "module",
"author": "Asyraf Hussin <asyrafhussin@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/AsyrafHussin/npm-malaysia-postcodes/issues"
},
"homepage": "https://github.com/AsyrafHussin/npm-malaysia-postcodes#readme",
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"@babel/preset-typescript": "^7.25.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.28.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.30",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"babel-jest": "^29.7.0",
"esbuild": "^0.25.5",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.4.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"npm-check": "^6.0.1",
"prettier": "^3.5.3",
"ts-jest": "^29.3.4",
"tsup": "^8.5.0",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"typescript-eslint": "^8.33.1"
}
}