forked from lightdash/lightdash
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 2.22 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
{
"name": "lightdash",
"version": "0.33.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 common build",
"common-lint": "yarn workspace common lint",
"common-format": "yarn workspace common format",
"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",
"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",
"lint": "run-s common-lint backend-lint frontend-lint e2e-lint",
"format": "run-s common-format backend-format frontend-format e2e-format",
"test": "run-s backend-test",
"dev": "npm-run-all common-build --parallel backend-dev frontend-dev",
"build": "run-s common-build frontend-build backend-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 common prettier --write --ignore-unknown",
"yarn workspace common eslint --fix"
],
"packages/e2e/cypress/**/*.(ts|json)": [
"yarn workspace e2e prettier --write --ignore-unknown",
"yarn workspace e2e eslint --fix"
]
}
}