-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.7 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.7 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "escapemint",
"version": "1.0.0",
"type": "module",
"private": true,
"description": "A local-first, open-source capital allocation engine for rules-based fund management",
"scripts": {
"setup": "npm install && cd pages && npm install && cd .. && npm run build:packages && npm run setup:data",
"setup:data": "mkdir -p data/funds && echo 'Created data/funds directory. Use Settings > Generate Test Data to populate sample data.'",
"dev": "pm2 start ecosystem.config.cjs && pm2 logs",
"dev:stop": "pm2 stop ecosystem.config.cjs",
"dev:restart": "pm2 restart ecosystem.config.cjs",
"dev:status": "pm2 status",
"dev:logs": "pm2 logs",
"dev:api": "cd packages/server && npx tsx watch src/index.ts",
"dev:web": "cd packages/web && npx vite --host",
"dev:backtest": "cd pages && npm install && npm run dev",
"build:packages": "npm run build:engine && npm run build:storage",
"build": "npm run build:packages && npm run build:server && npm run build:web && npm run build:backtest",
"build:engine": "npx tsc --project packages/engine/tsconfig.json",
"build:storage": "npx tsc --project packages/storage/tsconfig.json",
"build:server": "npx tsc --project packages/server/tsconfig.json && cp -r packages/server/src/data packages/server/dist/",
"build:web": "cd packages/web && npx vite build",
"build:backtest": "cd pages && npm install && npm run build",
"build:backtest:data": "cd pages && npm run build:data",
"test": "npm run test:engine && npm run test:storage",
"test:engine": "cd packages/engine && npm test",
"test:storage": "cd packages/storage && npm test",
"test:e2e": "npx playwright test",
"test:e2e:bail": "npx playwright test --max-failures=1",
"test:e2e:ui": "npx playwright test --ui",
"test:e2e:headed": "npx playwright test --headed",
"test:coverage": "npm run test:coverage:unit && npm run test:coverage:report",
"test:coverage:unit": "npm run test:coverage:engine && npm run test:coverage:storage && npm run test:coverage:server && npm run test:coverage:web",
"test:coverage:engine": "cd packages/engine && npx vitest run --coverage",
"test:coverage:storage": "cd packages/storage && npx vitest run --coverage",
"test:coverage:server": "cd packages/server && npx vitest run --coverage || true",
"test:coverage:web": "cd packages/web && npx vitest run --coverage || true",
"test:coverage:report": "npx tsx scripts/generate-code-coverage-report.ts",
"test:feature-coverage": "npx tsx e2e/generate-coverage-report.ts",
"lint": "eslint packages --ext .ts,.tsx",
"lint:fix": "eslint packages --ext .ts,.tsx --fix",
"typecheck": "tsc --noEmit",
"start": "npm run build && pm2 flush && (pm2 delete ecosystem.config.cjs || true) && pm2 start ecosystem.config.cjs --only escapemint-api --env production && open http://localhost:5551",
"stop": "pm2 stop ecosystem.config.cjs",
"logs": "pm2 logs",
"prepare": "husky"
},
"keywords": [
"investing",
"fund-management",
"capital-allocation",
"rules-based",
"local-first"
],
"author": "Adam Eivy (@antic|@atomantic)",
"license": "MIT",
"engines": {
"node": ">=20.19.0"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
"@playwright/test": "^1.58.2",
"eslint": "^9.39.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.1",
"pm2": "^6.0.14",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"xlsx": "^0.18.5"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"pdf-parse": "^2.4.5"
},
"lint-staged": {
"packages/**/*.{ts,tsx}": [
"eslint"
]
}
}