forked from cartesi/compute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 4.73 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@cartesi/descartes-sdk",
"version": "1.2.2",
"description": "Cartesi Descartes SDK",
"scripts": {
"build": "hardhat compile && tsc",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/src",
"export": "hardhat export-artifacts export/artifacts",
"info": "npm-scripts-info",
"prepare": "run-s clean build copy-dts export",
"test": "hardhat test --deploy-fixture ./test/*.ts",
"test:integration": "./test/integration/run.sh",
"clean": "rimraf artifacts && rimraf cache && rimraf deployments/localhost && rimraf deployments/coverage && rimraf src/types/* && rimraf dist",
"deploy": "run-s deploy:development",
"deploy:testnet": "run-s deploy:rinkeby deploy:kovan deploy:goerli deploy:matic_testnet deploy:bsc_testnet deploy:avax_testnet",
"deploy:development": "hardhat deploy --network localhost --export export/abi/localhost.json",
"deploy:rinkeby": "hardhat deploy --network rinkeby --export export/abi/rinkeby.json",
"deploy:kovan": "hardhat deploy --network kovan --export export/abi/kovan.json",
"deploy:goerli": "hardhat deploy --network goerli --export export/abi/goerli.json",
"deploy:matic_testnet": "hardhat deploy --network matic_testnet --export export/abi/matic_testnet.json",
"deploy:bsc_testnet": "hardhat deploy --network bsc_testnet --export export/abi/bsc_testnet.json",
"deploy:avax_testnet": "hardhat deploy --network avax_testnet --export export/abi/avax_testnet.json",
"prepack": "run-s deploy:testnet",
"start": "hardhat node"
},
"scripts-info": {
"build": "Build contracts and typescript code",
"copy-dts": "Copy TypeChain type definition files to typescript output dir",
"export": "Export artifacts in a simpler format",
"info": "Displays information about the scripts.",
"test": "Run unit tests",
"clean": "Clean build artifacts, including contracts local deployment information",
"deploy": "Deploy contracts to local ganache. Requires ganache running on localhost:8545",
"deploy:testnet": "Deploy contracts to all supported testnets. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:development": "Deploy contracts to local ganache. Requires ganache running on localhost:8545",
"deploy:rinkeby": "Deploy contracts to rinkeby. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:kovan": "Deploy contracts to kovan. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:goerli": "Deploy contracts to goerli. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:matic_testnet": "Deploy contracts to matic_testnet. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:bsc_testnet": "Deploy contracts to bsc_testnet. Requires one environment variable: MNEMONIC.",
"deploy:avax_testnet": "Deploy contracts to avax_testnet. Requires one environment variable: MNEMONIC."
},
"repository": {
"type": "git",
"url": "git+https://github.com/cartesi/descartes.git"
},
"keywords": [
"cartesi"
],
"author": "Danilo Tuler <[email protected]>",
"license": "GPL-3.0-only",
"main": "./dist/src/types/index.js",
"types": "./dist/src/types/index.d.ts",
"bugs": {
"url": "https://github.com/cartesi/descartes/issues"
},
"homepage": "https://github.com/cartesi/descartes#readme",
"dependencies": {
"@cartesi/arbitration": "^0.6.0",
"@cartesi/logger": "^0.7.1",
"@cartesi/machine-solidity-step": "^0.7.0",
"@cartesi/util": "^2.0.1"
},
"devDependencies": {
"hardhat": "^2.0.3",
"hardhat-deploy": "0.7.0-beta.46",
"hardhat-typechain": "^0.3.3",
"hardhat-deploy-ethers": "0.3.0-beta.7",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-solpp": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^6.0.4",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.10",
"chai": "^4.2.0",
"commander": "^4.1.0",
"copyfiles": "^2.4.1",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.24",
"npm-run-all": "^4.1.5",
"solidity-coverage": "^0.7.0",
"ts-generator": "^0.1.1",
"ts-node": "^9.0.0",
"typechain": "^4.0.0",
"typescript": "^4.1.2"
},
"resolutions": {
"antlr4": "4.8.0"
},
"files": [
"contracts",
"deployments/*/*.json",
"deployments/*/.chainid",
"dist/src/types",
"dist/deploy/*.js",
"export"
]
}