UNPKG

ph-municipalities

Version:

Lists and writes Philippine municipalities by province or region into JSON files using PAGASA 10-Day weather forecast Excel files as a data source

75 lines (74 loc) 2.42 kB
{ "name": "ph-municipalities", "version": "1.4.4", "description": "Lists and writes Philippine municipalities by province or region into JSON files using PAGASA 10-Day weather forecast Excel files as a data source", "main": "index.js", "engines": { "node": ">=16" }, "scripts": { "start": "npm run list:region", "list:province": "node src/scripts/by_province.js", "list:region": "node src/scripts/by_region.js", "example": "node src/scripts/sample_usage.js", "build:win:region": "pkg ./src/scripts/by_region.js -c package.json --compress GZip -o ./dist/ph-regions-win", "build:win:province": "pkg ./src/scripts/by_province.js -c package.json --compress GZip -o ./dist/ph-provinces-win", "build:win:all": "npm run build:win:region && npm run build:win:province", "minify:region": "ncc build src/scripts/by_region.js -m -o dist/region", "minify:province": "ncc build src/scripts/by_province.js -m -o dist/province", "minify:all": "npm run minify:region && npm run minify:province", "docs:install": "./scripts/docs-install.sh", "docs:build": "./scripts/docs-build.sh", "generate-docs": "jsdoc --configure .jsdoc.json --verbose", "lint": "eslint src __tests__ .", "lint:fix": "eslint src __tests__ . --fix", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/ciatph/ph-municipalities.git" }, "keywords": [ "philippines", "philippines json", "philippines regions", "philippines provinces", "philippines municipalities", "pagasa", "pagasa 10-day forecast", "pagasa-parser", "xlsx", "sheetjs" ], "author": "ciatph", "license": "Apache-2.0", "bugs": { "url": "https://github.com/ciatph/ph-municipalities/issues" }, "homepage": "https://github.com/ciatph/ph-municipalities#readme", "devDependencies": { "@vercel/ncc": "^0.38.3", "eslint": "^8.21.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", "jest": "^29.7.0", "pkg": "^5.8.0" }, "dependencies": { "dotenv": "^16.4.7", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz", "zod": "^3.24.1" }, "pkg": { "assets": [ "data/*", ".env*" ], "targets": [ "node16-win-x64" ], "outputPath": "./dist" } }