Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 3.01 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 3.01 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
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
{
"name": "stellarwave",
"version": "1.0.0",
"private": true,
"workspaces": [
"frontend",
"backend"
],
"scripts": {
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:backend": "cd backend && npm run start:dev",
"dev:frontend": "cd frontend && npm run dev",
"dev:deps": "docker compose -f docker-compose.dev.yml up -d --wait",
"dev:deps:logs": "docker compose -f docker-compose.dev.yml logs -f",
"dev:deps:down": "docker compose -f docker-compose.dev.yml down",
"build": "npm run build:backend && npm run build:frontend",
"build:backend": "cd backend && npm run build",
"build:frontend": "cd frontend && npm run build",
"build:contracts": "cd stellar-contracts && ./build-contracts.sh",
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
"start:backend": "cd backend && npm run start:prod",
"start:frontend": "cd frontend && npm run start",
"docker:build": "docker compose build",
"docker:up": "docker compose up",
"docker:down": "docker compose down",
"test": "npm run test:backend && npm run test:frontend",
"test:backend": "cd backend && npm test",
"test:frontend": "cd frontend && npm test",
"test:e2e": "cd frontend && npm run test:e2e",
"test:e2e:stack": "docker compose up -d --build --wait && npm run test:e2e; status=$?; docker compose down -v; exit $status",
"test:load": "node load-test/load-test.mjs",
"test:contracts": "cd stellar-contracts && cargo test",
"lint": "cd backend && npx eslint \"{src,apps,libs,test}/**/*.ts\" --fix --max-warnings 0 && cd ../frontend && npx eslint . --report-unused-disable-directives --max-warnings 0",
"lint:backend": "cd backend && npm run lint",
"lint:frontend": "cd frontend && npm run lint",
"lint:contracts": "cd stellar-contracts && cargo clippy --all-targets -- -D warnings",
"typecheck": "npm run typecheck:backend && npm run typecheck:frontend",
"typecheck:backend": "cd backend && npm run typecheck",
"typecheck:frontend": "cd frontend && npm run typecheck",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"ci:check": "npm run lint && npm run typecheck && npm run test",
"ci:build": "npm run build && npm run build:contracts",
"security:audit": "npm audit --audit-level=high && cd backend && npm audit --audit-level=high && cd ../frontend && npm audit --audit-level=high",
"prepare": "husky || true"
},
"devDependencies": {
"concurrently": "^8.2.2",
"husky": "^9.1.7",
"lint-staged": "^17.6.1",
"prettier": "^3.10.1"
},
"lint-staged": {
"backend/**/*.{ts,js}": [
"eslint --fix --config backend/eslint.config.mjs",
"prettier --write"
],
"frontend/**/*.{ts,tsx,js,jsx}": [
"eslint --fix --config frontend/eslint.config.js",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"overrides": {
"rxjs": "^7.8.2",
"@stellar/stellar-sdk": {
"axios": "^1.20.0",
"toml": "^5.0.1"
}
}
}