This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
143 lines (143 loc) · 4.43 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "eth-headless",
"version": "0.1.0",
"description": "A base for building web3 components",
"repository": "https://github.com/scaffold-eth/eth-headless.git",
"main": "index.js",
"module": "./esm/index.js",
"browser": {
"./index.js": "./index.js",
"./index.mjs": "./esm/index.js"
},
"types": "index.d.ts",
"engines": {
"node": ">=12",
"npm": ">=6"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"contributors": [
{
"name": "Austin Griffith",
"url": "https://github.com/austintgriffith"
},
{
"name": "Shravan Sunder",
"url": "https://github.com/ShravanSunder"
}
],
"scripts": {
"watch": "tsc -w --noEmit",
"clean": "shx rm -rf ./lib",
"build": "yarn clean && tsup && ts-patch i -s && tsc -p tsconfig.build.json",
"package": "shx cp -R package.json ./lib && shx cp -R README.md ./lib",
"publish:pre": "yarn clean && yarn build && yarn package",
"publish:yalc": "yarn build && yarn package && cd lib && yalc publish --no-script --push",
"publish:next": "yarn build && yarn package && cd lib && npm publish --tag next",
"publish:latest": "yarn build && yarn package && cd lib && npm publish --tag latest",
"lint": "eslint --config ./.eslintrc --ignore-path ./.eslintignore ./src/**/*.(ts|tsx) ./test/**/*.(ts|tsx)",
"lint:report": "eslint --config ./.eslintrc --ignore-path ./.eslintignore --output-file eslint_report.json --format json ./src/**/*.(ts|tsx)",
"format": "yarn prettier -w ./src ./test",
"format:check": "yarn prettier -c ./src ./test",
"test": "TS_NODE_PROJECT=tsconfig.testing.json TS_NODE_TRANSPILE_ONLY=1 mocha ./test/**/*.test.(ts|tsx)",
"prepare": "cd .. && yarn husky install",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"dependencies": {
"eth-hooks": "^4.0.48",
"ethers": "^5.6.4",
"lodash.isequal": "^4.5.0",
"merge-anything": "^5.0.2",
"react-query": "^3.38.*",
"ts-invariant": "^0.9.4",
"use-debounce": "^8.0.0",
"usehooks-ts": "^2.5.2"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"devDependencies": {
"@testing-library/dom": "^8.13.0",
"@testing-library/react": "^13.1.1",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.1.1",
"@types/chai": "^4.3.1",
"@types/lodash.isequal": "^4.5.6",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.33",
"@types/pretty-time": "^1.1.2",
"@types/qrcode.react": "^1.0.2",
"@types/react": "^18.0.8",
"@types/react-blockies": "^1.4.1",
"@types/react-dom": "^18.0.3",
"@types/sinon-chai": "^3.2.8",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"chai": "^4.3.6",
"cross-env": "^7.0.3",
"earljs": "^0.2.3",
"esbuild": "^0.14.39",
"esbuild-node-externals": "^1.4.1",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-mocha": "^10.0.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-testing-library": "^5.3.1",
"eslint-plugin-unused-imports": "^2.0.0",
"global-jsdom": "^8.4.0",
"husky": "^7.0.4",
"jsdom": "^19.0.0",
"lint-staged": "^12.4.1",
"mocha": "^10.0.0",
"mocha-github-actions-reporter": "^0.2.4",
"mocha-junit-reporter": "^2.0.2",
"pinst": "^3.0.0",
"prettier": "^2.6.2",
"prettier-eslint": "^14.0.2",
"prettier-plugin-tailwindcss": "^0.1.10",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"shx": "^0.3.4",
"sinon": "^13.0.2",
"sinon-chai": "^3.7.0",
"ts-node": "^10.8.0",
"ts-patch": "^2.0.1",
"ts-sinon": "^2.0.2",
"tsconfig-paths": "^3.14.1",
"tsup": "^6.0.1",
"typechain": "^7.0.0",
"typescript": "^4.7.2",
"typescript-transform-paths": "^3.3.1"
},
"keywords": [
"blockchain",
"ethereum",
"react",
"create-eth-app",
"typescript"
],
"license": "MIT",
"packageManager": "[email protected]",
"volta": {
"node": "16.13.1"
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx}": [
"yarn lint --fix",
"yarn format"
],
"src/**/*.{json}": [
"yarn format"
]
}
}