-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 3.59 KB
/
package.json
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
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "dfx",
"version": "0.107.5",
"packageManager": "[email protected]",
"publishConfig": {
"access": "public",
"directory": "dist"
},
"description": "Effect-TS discord library",
"author": "Tim Smart <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/tim-smart/dfx.git"
},
"license": "MIT",
"scripts": {
"example": "ts-node --project tsconfig.examples.json",
"prepublishOnly": "pnpm build",
"types": "discord-api-codegen ./discord-api-docs -l typescript -o 'imports=RestResponse|dfx/DiscordREST/types' 'endpointReturnType=RestResponse' > src/types.ts && eslint --fix src/types.ts",
"clean": "rimraf build tsbuildinfo dist .cache",
"prebuild": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build": "pnpm prebuild && pnpm build-all && pnpm build-pack",
"build-cjs": "babel build/esm --config-file ./.babel.cjs.json --out-dir build/cjs --out-file-extension .js --source-maps",
"build-mjs": "babel build/esm --config-file ./.babel.mjs.json --out-dir build/mjs --out-file-extension .mjs --source-maps",
"build-post": "build-utils pack-v1",
"build-pack": "concurrently \"pnpm build-cjs\" \"pnpm build-mjs\" && pnpm build-post",
"build-all": "tsc -b tsconfig.json",
"build-watch": "tsc -b tsconfig.json --watch",
"lint": "eslint src/**/* test/**/* examples/**/*",
"autofix": "pnpm lint --fix",
"tc": "tsc --noEmit",
"circular": "madge --ts-config ./tsconfig.madge.json --circular --no-color --no-spinner --warning build/esm",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"exports": {
".": {
"require": "./build/cjs/index.js"
},
"./*": {
"require": "./build/cjs/*.js"
}
},
"peerDependencies": {
"@effect/platform": "^0.70",
"effect": "^3.11"
},
"optionalDependencies": {
"discord-verify": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-syntax-import-attributes": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@effect/babel-plugin": "^0.2.0",
"@effect/build-utils": "^0.7.8",
"@effect/experimental": "^0.33.4",
"@effect/language-service": "^0.2.0",
"@effect/platform": "^0.70.4",
"@effect/platform-node": "^0.65.4",
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@tim-smart/discord-api-docs-parser": "^0.6.0",
"@types/chai": "^5.0.1",
"@types/node": "^22.10.1",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^9.1.0",
"dotenv": "^16.4.7",
"effect": "^3.11.3",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-codegen": "0.29.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"lerna": "^8.1.9",
"madge": "^8.0.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vitest": "2.1.8"
},
"gitHead": "781225ad6e1931ec1484fb889065f4580d8ae2f1"
}