{
    "name": "@energyweb/issuer",
    "description": "",
    "license": "GPL-3.0-or-later",
    "author": "",
    "homepage": "https://github.com/energywebfoundation/origin/tree/master/packages/issuer",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/energywebfoundation/origin.git"
    },
    "bugs": {
        "url": "https://github.com/energywebfoundation/origin/issues"
    },
    "version": "4.0.0",
    "main": "dist/js/src/index.js",
    "files": [
        "dist/js/build",
        "dist/js/src",
        "dist/js/schemas"
    ],
    "directories": {
        "test": "test"
    },
    "scripts": {
        "build": "yarn build:static && yarn build:ts && yarn generate:docs",
        "build:static": "yarn compile && yarn typechain:registry && yarn typechain:registry:extended && yarn typechain:issuer && yarn typechain:issuer:private",
        "build:ts": "tsc -b tsconfig.json && yarn copy:declarations",
        "copy:declarations": "shx cp src/ethers/*.d.ts dist/js/src/ethers",
        "typechain:registry": "typechain --target ethers-v5 --out-dir src/ethers './build/contracts/Registry.json'",
        "typechain:registry:extended": "typechain --target ethers-v5 --out-dir src/ethers './build/contracts/RegistryExtended.json'",
        "typechain:issuer": "typechain --target ethers-v5 --out-dir src/ethers './build/contracts/Issuer.json'",
        "typechain:issuer:private": "typechain --target ethers-v5 --out-dir src/ethers './build/contracts/PrivateIssuer.json'",
        "clean": "shx rm -rf dist dist-shakeable build src/ethers",
        "compile": "truffle compile",
        "deploy-contracts": "rm -rf build/contracts && truffle migrate --compile-all",
        "start-ganache": "ganache-cli -q -m 'chalk park staff buzz chair purchase wise oak receive avoid avoid home' -l 8000000 -e 1000000 -a 20 -p 8560",
        "test": "mocha -r ts-node/register test/*.test.ts --timeout 600000 --exit",
        "test:truffle": "rm -rf build/contracts && ts-node test/truffle/upgradedContract.ts && truffle test test/truffle/upgrades.test.js && rm -rf contracts/IssuerUpgradeTest.sol",
        "test:e2e": "concurrently --success first --kill-others -n eth,test \"yarn start-ganache\" \"wait-on tcp:8560 && yarn test\"",
        "test:ci:contracts": "concurrently --success first --kill-others -n eth,test \"yarn start-ganache\" \"wait-on tcp:8560 && yarn test:truffle\"",
        "prettier": "prettier --write --config-precedence file-override './src/**/*'",
        "lint": "eslint \"src/**/*{.ts,.tsx}\" --quiet",
        "lint-fix": "eslint \"src/**/*{.ts,.tsx}\" --fix",
        "precommit": "lint-staged",
        "audit": "mythx -c .mythx.yml analyze --remap-import \"@openzeppelin/=$(pwd)/node_modules/@openzeppelin/\"",
        "generate:docs": "solidity-docgen -i contracts -o ../../../docs/traceability/contracts --solc-module solc-0.8"
    },
    "types": "dist/js/src/index.d.ts",
    "dependencies": {
        "@energyweb/utils-general": "11.0.3",
        "@ethersproject/abi": "5.3.1",
        "@ethersproject/abstract-signer": "5.3.0",
        "@ethersproject/contracts": "5.3.0",
        "@ethersproject/providers": "5.3.1",
        "@ethersproject/wallet": "5.3.0",
        "dotenv": "10.0.0",
        "ethers": "5.3.1",
        "ganache-cli": "6.12.2",
        "moment": "2.29.1",
        "precise-proofs-js": "1.2.0",
        "winston": "3.3.3"
    },
    "devDependencies": {
        "@openzeppelin/contracts": "4.3.1",
        "@openzeppelin/contracts-upgradeable": "4.3.1",
        "@openzeppelin/truffle-upgrades": "1.9.0",
        "@typechain/ethers-v5": "7.0.1",
        "@types/chai": "4.2.15",
        "@types/dotenv": "6.1.1",
        "@types/mocha": "9.0.0",
        "@types/node": "14.17.12",
        "@types/supertest": "2.0.11",
        "chai": "4.3.0",
        "ethlint": "1.2.5",
        "mocha": "9.1.1",
        "shx": "0.3.3",
        "solc": "0.8.4",
        "solc-0.8": "npm:solc@0.8.4",
        "solidity-docgen": "0.5.13",
        "truffle": "5.4.8",
        "truffle-typings": "1.0.8",
        "ts-node": "9.1.1",
        "typechain": "5.1.2",
        "typescript": "4.4.2",
        "winston-transport": "4.4.0"
    },
    "publishConfig": {
        "access": "public",
        "registry": "https://registry.npmjs.org"
    }
}
