-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.98 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
{
"name": "blocklet-project",
"version": "0.1.0",
"scripts": {
"dev": "blocklet dev",
"start": "cross-env NODE_ENV=development nodemon api/dev.js -w api",
"clean": "node scripts/build-clean.mjs",
"bundle": "npm run bundle:client && npm run bundle:api",
"bundle:client": "vite build",
"bundle:api": "npm run clean && blocklet bundle --compact --create-release",
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
"upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
"lint": "eslint src api --ext .mjs,.js,.vue",
"lint:fix": "npm run lint -- --fix",
"prepare": "npx simple-git-hooks",
"bump-version": "zx --quiet scripts/bump-version.mjs"
},
"dependencies": {
"@arcblock/did-auth": "^1.18.126",
"@arcblock/did-auth-storage-nedb": "^1.7.1",
"@blocklet/sdk": "^1.16.28",
"@joi/date": "^2.1.1",
"@ocap/client": "^1.18.126",
"@ocap/mcrypto": "^1.18.126",
"@ocap/wallet": "^1.18.126",
"better-sqlite3": "^11.1.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv-flow": "^4.1.0",
"express": "^4.19.2",
"express-async-errors": "^3.1.1",
"joi": "^17.13.3"
},
"devDependencies": {
"@blocklet/js-sdk": "^1.16.28",
"@vitejs/plugin-vue": "^5.0.5",
"bumpp": "^9.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0",
"lint-staged": "^15.2.7",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"simple-git-hooks": "^2.11.1",
"vite": "^5.3.3",
"vite-plugin-blocklet": "^0.8.10",
"vue": "^3.4.31",
"zx": "^8.1.4"
},
"lint-staged": {
"*.{mjs,js,vue}": [
"prettier --write",
"eslint --ext .mjs,.js,.vue"
],
"*.{css,less,scss,json,graphql}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}