-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 2.3 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 2.3 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
{
"name": "sudata-monorepo",
"private": true,
"version": "1.0.0",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"bootstrap": "pnpm install --recursive",
"test": "pnpm run test:unit",
"test:unit": "pnpm run test:unit:python && pnpm run test:unit:dashboard",
"test:unit:python": "cd apps/refinery-service && pytest tests/ && cd ../tiktok-scraper && pytest tests/ && cd ../youtube-scraper && pytest tests/",
"test:unit:dashboard": "cd apps/dashboard && pnpm test",
"test:integration": "pytest tests/integration/ -v",
"test:e2e": "playwright test",
"test:performance": "python tests/performance/load_test.py",
"test:error-scenarios": "pytest tests/error_scenarios/ -v",
"test:all": "pnpm run test:unit && pnpm run test:integration && pnpm run test:e2e",
"test:coverage": "pnpm run test:coverage:python && pnpm run test:coverage:dashboard",
"test:coverage:python": "cd apps/refinery-service && pytest --cov=. --cov-report=html && cd ../tiktok-scraper && pytest --cov=. --cov-report=html && cd ../youtube-scraper && pytest --cov=. --cov-report=html",
"test:coverage:dashboard": "cd apps/dashboard && pnpm test:coverage",
"test:watch": "pnpm run test:watch:dashboard",
"test:watch:dashboard": "cd apps/dashboard && pnpm test:watch",
"test:ci": "pnpm run test:all && pnpm run test:performance && pnpm run test:error-scenarios",
"playwright:install": "playwright install",
"playwright:install-deps": "playwright install-deps",
"start:all": "concurrently \"cd apps/dashboard && pnpm dev\" \"cd apps/refinery-service && python main.py\" \"cd apps/tiktok-scraper && python main.py\" \"cd apps/youtube-scraper && python transcript_extractor.py\"",
"lint": "pnpm run lint:dashboard && pnpm run lint:python",
"lint:dashboard": "cd apps/dashboard && pnpm lint",
"lint:python": "flake8 apps/ tests/ --max-line-length=88 --extend-ignore=E203,W503",
"format": "pnpm run format:dashboard && pnpm run format:python",
"format:dashboard": "cd apps/dashboard && pnpm format",
"format:python": "black apps/ tests/ && isort apps/ tests/"
},
"devDependencies": {
"@playwright/test": "^1.40.0",
"@types/node": "^20.10.0",
"jest": "^29.7.0",
"@types/jest": "^29.5.8",
"typescript": "^5.3.0",
"concurrently": "^8.2.2"
}
}