-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.34 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.34 KB
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
{
"name": "@theqrl/web3-providers-ws",
"version": "0.5.0",
"publishConfig": {
"access": "public"
},
"description": "Websocket provider for Web3",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/commonjs/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-providers-ws"
},
"author": "The QRL Contributors",
"license": "LGPL-3.0",
"engines": {
"node": ">=20"
},
"files": [
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
"prebuild": "pnpm run clean",
"build": "pnpm run build:cjs && pnpm run build:esm && pnpm run build:types",
"build:cjs": "tsc --build tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/commonjs/package.json",
"build:esm": "tsc --build tsconfig.esm.json && echo '{\"type\": \"module\"}' > ./lib/esm/package.json",
"build:types": "tsc --build tsconfig.types.json",
"build:check": "node -e \"require('./lib')\"",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write '**/*'",
"test": "jest --config=./test/unit/jest.config.js",
"test:coverage:unit": "jest --config=./test/unit/jest.config.js --coverage=true",
"test:coverage:integration": "jest --config=./test/integration/jest.config.js --coverage=true",
"test:ci": "jest --coverage=true --coverage-reporters=json --verbose",
"test:watch": "pnpm run test -- --watch",
"test:unit": "jest --config=./test/unit/jest.config.js",
"test:integration": "jest --config=./test/integration/jest.config.js"
},
"devDependencies": {
"@theqrl/eslint-config-base-web3": "workspace:^",
"@types/express": "5.0.6",
"@types/jest": "29.5.0",
"@types/morgan": "1.9.3",
"@typescript-eslint/eslint-plugin": "8.59.0",
"@typescript-eslint/parser": "8.59.0",
"eslint": "10.2.1",
"eslint-config-prettier": "10.1.8",
"express": "5.2.1",
"http-proxy-middleware": "2.0.9",
"jest": "29.7.0",
"jest-extended": "7.0.0",
"prettier": "3.8.3",
"ts-jest": "29.1.0",
"typescript": "5.9.3"
},
"dependencies": {
"@theqrl/web3-errors": "workspace:^",
"@theqrl/web3-types": "workspace:^",
"@theqrl/web3-utils": "workspace:^",
"@types/ws": "8.18.1",
"isomorphic-ws": "5.0.0",
"ws": "8.20.1"
}
}