forked from lightdash/lightdash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 3.42 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "lightdash",
"version": "0.271.0",
"main": "index.js",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"dependencies": {
"npm-run-all": "^4.1.5"
},
"devDependencies": {
"husky": "^7.0.0",
"lint-staged": "^12.1.2"
},
"scripts": {
"common-build": "yarn workspace @lightdash/common build",
"common-lint": "yarn workspace @lightdash/common lint",
"common-format": "yarn workspace @lightdash/common format",
"common-test": "yarn workspace @lightdash/common test",
"backend-dev": "yarn workspace backend dev",
"backend-build": "yarn workspace backend build",
"backend-start": "yarn workspace backend start",
"backend-lint": "yarn workspace backend lint",
"backend-format": "yarn workspace backend format",
"backend-test": "yarn workspace backend test",
"frontend-dev": "yarn workspace frontend start",
"frontend-build": "yarn workspace frontend build",
"frontend-lint": "yarn workspace frontend lint",
"frontend-format": "yarn workspace frontend format",
"frontend-test": "yarn workspace frontend test",
"e2e-open": "yarn workspace e2e cypress:open",
"e2e-run": "yarn workspace e2e cypress:run",
"e2e-lint": "yarn workspace e2e lint",
"e2e-format": "yarn workspace e2e format",
"cli-test": "yarn workspace @lightdash/cli test",
"cli-lint": "yarn workspace @lightdash/cli lint",
"cli-format": "yarn workspace @lightdash/cli format",
"cli-build": "yarn workspace @lightdash/cli build",
"warehouses-lint": "yarn workspace @lightdash/warehouses lint",
"warehouses-format": "yarn workspace @lightdash/warehouses format",
"warehouses-test": "yarn workspace @lightdash/warehouses test",
"warehouses-build": "yarn workspace @lightdash/warehouses build",
"lint": "run-s common-lint backend-lint frontend-lint e2e-lint cli-lint",
"format": "run-s common-format backend-format frontend-format e2e-format cli-format",
"test": "run-s common-test warehouses-test cli-test backend-test frontend-test",
"dev": "npm-run-all common-build warehouses-build --parallel backend-dev frontend-dev",
"build": "run-s common-build warehouses-build frontend-build backend-build",
"build-published-packages": "run-s common-build warehouses-build cli-build",
"start": "run-p backend-start",
"prepare": "husky install"
},
"lint-staged": {
"packages/frontend/src/**/*.(ts|tsx|json|css)": [
"yarn workspace frontend prettier --write --ignore-unknown",
"yarn workspace frontend eslint --fix"
],
"packages/backend/src/**/*.(ts|tsx|json)": [
"yarn workspace backend prettier --write --ignore-unknown",
"yarn workspace backend eslint --fix"
],
"packages/common/src/**/*.(ts|tsx|json)": [
"yarn workspace @lightdash/common prettier --write --ignore-unknown",
"yarn workspace @lightdash/common eslint --fix"
],
"packages/e2e/cypress/**/*.(ts|json)": [
"yarn workspace e2e prettier --write --ignore-unknown",
"yarn workspace e2e eslint --fix"
],
"packages/cli/src/**/*.(ts|tsx|json)": [
"yarn workspace @lightdash/cli prettier --write --ignore-unknown",
"yarn workspace @lightdash/cli eslint --fix"
],
"packages/warehouses/src/**/*.(ts|tsx|json)": [
"yarn workspace @lightdash/warehouses prettier --write --ignore-unknown",
"yarn workspace @lightdash/warehouses eslint --fix"
]
}
}