-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
92 lines (92 loc) · 2.66 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
{
"name": "zkwasmpg",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^1.5.1",
"bn.js": "^5.2.1",
"bootstrap": "^5.3.0",
"bootstrap-icons": "^1.10.3",
"bootswatch": "^5.2.3",
"classnames": "^2.3.2",
"concurrently": "^7.0.0",
"cors": "^2.8.5",
"crypto-js": "^4.1.1",
"form-data": "^4.0.0",
"koajax": "^0.9.4",
"node-sass": "^7.0.1",
"react": "^18.2.0",
"react-bootstrap": "^2.7.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.5",
"react-scripts": "^5.0.1",
"shepherd.js": "^11.1.1",
"wait-on": "^6.0.1",
"wasm-pack": "^0.10.3",
"web3subscriber": "git+https://github.com/DelphinusLab/delphinus-web3subscriber.git",
"zkwasm-service-helper": "git+https://github.com/DelphinusLab/zkWasm-service-helper.git",
"zkc-sdk": "^0.1.6-alpha"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jest": "^29.2.4",
"@types/qrcode": "^1.5.0",
"@types/react-dom": "^18.0.10",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"file-loader": "^6.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"react-app-rewired": "^2.2.1",
"typescript": "^4.3.4",
"wasm-loader": "^1.3.0"
},
"homepage": "./",
"build": {
"appId": "com.github.zhenxunge.zkwasmpg",
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid"
},
"lint-staged": {
"*.{html,md,less,css,json,yml,js,ts,tsx}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"scripts": {
"prepack": "husky install",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"dev": "npm run build && npm run start",
"test": "lint-staged",
"eject": "react-app-rewired eject",
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --validate --sourceMap --debug",
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --validate --sourceMap --optimize",
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized"
}
}