|
79 | 79 | "typescript-eslint": "^8.23.0", |
80 | 80 | "vitest": "^3.0.8" |
81 | 81 | }, |
82 | | - "scripts": { |
83 | | - "start": "npm run start:dev", |
84 | | - "start:prod": "node dist/main.js", |
85 | | - "start:dev": "tsx src/main.ts", |
86 | | - "start:standby": "APIFY_META_ORIGIN=\"STANDBY\" npm run start:dev", |
87 | | - "lint": "eslint .", |
88 | | - "lint:fix": "eslint . --fix", |
89 | | - "check": "npm run type-check && npm run lint:fix", |
90 | | - "build": "tsc -b src", |
91 | | - "build-all": "cd src/web && npm run build && cd ../.. && npm run build", |
92 | | - "postbuild": "mkdir -p dist/web && (cp -r src/web/dist dist/web/ 2>/dev/null || :)", |
93 | | - "build:watch": "tsc -b src -w", |
94 | | - "check:widgets": "tsx scripts/check-widgets.ts", |
95 | | - "type-check": "tsc --noEmit", |
96 | | - "test": "npm run test:unit", |
97 | | - "test:unit": "vitest run tests/unit", |
98 | | - "test:integration": "npm run build && vitest run tests/integration", |
99 | | - "clean": "tsc -b src --clean && rm -rf dist/web", |
100 | | - "evals:create-dataset": "tsx evals/create-dataset.ts", |
101 | | - "evals:run": "tsx evals/run-evaluation.ts", |
102 | | - "evals:workflow": "tsx evals/workflows/run-workflow-evals.ts" |
103 | | - }, |
| 82 | + "scripts": { |
| 83 | + "start": "npm run start:standby", |
| 84 | + "dev": "npm run start:standby", |
| 85 | + "start:standby": "APIFY_META_ORIGIN=\"STANDBY\" tsx src/main.ts", |
| 86 | + "build": "npm run build:core && npm run build:web", |
| 87 | + "build:core": "tsc -b src", |
| 88 | + "build:watch": "tsc -b src -w", |
| 89 | + "build:web": "npm --prefix src/web install && npm --prefix src/web run build", |
| 90 | + "postbuild": "mkdir -p dist/web && (cp -r src/web/dist dist/web/ 2>/dev/null || :)", |
| 91 | + "clean": "tsc -b src --clean && rm -rf dist/web", |
| 92 | + "lint": "eslint .", |
| 93 | + "lint:fix": "eslint . --fix", |
| 94 | + "type-check": "tsc -p tsconfig.json --noEmit", |
| 95 | + "check": "npm run type-check && npm run lint", |
| 96 | + "check:widgets": "tsx scripts/check-widgets.ts", |
| 97 | + "test": "npm run test:unit", |
| 98 | + "test:unit": "vitest run tests/unit", |
| 99 | + "test:integration": "npm run build && vitest run tests/integration", |
| 100 | + "evals:create-dataset": "tsx evals/create-dataset.ts", |
| 101 | + "evals:run": "tsx evals/run-evaluation.ts", |
| 102 | + "evals:workflow": "tsx evals/workflows/run-workflow-evals.ts" |
| 103 | + }, |
104 | 104 | "author": "Apify", |
105 | 105 | "license": "MIT" |
106 | 106 | } |
0 commit comments