-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.71 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
{
"name": "krist",
"version": "3.1.0",
"description": "Krist API library for Node.js and the browser",
"keywords": [
"krist"
],
"repository": "https://github.com/tmpim/Krist.js",
"homepage": "https://github.com/tmpim/Krist.js#readme",
"author": "Lemmmy",
"license": "GPL-3.0",
"private": false,
"type": "module",
"main": "lib/cjs/src/node.js",
"exports": {
".": {
"import": "./lib/esm/src/node.js",
"default": "./lib/esm/src/node.js",
"require": "./lib/cjs/src/node.js",
"browser": "./lib/browser.js",
"umd": "./lib/browser.js"
}
},
"types": "lib/esm/src/node.d.ts",
"files": [
"lib/**/*.{ts,js}",
"README.md",
"LICENSE"
],
"browser": {
"ws": false
},
"engines": {
"node": ">=20"
},
"scripts": {
"clean": "rimraf lib",
"build": "yarn run clean && yarn run build:node-esm && yarn run build:node-cjs && yarn run build:browser",
"build:node-esm": "tsc -p tsconfig.json",
"build:node-cjs": "tsc -p tsconfig.cjs.json",
"build:browser": "rollup --config rollup.config.js",
"test": "cross-env TSX_TSCONFIG_PATH='./tsconfig.test.json' NODE_ENV=test mocha",
"test:coverage": "nyc yarn run test",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"docs": "typedoc",
"watch:docs": "typedoc --watch"
},
"dependencies": {
"@aws-crypto/sha256-js": "^5.2.0",
"axios": "^1.6.7",
"buffer": "^6.0.3",
"rate-limiter-flexible": "^4.0.1",
"tiny-typed-emitter": "^2.1.0",
"ws": "^8.16.0",
"wspromisify": "^2.4.4"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.17",
"@types/sha.js": "^2.4.4",
"@types/sinon": "^17.0.3",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "^5.0.3",
"chai-as-promised": "^7.1.1",
"chai-http": "^4.4.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-plugin-tsdoc": "^0.2.17",
"mocha": "^10.3.0",
"mochawesome": "^7.1.3",
"nyc": "^15.1.0",
"rimraf": "^5.0.5",
"rollup": "^4.10.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-visualizer": "^5.12.0",
"sinon": "^17.0.1",
"ts-loader": "^9.5.1",
"tslib": "^2.6.2",
"tsx": "^4.7.1",
"typedoc": "^0.25.8",
"typescript": "^5.3.3",
"utility-types": "^3.11.0"
}
}