This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
64 lines (64 loc) · 2.85 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
57
58
59
60
61
62
63
64
{
"name": "corona-dashboard",
"private": true,
"license": "EUROPEAN UNION PUBLIC LICENCE v. 1.2",
"scripts": {
"prepare-release": "yarn workspace @corona-dashboard/cli prepare-release",
"test": "yarn workspaces foreach run test",
"test:ci": "yarn workspaces foreach run test:ci",
"bootstrap": "yarn workspaces foreach run bootstrap",
"clean": "yarn workspaces foreach run clean && npx rimraf .build-cache",
"nuke": "yarn workspaces foreach run nuke && npx rimraf node_modules",
"typecheck": "echo 'Starting typecheck...' && yarn workspaces foreach run typecheck",
"lint": "echo 'Starting lint...' && yarn workspaces foreach run lint",
"lint:fix": "yarn workspaces foreach run lint --fix",
"format": "yarn workspaces foreach run format",
"dev": "yarn workspace @corona-dashboard/app dev",
"download": "yarn workspace @corona-dashboard/app download",
"start": "yarn workspace @corona-dashboard/app start",
"check-all": "yarn lint && yarn typecheck && yarn validate-json-all && yarn test",
"validate-json-all": "yarn workspace @corona-dashboard/cli validate-json-all",
"validate-json-single": "yarn workspace @corona-dashboard/cli validate-json-single",
"validate-last-values": "yarn workspace @corona-dashboard/cli validate-last-values",
"generate-data-types": "yarn workspace @corona-dashboard/cli generate-data-types",
"e2e": "yarn workspace @corona-dashboard/e2e e2e",
"e2e:ci": "yarn workspace @corona-dashboard/e2e e2e:ci",
"cms": "yarn workspace @corona-dashboard/cms dev",
"cms:lokalize-import": "yarn workspace @corona-dashboard/cms lokalize:import",
"cms:lokalize-import:prd": "yarn workspace @corona-dashboard/cms lokalize:import --dataset=production",
"cms:apply-json-edits": "yarn workspace @corona-dashboard/cms lokalize:apply-json-edits",
"cms:generate-types": "yarn workspace @corona-dashboard/cms lokalize:generate-types",
"cms:sync-after-release": "yarn workspace @corona-dashboard/cms lokalize:sync-after-release",
"cms:deploy": "yarn workspace @corona-dashboard/cms deploy",
"build:app": "yarn workspace @corona-dashboard/app build",
"build:common": "yarn workspace @corona-dashboard/common build",
"build:icons": "yarn workspace @corona-dashboard/icons build",
"postinstall": "husky install"
},
"workspaces": {
"packages": [
"packages/app",
"packages/cli",
"packages/common",
"packages/e2e",
"packages/icons",
"packages/cms"
]
},
"packageManager": "[email protected]",
"devDependencies": {
"@types/prettier": "^2",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.7.1",
"ts-node": "^10.8.1"
},
"lint-staged": {
"./packages/**/*.@(ts|tsx|js)": [
"eslint --fix",
"prettier --write"
]
}
}