summaryrefslogtreecommitdiffstats
path: root/package.json
blob: cc38c08ac031277007fa7a46816531bc1067cc44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "name": "cepis",
  "version": "0.2.0",
  "description": "TypeScript client for the public CEP API at cep.is — official Correios data (DNE)",
  "keywords": [
    "cep",
    "correios",
    "brasil",
    "brazil",
    "postal-code",
    "address",
    "geocoding"
  ],
  "homepage": "https://cep.is",
  "license": "ISC",
  "author": "Murilo Ijanc <[email protected]>",
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "bin": {
    "cepis": "./dist/cli.js"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "test": "bun test",
    "lint": "tsc -p tsconfig.json && prettier --check .",
    "format": "prettier --write .",
    "build": "bun build ./src/index.ts ./src/cli.ts --outdir dist --target node --format esm --sourcemap=linked && tsc -p tsconfig.build.json"
  },
  "devDependencies": {
    "@types/bun": "^1.3.14",
    "prettier": "^3.9.6",
    "typescript": "^7.0.2"
  }
}