-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
97 lines (97 loc) · 3.53 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
{
"name": "dfx",
"version": "0.97.4",
"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.55.0",
"effect": "^3.2.1"
},
"optionalDependencies": {
"discord-verify": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/plugin-syntax-import-attributes": "^7.24.1",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.3",
"@effect/babel-plugin": "^0.2.0",
"@effect/build-utils": "^0.7.6",
"@effect/experimental": "^0.16.16",
"@effect/language-service": "^0.1.0",
"@effect/platform": "^0.55.0",
"@effect/platform-node": "^0.51.0",
"@tim-smart/discord-api-docs-parser": "^0.5.14",
"@types/chai": "^4.3.16",
"@types/node": "^20.12.12",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-v8": "^1.6.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"effect": "^3.2.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-codegen": "0.28.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"lerna": "^8.1.3",
"madge": "^7.0.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.7",
"ts-node": "^10.9.2",
"tsx": "^4.11.0",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "1.6.0"
},
"sideEffects": false,
"gitHead": "e4a2cd1ed8a3b8e631e6b661703400b9c3546a3c"
}