forked from lightdash/lightdash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 6.1 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "lightdash",
"version": "0.835.0",
"main": "index.js",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"dependencies": {
"concurrently": "^8.2.0",
"npm-run-all2": "^6.0.6"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.8.0",
"@types/pegjs": "^0.10.3",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"confusing-browser-globals": "^1.0.11",
"dotenv": "^16.0.2",
"dotenv-cli": "^6.0.0",
"eslint": "^8.23.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.6.3",
"husky": "^7.0.0",
"jest": "^29.7.0",
"lint-staged": "^12.1.2",
"prettier": "2.7.1",
"prettier-plugin-organize-imports": "^3.1.1",
"ts-jest": "^29.1.1",
"tslib": "^2.6.0",
"tsx": "^3.12.8",
"typescript": "^4.9.5"
},
"scripts": {
"common-dev": "yarn workspace @lightdash/common dev",
"common-build": "yarn workspace @lightdash/common build",
"common-lint": "yarn workspace @lightdash/common lint",
"common-format": "yarn workspace @lightdash/common format",
"common-fix-lint": "yarn workspace @lightdash/common fix-lint",
"common-fix-format": "yarn workspace @lightdash/common fix-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-fix-lint": "yarn workspace backend fix-lint",
"backend-fix-format": "yarn workspace backend fix-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-fix-lint": "yarn workspace frontend fix-lint",
"frontend-fix-format": "yarn workspace frontend fix-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",
"e2e-fix-lint": "yarn workspace e2e fix-lint",
"e2e-fix-format": "yarn workspace e2e fix-format",
"cli-test": "yarn workspace @lightdash/cli test",
"cli-lint": "yarn workspace @lightdash/cli lint",
"cli-format": "yarn workspace @lightdash/cli format",
"cli-fix-lint": "yarn workspace @lightdash/cli fix-lint",
"cli-fix-format": "yarn workspace @lightdash/cli fix-format",
"cli-build": "yarn workspace @lightdash/cli build",
"warehouses-dev": "yarn workspace @lightdash/warehouses dev",
"warehouses-lint": "yarn workspace @lightdash/warehouses lint",
"warehouses-format": "yarn workspace @lightdash/warehouses format",
"warehouses-fix-lint": "yarn workspace @lightdash/warehouses fix-lint",
"warehouses-fix-format": "yarn workspace @lightdash/warehouses fix-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",
"fix-lint": "run-s common-fix-lint backend-fix-lint frontend-fix-lint e2e-fix-lint cli-fix-lint",
"fix-format": "run-s common-fix-format backend-fix-format frontend-fix-format e2e-fix-format cli-fix-format",
"test": "run-s common-test warehouses-test cli-test backend-test frontend-test",
"dev": "concurrently -n \"common,warehouses,backend,frontend\" --prefix-colors \"bgWhite.bold,bgGreenBright.bold,bgMagenta.bold,bgBlue.bold\" \"yarn:common-dev\" \"yarn:warehouses-dev\" \"yarn:backend-dev\" \"yarn: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",
"load:env": "dotenv -c -e .env.development.local"
},
"lint-staged": {
"packages/frontend/src/**/*.(ts|tsx|json|css)": [
"yarn workspace frontend linter --fix",
"yarn workspace frontend formatter --write"
],
"packages/backend/src/**/*.(ts|tsx|json)": [
"yarn workspace backend linter --fix",
"yarn workspace backend formatter --write"
],
"packages/common/src/**/*.(ts|tsx|json)": [
"yarn workspace @lightdash/common linter --fix",
"yarn workspace @lightdash/common formatter --write"
],
"packages/e2e/cypress/**/*.(ts|json)": [
"yarn workspace e2e linter --fix",
"yarn workspace e2e formatter --write"
],
"packages/cli/src/**/*.(ts|tsx|json)": [
"yarn workspace @lightdash/cli linter --fix",
"yarn workspace @lightdash/cli formatter --write"
],
"packages/warehouses/src/**/*.(ts|tsx|json)": [
"yarn workspace @lightdash/warehouses linter --fix",
"yarn workspace @lightdash/warehouses formatter --write"
]
}
}