-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.74 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
{
"name": "@forta/usemetamask",
"version": "0.2.0",
"license": "MIT",
"author": {
"name": "Denny Portillo"
},
"description": "Utility React hook to handle Metamask's browser API",
"keywords": [
"forta",
"usemetamask",
"react",
"metamask",
"wallet",
"crypto",
"web3"
],
"bugs": {
"url": "https://github.com/D3Portillo/usemetamask/issues"
},
"homepage": "https://forta.vercel.app/usemetamask",
"repository": "D3Portillo/usemetamask",
"files": [
"dist"
],
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"roll": "npm run build && npm publish --access=public",
"pack:untar": "tar -xf forta*.tgz",
"build": "npm run clean && vite build && cp lib/*.d.ts -t dist/",
"clean": "rm -rf forta*.tgz LICENSE dist package ||:",
"build:pack": "npm run build && npm pack && npm run pack:untar && npm ln package",
"start:pack": "npm run build:pack && vite --mode PACK playground",
"start:docs": "npm run build:pack && cd docs && next",
"start": "npm run build:pack && vite playground",
"test": "jest __tests__"
},
"devDependencies": {
"@testing-library/react": "^12.1.5",
"@types/jest": "^28.1.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^1.3.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"next": "^12.1.0",
"nextra": "^2.0.0-alpha.50",
"nextra-theme-docs": "^2.0.0-alpha.53",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"ts-jest": "^28.0.5",
"typescript": "^4.6.3",
"vite": "^2.9.9"
}
}