-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
51 lines (51 loc) · 2.8 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
{
"name": "gldt-monorepo",
"description": "GLDT frontend app and GLDT canister",
"author": "GoldDAO",
"workspaces": [
"client/gldt_swap_app",
"client/gld_dashboard",
"client/gld_landing_page",
"client/usdg"
],
"license": "AGPL-3.0-only",
"version": "0.0.0",
"private": true,
"scripts": {
"dev:gldt_swap_app": "npm run --workspace gldt_swap_app develop",
"dev:gld_landing_page": "npm run --workspace gld_landing_page develop",
"dev:gld_dashboard": "npm run --workspace gld_dashboard develop",
"dev:usdg": "npm run --workspace usdg develop",
"build": "npm run build:backdid && npm run build:back && npm run build:frontends",
"build:frontends": "npm run build:gldt_swap_app && npm run build:gld_dashboard",
"build:gldt_swap_app": "npm run --workspace gldt_swap_app build",
"build:gld_landing_page": "npm run --workspace gld_landing_page build",
"build:gld_dashboard": "npm run --workspace gld_dashboard build",
"build:usdg": "npm run --workspace usdg build",
"build:back": "scripts/build_canister.sh gldt_swap && scripts/build_canister.sh icp_neuron && scripts/build_canister.sh sns_rewards",
"build:backdid": "scripts/build_canister.sh --wasmonly gldt_swap && scripts/build_canister.sh --wasmonly sns_rewards && npm run build:candid && npm run build:declarations && npm run build:back",
"build:candid": "scripts/generate_did.sh gldt_swap && scripts/generate_did.sh sns_rewards",
"build:declarations": "dfx generate && scripts/refactor_nft_declarations.sh",
"lint": "npm run lint:back && npm run lint:frontends",
"lint:back": "cargo clippy",
"lint:frontends": "npm run lint:gldt_swap_app && npm run lint:gld_landing_page && npm run lint:gld_dashboard && npm run lint:usdg",
"lint:gldt_swap_app": "npm run --workspace gldt_swap_app lint",
"lint:gld_landing_page": "npm run --workspace gld_landing_page lint",
"lint:gld_dashboard": "npm run --workspace gld_dashboard lint",
"lint:usdg": "npm run --workspace usdg lint",
"deploy:gld_dashboard:staging": "ENV=staging dfx deploy gld_dashboard --network=staging --mode reinstall",
"deploy:gld_dashboard:preprod": "ENV=preprod dfx deploy gld_dashboard --network=preprod --mode reinstall",
"deploy:gld_dashboard:prod": "ENV=prod dfx deploy gld_dashboard --network=ic --mode reinstall",
"start": "dfx stop && dfx start --background --clean && npm run deploy",
"stop": "dfx stop",
"test": "npm run build:backdid && cargo tarpaulin --count -o html",
"postinstall": "rustup update; rustup component add clippy; echo 'If installing locally, you should also ensure that ic-wasm is installed (cargo install ic-wasm), as well as wasmtime (see https://wasmtime.dev ).'"
},
"devDependencies": {
"eslint": "8.40.0"
},
"engines": {
"node": "^20.15.1",
"npm": "^10.7.0"
}
}