forked from KlimaDAO/klimadao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.59 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
{
"name": "klimadao",
"private": true,
"workspaces": [
"./app",
"./carbon-projects",
"./carbonmark",
"./carbonmark-api",
"./cms",
"./carbon",
"./lib",
"./site"
],
"engines": {
"npm": "^9.8.1",
"node": "^18.17.1"
},
"prettier": {
"trailingComma": "es5",
"endOfLine": "auto",
"plugins": [
"prettier-plugin-organize-imports"
]
},
"scripts": {
"build-all": "npm run build --workspaces",
"dev-all": "npm run dev --workspaces",
"lint-all": "npm run lint --workspaces",
"prettier-check-all": "prettier --check .",
"format-all": "prettier --write ./",
"build-lib": "npm run build -w=lib",
"build-site": "npm run build-lib && npm run build -w=site",
"build-app": "npm run build-lib && npm run build -w=app",
"build-carbonmark": "npm run build-lib && npm run build -w=carbonmark",
"build-carbonmark-api": "npm run build-lib && npm run build -w=carbonmark-api",
"build-carbon": "npm run build-lib && npm run build -w=carbon",
"dev-lib": "npm run dev -w=lib",
"dev-site": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=site\"",
"dev-app": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=app\"",
"dev-cms": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=cms\"",
"dev-carbonmark": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=carbonmark\"",
"remove-dist": "cd carbonmark-api && rm -rf dist && npm run build",
"dev-carbonmark-api": "npm run remove-dist && concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=carbonmark-api\"",
"dev-carbon": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=carbon\"",
"deploy-cms": "npm run deploy -w=cms",
"extract-strings": "npm run -w site lingui:extract && npm run -w app lingui:extract && npm run -w carbonmark lingui:extract && npm run -w carbon lingui:extract",
"compile-strings": "npm run extract-strings && npm run -w site lingui:compile && npm run -w app lingui:compile && npm run -w carbonmark lingui:compile && npm run -w carbon lingui:compile",
"extract-strings:dev": "npm run -w site lingui:extract:dev && npm run -w app lingui:extract:dev && npm run -w carbonmark lingui:extract:dev && npm run -w carbon lingui:extract:dev",
"export-app": "npm run build-lib && IS_STATIC_EXPORT=true npm run build-app && IS_STATIC_EXPORT=true npm run export -w=app"
},
"devDependencies": {
"@lingui/cli": "^4.4.0",
"concurrently": "^7.6.0",
"prettier": "3.0.2",
"prettier-plugin-organize-imports": "^3.2.3"
}
}