Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 3.86 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 3.86 KB
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
{
"name": "psy-template",
"version": "1.0.0",
"description": "Official Psy Protocol contract and dApp templates with comprehensive unit and E2E test suites",
"type": "module",
"scripts": {
"test": "node tests/run_all_tests.mjs",
"test:unit": "node tests/run_unit_tests.mjs",
"test:e2e": "node tests/run_e2e_tests.mjs",
"test:amm": "node --test amm/*.test.mjs amm/contract/*.test.mjs",
"test:amm-wide": "node --test amm/wide/*.test.mjs",
"test:amm-wide:vm": "cargo +nightly-2025-09-20 test --offline --locked --release --manifest-path amm/wide/vm-tests/Cargo.toml --tests",
"test:token-wide": "node --test token/wide/*.test.mjs",
"test:token-wide:vm": "cargo +nightly-2025-09-20 test --offline --locked --release --manifest-path token/wide/vm-tests/Cargo.toml --tests",
"build:token-wide": "node token/wide/build.mjs",
"build:amm-wide": "node amm/wide/build.mjs",
"test:orderbook-layout": "node --test orderbook/check_update_layout.test.mjs",
"test:orderbook": "node --test orderbook/*.test.mjs",
"test:bondingcurve": "node --test bondingcurve/*.test.mjs bondingcurve/contract/*.test.mjs",
"test:launchamm": "node --test launchamm/*.test.mjs executor/*.test.mjs",
"executor": "node executor/run.mjs",
"build:launchamm": "node launchamm/build.mjs",
"matcher:orderbook": "node orderbook/matcherRunner.mjs",
"build:amm": "node scripts/build_amm.mjs",
"build:bondingcurve": "node scripts/build_bondingcurve.mjs",
"build:launch-token": "node bondingcurve/launch-token/build.mjs",
"build": "(cd token && npm run build) && (cd nft && npm run build) && (cd dapp/contract && psyup build)",
"build:deploy": "npm run check:preflight && npm run build",
"configure": "node scripts/configure_issuer.mjs",
"check:config": "node scripts/configure_issuer.mjs --check",
"check:preflight": "node scripts/configure_issuer.mjs --check --strict",
"clean:config": "node scripts/configure_issuer.mjs --reset",
"scaffold": "node scripts/scaffold.mjs",
"fmt": "find . -name '*.psy' -exec dargo fmt {} \\;",
"audit": "node scripts/audit_clean.mjs",
"test:exchanges": "node --test amm/*.test.mjs amm/contract/*.test.mjs amm/wide/*.test.mjs orderbook/*.test.mjs bondingcurve/*.test.mjs bondingcurve/contract/*.test.mjs launchamm/*.test.mjs executor/*.test.mjs tests/security/*.test.mjs",
"executor:service": "node executor/service.mjs",
"test:executor": "node --test executor/*.test.mjs bondingcurve/chainReader.test.mjs",
"test:markets-u124": "node --test amm/u124/*.test.mjs",
"test:markets-u124:vm": "cargo +nightly-2025-09-20 test --offline --locked --release --manifest-path amm/u124/vm-tests/Cargo.toml --tests",
"build:markets-u124": "node amm/u124/build.mjs",
"test:nft-marketplace": "node --test nft-marketplace/*.test.mjs",
"test:nft-marketplace:vm": "cargo +nightly-2025-09-20 test --offline --locked --release --manifest-path amm/u124/vm-tests/Cargo.toml --lib --test nft_market --test nft_sdkey --test nft_layout -- --test-threads=1",
"test:nft-marketplace:integration": "node --test nft-marketplace/tests/*.test.mjs",
"verify:nft-marketplace": "node nft-marketplace/acceptance.mjs",
"build:nft-marketplace": "node nft-marketplace/build.mjs",
"preflight:nft-marketplace": "node nft-marketplace/preflight.mjs",
"status:nft-marketplace": "node nft-marketplace/status-cli.mjs",
"build:token-wide-private:toolchain": "node token/wide/private/prepare-toolchain.mjs",
"build:token-wide-private": "node token/wide/private/build.mjs",
"test:token-wide-private": "node --test token/wide/private/*.test.mjs",
"test:token-wide-private:vm": "cargo +nightly-2025-09-20 test --offline --locked --release --manifest-path token/wide/private/vm-tests/Cargo.toml --test privacy --test public_token --test test_policy -- --test-threads=1"
},
"author": "Psy Protocol",
"license": "MIT"
}