-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 3.83 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
{
"name": "faucet-webapp",
"description": "Faucet for arcblock blockchain network",
"private": true,
"keywords": [
"blockchain",
"faucet"
],
"publishConfig": {
"directory": ".blocklet/bundle/"
},
"author": "wangshijun <[email protected]> https://github.com/wangshijun",
"repository": {
"type": "git",
"url": "https://github.com/blocklet/faucet-webapp"
},
"bugs": {
"url": "https://github.com/blocklet/faucet-webapp/issues",
"email": "[email protected]"
},
"version": "0.4.0",
"dependencies": {
"@arcblock/did": "^1.18.84",
"@arcblock/did-auth": "^1.18.84",
"@arcblock/did-auth-storage-nedb": "^1.7.1",
"@arcblock/did-connect": "^2.5.53",
"@arcblock/jwt": "^1.18.84",
"@arcblock/ux": "^2.5.53",
"@arcblock/vc": "^1.18.84",
"@blocklet/meta": "^1.16.12",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "^4.0.0-alpha.61",
"@nedb/core": "^2.1.5",
"@ocap/client": "^1.18.84",
"@ocap/contract": "^1.18.84",
"@ocap/mcrypto": "^1.18.84",
"@ocap/util": "^1.18.84",
"@ocap/wallet": "^1.18.84",
"axios": "^0.21.4",
"body-parser": "^1.20.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dayjs": "^1.11.6",
"dotenv-flow": "^3.2.0",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"express-cache-headers": "^0.1.4",
"express-history-api-fallback": "^2.2.1",
"flat": "^5.0.2",
"fs-extra": "^10.1.0",
"http-proxy-middleware": "^0.19.2",
"lodash": "^4.17.21",
"material-table": "^1.69.3",
"morgan": "^1.10.0",
"nocache": "^2.1.0",
"notistack": "^1.0.10",
"number-precision": "^1.6.0",
"prop-types": "^15.8.1",
"qrcode.react": "^1.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-router-dom": "^5.3.4",
"react-scripts": "4.0.3",
"react-use": "^17.4.0",
"serve-favicon": "^2.5.0",
"styled-components": "5.2.2",
"url-join": "^4.0.1"
},
"scripts": {
"lint": "eslint api",
"clean": "rm -rf .blocklet",
"start": "npm-run-all --parallel start:*",
"start:client": "PUBLIC_URL=\"\" react-scripts start",
"start:server": "NODE_ENV=development nodemon api/index.js -w api",
"build:client": "react-scripts build && rm -f build/static/**/*.map",
"bundle": "npm run clean && npm run bundle:client && npm run bundle:server",
"bundle:client": "PUBLIC_URL=\"/.blocklet/proxy/z8iZzjfRix3FewZbMxNwcRp1TdUBa32VoLtps\" REACT_APP_API_PREFIX=\"\" REACT_APP_APP_NAME=\"ABTNetwork Faucet\" npm run build:client",
"bundle:server": "NODE_ENV=production blocklet bundle --zip --create-release",
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle"
},
"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"
]
},
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{css,less,scss,json,graphql}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "lint-staged"
}
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "6.8.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "latest",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "latest",
"eslint-plugin-react": "^7.31.10",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1"
},
"resolutions": {
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2"
},
"license": "Apache-2.0"
}