-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 2.44 KB
/
package.json
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
{
"name": "transcription-service",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"prettier:check": "prettier . --check",
"prettier:fix": "prettier . --write",
"api::build": "npm run build --workspace api",
"api::start": "AWS_REGION=eu-west-1 STAGE=DEV npm run start --workspace api",
"output-handler::build": "npm run build --workspace output-handler",
"output-handler::start": "AWS_REGION=eu-west-1 STAGE=DEV npm run start --workspace output-handler",
"worker-capacity-manager::build": "npm run build --workspace worker-capacity-manager",
"worker-capacity-manager::start": "AWS_REGION=eu-west-1 STAGE=DEV npm run start --workspace worker-capacity-manager",
"media-download::build": "npm run build --workspace media-download",
"media-download::start": "AWS_REGION=eu-west-1 STAGE=DEV npm run start --workspace media-download",
"worker::build": "npm run build --workspace worker; npm run build --workspace worker",
"worker::package": "npm run package --workspace worker",
"worker::start": "AWS_REGION=eu-west-1 STAGE=DEV npm run start --workspace worker",
"client::build": "npm run build --workspace client",
"client::start": "npm run dev --workspace client",
"cdk::build": "npm run build --workspace cdk",
"cdk::lint": "npm run lint --workspace cdk",
"cdk::synth": "npm run synth --workspace cdk",
"cdk::test": "npm run test --workspace cdk",
"cdk::test-update": "npm run test-update --workspace cdk",
"package": "mkdir -p target; zip -j target/output-handler.zip packages/output-handler/dist/index.js; zip -j target/worker-capacity-manager.zip packages/worker-capacity-manager/dist/index.js; mkdir -p build/client; mv packages/api/dist/index.js build; mv packages/client/out/* build/client; cd build; zip -qr ../target/api.zip *",
"emulate-prod-locally": "npm run build --workspace client; EMULATE_PRODUCTION_SERVER=true npm run start --workspace api",
"prepare": "husky install"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.ts": [
"eslint --fix"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"workspaces": [
"packages/*"
],
"devDependencies": {
"@guardian/prettier": "^8.0.0",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"husky": "^8.0.0",
"lint-staged": "^15.2.9",
"prettier": "^3.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}