-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
18 lines (18 loc) · 980 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "pray-game",
"version": "1.0.0",
"description": "Smart contract infrastructure for PRAY game",
"author": "Platon Floria",
"license": "ISC",
"scripts": {
"build": "npm run build:character && npm run build:location",
"build:character": "cd character-contract && bash build.sh && cd ..",
"build:location": "cd location-contract && bash build.sh && cd ..",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "npm run test:unit:character && npm run test:unit:location",
"test:unit:character": "cd character-contract && cargo test -- --nocapture --color=always && cd ..",
"test:unit:location": "cd character-location && cargo test -- --nocapture --color=always && cd ..",
"test:integration": "npm run test:integration:rs",
"test:integration:rs": "cd integration-tests/rs && cargo run --example integration-tests"
}
}