ts / package.json
138 words
 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
{
  "name": "ird-ts",
  "version": "0.2.0",
  "description": "TypeScript client for the ird public API: .ro domains, DNS, VPS, tunnels, IPFS, P2P apps, async jobs",
  "license": "MIT",
  "repository": { "type": "git", "url": "https://ird.cod-sursa.ro/ts.git" },
  "homepage": "https://ird.cod-sursa.ro/ts/",
  "type": "module",
  "engines": { "node": ">=18" },
  "sideEffects": false,
  "files": ["dist", "src", "spec", "README.md", "LICENSE"],
  "exports": {
    ".": {
      "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" },
      "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" }
    },
    "./package.json": "./package.json"
  },
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/cjs/index.d.ts",
  "scripts": {
    "build": "rm -rf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && node scripts/build-stubs.mjs",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test": "node --import tsx --test test/*.test.ts",
    "test:live": "node --import tsx --test test/live/*.test.ts",
    "gen:types": "sh scripts/gen-types.sh",
    "check:dist": "npm run build && git diff --quiet --exit-code -- dist"
  },
  "devDependencies": {
    "@types/node": "^20.17.0",
    "openapi-typescript": "^7.4.0",
    "tsx": "^4.19.0",
    "typescript": "^5.6.0"
  }
}

static mirror of HEAD · about · clone: git clone https://ird.cod-sursa.ro/ts.git