@cartesi/logger
Version:
87 lines (86 loc) • 3.98 kB
JSON
{
"name": "@cartesi/logger",
"version": "0.8.0",
"description": "Logger DLib",
"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",
"clean": "rimraf artifacts && rimraf cache && rimraf deployments/localhost && rimraf src/types/* && rimraf dist",
"deploy": "run-s deploy:development",
"deploy:testnet": "run-s deploy:goerli deploy:matic_testnet deploy:bsc_testnet deploy:avax_testnet",
"deploy:development": "hardhat deploy --network localhost",
"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.",
"deploy:bsc_testnet": "Deploy contracts to bsc_testnet.",
"deploy:avax_testnet": "Deploy contracts to avax_testnet."
},
"dependencies": {
"@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-etherscan": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^6.0.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.10",
"chai": "^4.2.0",
"copyfiles": "^2.4.1",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.24",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"rimraf": "^3.0.2",
"ts-generator": "^0.1.1",
"ts-node": "^9.0.0",
"typechain": "^4.0.0",
"typescript": "^4.1.2"
},
"repository": {
"type": "git",
"url": "git://github.com/cartesi/logger-dlib.git"
},
"keywords": [
"cartesi"
],
"files": [
"contracts",
"deployments/*/*.json",
"deployments/*/.chainid",
"dist/src/types",
"dist/deploy/*.js",
"export"
],
"main": "./dist/src/types/index.js",
"types": "./dist/src/types/index.d.ts",
"author": "Danilo Tuler <danilo.tuler@cartesi.io>",
"license": "GPL-3.0-only"
}