package.json
{
"name": "@postalcode/postalcode",
"version": "1.1.2",
"description": "Search Postal Code",
"source": "./src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.module.mjs",
"unpkg": "./dist/index.min.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only ./src/index.ts",
"prebuild": "rm -rf dist",
"build": "npm run build:web && npm run build:node",
"build:web": "microbundle -f umd --external none",
"build:node": "microbundle -f es,cjs",
"test": "mocha --config .mocharc.json",
"coverage": "nyc --reporter=lcov npm test",
"test:file": "mocha --config .mocharc.json --watch "
},
"repository": {
"type": "git",
"url": "https://github.com/postalcode-ws/postalcode.git"
},
"author": "Welton Castro",
"license": "MIT",
"bugs": {
"url": "https://github.com/postalcode-ws/postalcode/issues"
},
"keywords": [
"postcode",
"zipcode",
"zip",
"promise",
"postalcode",
"CEP",
"PIN",
"CAP",
"NPA",
"PLZ",
"PSC"
],
"homepage": "https://postalcode.ws",
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/chai-subset": "^1.3.3",
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.32",
"chai": "^4.3.3",
"chai-subset": "^1.6.0",
"microbundle": "^0.13.0",
"mocha": "^8.3.1",
"nyc": "^15.1.0",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.3"
},
"files": [
"dist"
]
}