-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathpackage.json
53 lines (53 loc) · 1.92 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
{
"name": "klimadao",
"private": true,
"workspaces": [
"./app",
"./carbon-projects",
"./carbon",
"./base",
"./lib"
],
"engines": {
"npm": "^9.8.1",
"node": "^18.17.1"
},
"prettier": {
"trailingComma": "es5",
"endOfLine": "auto",
"plugins": [
"prettier-plugin-organize-imports"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,scss,md}": "prettier --check"
},
"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-app": "npm run build-lib && npm run build -w=app",
"build-carbon": "npm run build-lib && npm run build -w=carbon",
"build-base": "npm run build-lib && npm run build -w=base",
"dev-lib": "npm run dev -w=lib",
"dev-app": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=app\"",
"dev-base": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=base\"",
"remove-dist": "cd carbonmark-api && rm -rf dist && npm run build",
"dev-carbon": "concurrently --kill-others-on-fail \"npm:dev-lib\" \"npm run dev -w=carbon\"",
"extract-strings": "npm run -w app lingui:extract && npm run -w carbon lingui:extract",
"compile-strings": "npm run extract-strings && npm run -w app lingui:compile && npm run -w carbon lingui:compile",
"extract-strings:dev": "npm run -w app 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",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "3.0.2",
"prettier-plugin-organize-imports": "^3.2.3"
}
}