forked from DFXswiss/services
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.22 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 4.22 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
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
{
"name": "@dfx.swiss/services-react",
"version": "1.0.3",
"license": "MIT",
"private": false,
"main": "dist/public-api.js",
"types": "dist/public-api.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@dfx.swiss/react": "^1.3.0-beta.73",
"@dfx.swiss/react-components": "^1.3.0-beta.73",
"@ledgerhq/hw-app-btc": "^6.24.1",
"@ledgerhq/hw-app-eth": "^6.33.7",
"@ledgerhq/hw-transport-webhid": "^6.27.19",
"@r2wc/react-to-web-component": "^2.0.2",
"@sumsub/websdk-react": "^2.3.4",
"@trezor/connect-web": "^9.1.1",
"@wagmi/connectors": "^5.0.7",
"@wagmi/core": "^2.10.5",
"@walletconnect/ethereum-provider": "^2.11.0",
"bech32": "^2.0.0",
"bitbox-api": "^0.2.1",
"browser-lang": "^0.2.1",
"buffer": "^6.0.3",
"copy-to-clipboard": "^3.3.3",
"env-cmd": "^10.1.0",
"https-browserify": "^1.0.0",
"i18next": "^22.4.13",
"i18next-browser-languagedetector": "^7.1.0",
"ledger-bitcoin": "^0.2.3",
"process": "^0.11.10",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.40.0",
"react-i18next": "^12.2.0",
"react-qr-code": "^2.0.11",
"react-router-dom": "^6.10.0",
"react-scripts": "5.0.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"typescript": "^5.4.5",
"url": "^0.11.1",
"viem": "^2.13.3",
"web-vitals": "^2.1.4",
"web3": "^1.8.1",
"webln": "^0.3.2"
},
"scripts": {
"start": "env-cmd -f .env.loc react-app-rewired start",
"build": "env-cmd -f .env.prd react-app-rewired build",
"build:dev": "env-cmd -f .env.dev react-app-rewired build",
"build:lib": "tsc",
"link": "npm run build:lib && npm link",
"widget": "cp src/index.tsx src/index.bak.tsx && cp src/index-widget.tsx src/index.tsx && env-cmd -f .env.prd env-cmd -f .env.widget react-app-rewired build && mv src/index.bak.tsx src/index.tsx",
"widget:dev": "cp src/index.tsx src/index.bak.tsx && cp src/index-widget.tsx src/index.tsx && env-cmd -f .env.dev env-cmd -f .env.widget react-app-rewired build && mv src/index.bak.tsx src/index.tsx",
"widget:loc": "cp src/index.tsx src/index.bak.tsx && cp src/index-widget.tsx src/index.tsx && env-cmd -f .env.loc env-cmd -f .env.widget react-app-rewired build && mv src/index.bak.tsx src/index.tsx",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --no-fix",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "react-app-rewired test --watchAll=false --passWithNoTests",
"eject": "react-scripts eject",
"serve": "serve build -l 4000",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start-widget": "env-cmd -f .env.loc node start-widget.js"
},
"overrides": {
"react-scripts": {
"typescript": "^5"
},
"react-refresh": "0.14.2"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
},
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/browser-lang": "^0.1.1",
"@types/debounce": "^1.2.1",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"autoprefixer": "^10.4.13",
"babel-plugin-named-exports-order": "^0.0.2",
"postcss": "^8.4.19",
"react-app-rewired": "^2.2.1",
"serve": "^14.2.1",
"source-map-explorer": "^2.5.3",
"tailwindcss": "^3.2.4",
"wasm-loader": "^1.3.0",
"webpack": "^5.75.0"
},
"jest": {
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
]
}
}