/
package.json
184 lines (184 loc) · 5.81 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "ocap-playground",
"title": "OCAP Playground",
"description": "A simple playground that shows the potential of OCAP powered blockchain and DID Wallet V2",
"private": true,
"files": [
"build",
"screenshots",
"logo.png",
"blocklet.md",
"blocklet.js",
"blocklet.yml",
"README.md"
],
"version": "0.36.77",
"author": "wangshijun <shijun@arcblock.io> https://github.com/wangshijun",
"keywords": [
"dapp",
"playground",
"wallet"
],
"repository": {
"type": "git",
"url": "https://github.com/blocklet/ocap-playground"
},
"bugs": {
"url": "https://github.com/blocklet/ocap-playground/issues",
"email": "shijun@arcblock.io"
},
"dependencies": {
"@abtnode/auth": "^1.16.26",
"@arcblock/did": "^1.18.115",
"@arcblock/did-auth": "^1.18.115",
"@arcblock/did-auth-storage-nedb": "^1.7.1",
"@arcblock/did-connect": "2.9.74",
"@arcblock/did-playground": "2.9.74",
"@arcblock/did-util": "^1.18.115",
"@arcblock/jwt": "^1.18.115",
"@arcblock/nft": "^1.18.115",
"@arcblock/nft-template": "^1.18.115",
"@arcblock/react-hooks": "2.9.74",
"@arcblock/ux": "^2.9.74",
"@arcblock/vc": "^1.18.115",
"@blocklet/constant": "^1.16.26",
"@blocklet/sdk": "1.16.26",
"@blocklet/ui-react": "2.9.74",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@ocap/asset": "^1.18.115",
"@ocap/client": "^1.18.115",
"@ocap/mcrypto": "^1.18.115",
"@ocap/message": "^1.18.115",
"@ocap/proto": "^1.18.115",
"@ocap/tx-util": "^1.18.115",
"@ocap/util": "^1.18.115",
"@ocap/wallet": "^1.18.115",
"ahooks": "^3.7.8",
"axios": "^0.21.4",
"batch-promises": "^0.0.3",
"chalk": "^2.4.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"core-js": "2.5.7",
"cors": "^2.8.5",
"customize-cra": "^1.0.0",
"debug": "^4.3.4",
"dotenv": "^8.6.0",
"dsbridge": "^3.1.4",
"express": "^4.18.1",
"express-async-errors": "^3.1.1",
"express-cache-headers": "^0.1.4",
"express-routemap": "^1.6.0",
"file-stream-rotator": "^0.5.7",
"http-proxy-middleware": "^0.19.2",
"ip": "^1.1.8",
"ismobilejs": "^1.1.1",
"json-stable-stringify": "^1.0.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"lorem-ipsum": "^2.0.8",
"morgan": "^1.10.0",
"mustache": "^4.2.0",
"nedb": "^1.8.0",
"nocache": "^2.1.0",
"nodemailer": "^6.7.8",
"notistack": "^2.0.5",
"pako": "^1.0.11",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.1",
"react-use": "^15.3.8",
"set-npm-auth-token-for-ci": "^2.0.13",
"store": "^2.0.12",
"url-join": "^4.0.1",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4",
"workbox-webpack-plugin": "^6.5.4"
},
"scripts": {
"dev": "blocklet dev --open",
"lint": "eslint src api",
"lint:fix": "eslint src api --fix",
"precommit": "npm run lint",
"prepush": "npm run lint",
"clean": "rm -rf build api/dist .blocklet",
"start": "npm-run-all --parallel start:*",
"start:client": "PUBLIC_URL=\"\" react-app-rewired start",
"start:server": "NODE_ENV=development DEBUG=@arcblock/* nodemon api/index.js -w api",
"build": "npm run clean && npm-run-all build:*",
"build:client": "react-app-rewired build && rm -f build/static/**/*.map",
"bundle": "npm run clean && npm run bundle:client && npm run bundle:server",
"bundle:client": "PUBLIC_URL=\"/.blocklet/proxy/z8iZjySpAu4jzbMochL9k1okuji1GcS7RRRDM\" REACT_APP_API_PREFIX=\"\" REACT_APP_APP_NAME=\"OCAP Playground\" npm run build:client",
"bundle:server": "blocklet bundle --zip --create-release",
"prepublishOnly": "npm run bundle",
"release": "npm run clean && npm run bundle",
"deploy": "npm run release && blocklet deploy .blocklet/bundle",
"test": "react-app-rewired test",
"echo": "export MESSAGE=$1 && echo $MESSAGE",
"eject": "react-app-rewired eject",
"update:deps": "ncu -u -f /arcblock\\|ocap\\|abtnode\\|blocklet/ && yarn && npx --yes yarn-deduplicate yarn.lock && yarn"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@arcblock/eslint-config": "0.3.0",
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"eslint": "^8.22.0",
"jest": "^26.6.3",
"nodemon": "^1.19.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1"
},
"resolutions": {
"react-error-overlay": "6.0.9",
"@arcblock/did": "1.18.115",
"@arcblock/did-auth": "1.18.115",
"@arcblock/did-util": "1.18.115",
"@arcblock/jwt": "1.18.115",
"@arcblock/nft": "1.18.115",
"@arcblock/nft-template": "1.18.115",
"@arcblock/vc": "1.18.115",
"@ocap/asset": "1.18.115",
"@ocap/client": "1.18.115",
"@ocap/mcrypto": "1.18.115",
"@ocap/message": "1.18.115",
"@ocap/proto": "1.18.115",
"@ocap/tx-util": "1.18.115",
"@ocap/util": "1.18.115",
"@ocap/wallet": "1.18.115"
},
"license": "Apache-2.0"
}