forked from alchemyplatform/alchemy-web3
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
74 lines (74 loc) · 1.82 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
{
"name": "@alch/alchemy-web3",
"version": "0.1.0",
"description": "Web3 client extended with Alchemy and browser provider integration.",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/"
],
"sideEffects": false,
"keywords": [
"Alchemy",
"Ethereum",
"JavaScript",
"API",
"Web3",
"Metamask"
],
"license": "MIT",
"scripts": {
"build": "yarn run clean && tsc -p tsconfig.build-esm.json && tsc -p tsconfig.build-cjs.json",
"clean": "rm -rf dist/*",
"format-file": "prettier --write",
"format": "git ls-files | egrep '\\.(js(on)?|md|scss|tsx?)?$' | xargs yarn run format-file",
"jest": "jest",
"lint-file": "tslint",
"lint": "tslint --project .",
"prepublishOnly": "yarn run test && yarn run build",
"test": "yarn run lint && tsc && yarn run jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json}": [
"yarn run format-file",
"git add"
],
"**/*.ts": [
"yarn run lint-file --fix",
"yarn run format-file",
"git add"
],
"package.json": [
"./injectVersion.js",
"git add src/version.ts"
]
},
"devDependencies": {
"@types/jest": "^24.0.12",
"@types/websocket": "^0.0.40",
"husky": "^2.2.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.6",
"prettier": "^1.17.0",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.4.5"
},
"dependencies": {
"@types/web3": "^1.0.18",
"assert-never": "^1.2.0",
"eventemitter3": "^3.1.2",
"fetch-ponyfill": "^6.0.2",
"sturdy-websocket": "^0.1.11",
"web3": "^1.0.0-beta.55",
"web3-providers": "^1.0.0-beta.55",
"websocket": "^1.0.28"
}
}