-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.66 KB
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
{
"name": "hashport",
"version": "0.1.0",
"private": true,
"description": "Chat. Build. Pay. On Stellar — send, receive, swap, and deploy contracts from WhatsApp.",
"license": "MIT",
"packageManager": "pnpm@10.32.1",
"engines": {
"node": ">=22"
},
"scripts": {
"dev:infra": "docker compose up -d",
"dev:infra:down": "docker compose down",
"dev": "pnpm --parallel --filter \"./apps/*\" dev",
"dev:frontend": "pnpm --filter @hashport/frontend dev",
"dev:backend": "pnpm --filter @hashport/backend dev",
"build": "pnpm --filter \"./apps/*\" build",
"build:frontend": "pnpm --filter @hashport/frontend build",
"build:backend": "pnpm --filter @hashport/backend build",
"lint": "pnpm --filter \"./apps/*\" lint",
"test": "pnpm --filter \"./apps/*\" test",
"typecheck": "pnpm --filter \"./apps/*\" typecheck",
"format": "prettier --write .",
"format:check": "prettier --check .",
"contracts:build": "make -C contracts/hashport-account build",
"contracts:test": "make -C contracts/hashport-account test",
"contracts:fmt": "make -C contracts/hashport-account fmt",
"prepare": "husky"
},
"devDependencies": {
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"prettier": "^3.9.5"
},
"lint-staged": {
"apps/backend/**/*.ts": [
"pnpm --filter @hashport/backend exec eslint --fix",
"prettier --write"
],
"apps/frontend/**/*.{ts,tsx}": [
"pnpm --filter @hashport/frontend exec eslint --fix",
"prettier --write"
],
"contracts/**/*.rs": "cargo fmt --manifest-path contracts/hashport-account/Cargo.toml -- --check"
}
}