-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (57 loc) · 2.92 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
52
53
54
55
56
57
{
"name": "@latticexyz/persona",
"version": "1.2.0",
"description": "Persona",
"files": [
"abi/",
"src/L1",
"src/L2",
"src/libraries",
"deployment.json",
"LICENSE"
],
"scripts": {
"release": "release-it",
"init:submodules": "git submodule update --init --recursive",
"// deployment and tasks": "",
"deploy": "dotenv -- zx src/deployments/deploy.mjs",
"task:mint:gc": "dotenv -- zx src/tasks/mint/mint-tasks.mjs 100",
"task:mint:kovan": "dotenv -- zx src/tasks/mint/mint-tasks.mjs 42",
"// subgraphs": "",
"foundry:build": "forge build --force && cp out/Persona.sol/Persona.json abi/ && cp out/PersonaMirror.sol/PersonaMirror.json abi/ && cp out/MockL2Bridge.sol/MockL2Bridge.json abi/ && cp out/PersonaAllMinter.sol/PersonaAllMinter.json abi/",
"graph:export-abi": "yarn foundry:build && cp out/Persona.sol/Persona.json subgraphs/L1/abis/ && cp out/PersonaMirror.sol/PersonaMirror.json subgraphs/L2/abis/",
"graph:codegen": "yarn graph:export-abi && graph codegen subgraphs/L1/subgraph.yaml -o subgraphs/L1/generated && graph codegen subgraphs/L2/subgraph.yaml -o subgraphs/L2/generated",
"graph:build:subgraph": "graph build subgraphs/L1/subgraph.yaml -o subgraph-build/L1 && graph build subgraphs/L2/subgraph.yaml -o subgraph-build/L2",
"graph:build": "yarn graph:export-abi && yarn graph:codegen && yarn graph:build:subgraph",
"// L1": "",
"graph:deploy:gc": "graph deploy --node https://api.thegraph.com/deploy/ latticexyz/persona-l1 subgraphs/L1/subgraph.yaml",
"graph:deploy:kovan": "graph deploy --node https://api.thegraph.com/deploy/ latticexyz/persona-l1-kovan subgraphs/L1/subgraph-kovan.yaml",
"// L2": "",
"graph:create:oegc": "graph create --node https://admin-graph-optimism.gnosischain.com/ latticexyz/persona-l2 subgraphs/L2/subgraph.yaml",
"graph:remove:oegc": "graph remove --node https://admin-graph-optimism.gnosischain.com/ latticexyz/persona-l2 subgraphs/L2/subgraph.yaml",
"graph:deploy:oegc": "graph deploy --node https://admin-graph-optimism.gnosischain.com/ --ipfs https://ipfs-graph-optimism.gnosischain.com/ latticexyz/persona-l2 subgraphs/L2/subgraph.yaml",
"graph:deploy:oekovan": "graph deploy --node https://api.thegraph.com/deploy/ latticexyz/persona-l2-kovan subgraphs/L2/subgraph-kovan.yaml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/latticexyz/persona.git"
},
"author": "Lattice",
"license": "MIT",
"bugs": {
"url": "https://github.com/latticexyz/persona/issues"
},
"homepage": "https://github.com/latticexyz/persona#readme",
"devDependencies": {
"@graphprotocol/graph-cli": "^0.26.0",
"@graphprotocol/graph-ts": "^0.24.1",
"@types/node": "^12.0.0",
"dotenv-cli": "^5.0.0",
"release-it": "^14.12.4",
"zx": "^5.0.0",
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.59",
"solhint": "^3.2.1",
"solhint-plugin-prettier": "^0.0.5"
}
}