-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
45 lines (41 loc) · 1.58 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
{
"name": "postum",
"version": "0.0.1",
"description": "Forum built on the simple Poster smart contract",
"main": "index.js",
"author": "Ezra Weller",
"license": "MIT",
"private": true,
"engines": {
"node": "~14.17.0"
},
"workspaces": [
"client",
"json-schema",
"poster",
"react",
"subgraph"
],
"scripts": {
"up": "yarn docker-up",
"build": "yarn build-poster && yarn build-json-schema && yarn build-subgraph",
"deploy-local": "yarn deploy-poster-local && yarn deploy-subgraph-local",
"react-local": "yarn workspace @postum/react dev",
"down": "yarn docker-down && yarn docker-clean",
"docker-up": "docker-compose -f docker-compose.yaml up -d",
"docker-down": "docker-compose -f docker-compose.yaml down",
"docker-clean": "docker volume rm postum_postgres-volume",
"docker-logs": "docker-compose -f docker-compose.yaml logs",
"build-poster": "yarn workspace @postum/poster build",
"build-json-schema": "yarn workspace @postum/json-schema build",
"build-subgraph": "yarn workspace @postum/subgraph build-all",
"deploy-poster-local": "yarn workspace @postum/poster deploy-local",
"deploy-subgraph-local": "yarn workspace @postum/subgraph create-and-deploy-local",
"test": "yarn test-unit && yarn test-integration",
"test-unit": "yarn test-poster && yarn test-json-schema",
"test-integration": "yarn test-client",
"test-poster": "yarn workspace @postum/poster test-local",
"test-json-schema": "yarn workspace @postum/json-schema test",
"test-client": "yarn workspace @postum/client test"
}
}