-
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.106.0",
"packageManager": "pnpm@9.10.0",
"publishConfig": {
"access": "public",
"directory": "dist"
},
"description": "Effect-TS discord library",
"author": "Tim Smart <hello@timsmart.co>",
"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.69",
"effect": "^3.10"
},
"optionalDependencies": {
"discord-verify": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/plugin-syntax-import-attributes": "^7.25.7",
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@effect/babel-plugin": "^0.2.0",
"@effect/build-utils": "^0.7.8",
"@effect/experimental": "^0.30.0",
"@effect/language-service": "^0.2.0",
"@effect/platform": "^0.69.0",
"@effect/platform-node": "^0.64.0",
"@eslint/compat": "^1.2.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@tim-smart/discord-api-docs-parser": "^0.5.21",
"@types/chai": "^5.0.0",
"@types/node": "^22.7.7",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.3",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^9.0.1",
"dotenv": "^16.4.5",
"effect": "^3.10.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"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.8",
"madge": "^8.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vitest": "2.1.3"
},
"gitHead": "781225ad6e1931ec1484fb889065f4580d8ae2f1"
}