File size: 2,331 Bytes
311cc15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
  "$schema": "https://json.schemastore.org/package.json",
  "name": "@discordjs/util",
  "version": "1.0.2",
  "description": "Utilities shared across Discord.js packages",
  "exports": {
    ".": {
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      }
    }
  },
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "directories": {
    "lib": "src"
  },
  "files": [
    "dist"
  ],
  "contributors": [
    "Crawl <icrawltogo@gmail.com>",
    "Amish Shah <amishshah.2k@gmail.com>",
    "Vlad Frangu <kingdgrizzle@gmail.com>",
    "SpaceEEC <spaceeec@yahoo.com>",
    "Aura Román <kyradiscord@gmail.com>"
  ],
  "license": "Apache-2.0",
  "keywords": [
    "api",
    "bot",
    "client",
    "node",
    "discordjs"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/discordjs/discord.js.git",
    "directory": "packages/util"
  },
  "bugs": {
    "url": "https://github.com/discordjs/discord.js/issues"
  },
  "homepage": "https://discord.js.org",
  "devDependencies": {
    "@favware/cliff-jumper": "^2.2.1",
    "@types/node": "16.18.60",
    "@vitest/coverage-v8": "^0.34.6",
    "cross-env": "^7.0.3",
    "eslint": "^8.53.0",
    "eslint-config-neon": "^0.1.57",
    "eslint-formatter-pretty": "^5.0.0",
    "prettier": "^3.0.3",
    "tsd": "^0.29.0",
    "tsup": "^7.2.0",
    "turbo": "^1.10.17-canary.0",
    "typescript": "^5.2.2",
    "vitest": "^0.34.6",
    "@discordjs/api-extractor": "^7.38.1"
  },
  "engines": {
    "node": ">=16.11.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "tsd": {
    "directory": "__tests__/types"
  },
  "scripts": {
    "build": "tsc --noEmit && tsup",
    "build:docs": "tsc -p tsconfig.docs.json",
    "test": "vitest run && tsd",
    "lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
    "format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src",
    "fmt": "pnpm run format",
    "docs": "pnpm run build:docs && api-extractor run --local",
    "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/util/*'",
    "release": "cliff-jumper"
  }
}