-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.86 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
{
"name": "perf-simple",
"version": "1.0.2",
"scripts": {
"dev": "blocklet dev",
"eject": "vite eject",
"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.84",
"@arcblock/did-auth-storage-nedb": "^1.7.1",
"@blocklet/sdk": "1.16.12",
"@ocap/client": "^1.18.84",
"@ocap/mcrypto": "^1.18.84",
"@ocap/wallet": "^1.18.84",
"axios": "^1.4.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv-flow": "^3.2.0",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"express-history-api-fallback": "^2.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.11.1",
"rimraf": "^5.0.0"
},
"devDependencies": {
"@arcblock/eslint-config": "^0.2.4",
"@arcblock/eslint-config-ts": "^0.2.4",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/dotenv-flow": "^3.2.0",
"@types/express": "^4.17.17",
"@types/node": "^20.1.2",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@vitejs/plugin-react": "^4.0.0",
"bumpp": "^9.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.40.0",
"husky": "^8.0.3",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^13.2.2",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-plugin-import-sort": "^0.0.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vite": "^4.3.5",
"vite-plugin-blocklet": "^0.6.6",
"vite-plugin-node-polyfills": "^0.8.2",
"vite-plugin-svgr": "^3.2.0",
"zx": "^7.2.2"
},
"importSort": {
".js, .jsx, .mjs": {
"parser": "babylon",
"style": "module"
},
".ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}