forked from KlimaDAO/klimadao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 1.29 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
{
"name": "klimadao",
"private": true,
"workspaces": [
"./site",
"./app",
"./lib"
],
"engines": {
"npm": ">=8.0.0",
"node": ">=14.18.1"
},
"scripts": {
"build-lib": "npm run build --workspace=lib",
"build-site": "npm run build-lib && npm run build --workspace=site",
"build-site-vercel": "cd ./lib && npm run build && cd ../site && npm run build",
"build-app": "npm run build-lib && npm run build --workspace=app",
"build-app-vercel": "cd ./lib && npm run build && cd ../app && npm run build",
"export-app": "cd ./lib && npm run build && cd ../app && IS_STATIC_EXPORT=true npm run build && IS_STATIC_EXPORT=true npm run export",
"dev-lib": "npm run dev --workspace=lib",
"dev-site": "npm run build-lib && npm run dev --workspace=site",
"dev-app": "npm run build-lib && npm run dev --workspace=app",
"dev-cms": "cd ./cms && npm run start",
"deploy-cms": "cd ./cms && npm run deploy",
"format-all": "prettier --write ./",
"extract-strings": "npm run -w site lingui:extract && npm run -w app lingui:extract",
"compile-strings": "npm run extract-strings && npm run -w site lingui:compile && npm run -w app lingui:compile",
"extract-strings:dev": "npm run -w site lingui:extract:dev && npm run -w app lingui:extract:dev"
}
}