/
package.json
108 lines (108 loc) · 3.12 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
{
"name": "todo-list-example",
"version": "0.1.4",
"scripts": {
"dev": "blocklet dev",
"lint": "tsc --noEmit && eslint src api/src --ext .mjs,.js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"start": "cross-env NODE_ENV=development nodemon api/dev.ts -w api",
"clean": "node scripts/build-clean.js",
"bundle": "tsc --noEmit && npm run bundle:client && npm run bundle:api",
"bundle:client": "vite build",
"bundle:api": "npm run clean && tsc -p tsconfig.api.json && blocklet bundle --zip --create-release",
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
"upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
"prepare": "husky install",
"bump-version": "zx --quiet scripts/bump-version.mjs"
},
"lint-staged": {
"*.{mjs,js,jsx,ts,tsx}": [
"prettier --write",
"eslint"
],
"*.{css,less,scss,json,graphql}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@arcblock/did-auth": "^1.18.113",
"@arcblock/did-auth-storage-nedb": "^1.7.1",
"@arcblock/did-connect": "^2.9.63",
"@arcblock/ux": "^2.9.63",
"@blocklet/sdk": "^1.16.24",
"@blocklet/ui-react": "^2.9.63",
"@did-space/client": "^0.3.74",
"@did-space/core": "^0.3.74",
"@mui/material": "^5.15.14",
"@ocap/client": "^1.18.113",
"@ocap/mcrypto": "^1.18.113",
"@ocap/wallet": "^1.18.113",
"axios": "^1.6.8",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv-flow": "^3.3.0",
"express": "^4.19.2",
"express-async-errors": "^3.1.1",
"lodash": "^4.17.21",
"nanoid": "^5.0.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-router-dom": "^6.22.3",
"react-toastify": "^10.0.5",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@arcblock/eslint-config": "^0.2.4",
"@arcblock/eslint-config-ts": "^0.2.4",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/dotenv-flow": "^3.3.3",
"@types/express": "^4.17.21",
"@types/lodash": "^4.17.0",
"@types/node": "^18.19.26",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.22",
"@types/react-toastify": "^4.1.0",
"@vitejs/plugin-react": "^4.2.1",
"bumpp": "^8.2.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^12.5.0",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"prettier-plugin-import-sort": "^0.0.7",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"vite": "^5.0.13",
"vite-plugin-blocklet": "^0.7.8",
"vite-plugin-svgr": "^4.2.0",
"zx": "^7.2.3"
},
"importSort": {
".js, .jsx, .mjs": {
"parser": "babylon",
"style": "module"
},
".ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}