{
    "name": "@energyweb/issuer-api",
    "version": "0.3.0",
    "description": "NestJS module for interacting with renewable energy certificates",
    "homepage": "https://github.com/energywebfoundation/origin/tree/master/packages/issuer-api#readme",
    "author": "EnergyWeb DevHub GmbH; Joseph Bagaric, joseph.bagaric@energyweb.org",
    "license": "GPL-3.0-or-later",
    "main": "dist/js/src/index.js",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/energywebfoundation/origin.git"
    },
    "bugs": {
        "url": "https://github.com/energywebfoundation/origin/issues"
    },
    "bin": {
        "issuer-api-migrate": "./bin/issuer-api-migrate"
    },
    "scripts": {
        "build": "yarn build:ts",
        "build:ts": "tsc -b tsconfig.json",
        "prettier": "prettier --write --config-precedence file-override './src/**/*'",
        "lint": "eslint \"src/**/*{.ts,.tsx}\" \"test/**/*{.ts,.tsx}\" --quiet",
        "lint-fix": "eslint \"src/**/*{.ts,.tsx}\" \"test/**/*{.ts,.tsx}\" --quiet --fix",
        "test": "jest --env 'node'",
        "test:watch": "jest --watch",
        "test:cov": "jest --coverage",
        "test:mocha": "mocha -r ts-node/register test/*.e2e-spec.ts --timeout 60000 --exit",
        "test:e2e": "yarn typeorm:run && npx concurrently --success first --kill-others -n eth,test \"yarn start-ganache\" \"npx wait-on tcp:8581 && yarn test:mocha\"",
        "start-ganache": "ganache-cli -m 'chalk park staff buzz chair purchase wise oak receive avoid avoid home' -l 8000000 -e 1000000 -a 20 -p 8581 -q",
        "clean": "shx rm -rf dist dist-shakeable",
        "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config ormconfig-dev.ts",
        "typeorm:migrate": "yarn typeorm migration:generate -- -n",
        "typeorm:run": "yarn typeorm migration:run",
        "typeorm:drop": "yarn typeorm schema:drop",
        "typeorm:dropAndMigrate": "yarn typeorm:drop && yarn typeorm:run",
        "precommit": "lint-staged"
    },
    "dependencies": {
        "@energyweb/issuer": "4.0.0",
        "@energyweb/origin-backend-core": "8.0.2",
        "@energyweb/origin-backend-utils": "1.6.0",
        "@energyweb/utils-general": "11.0.3",
        "@nestjs/common": "7.6.18",
        "@nestjs/config": "1.0.1",
        "@nestjs/core": "7.6.18",
        "@nestjs/cqrs": "7.0.1",
        "@nestjs/passport": "7.1.6",
        "@nestjs/schedule": "1.0.1",
        "@nestjs/swagger": "4.8.2",
        "@nestjs/typeorm": "7.1.5",
        "class-validator": "0.13.1",
        "ethers": "5.3.1",
        "ganache-cli": "6.12.2",
        "moment": "2.29.1",
        "moment-range": "4.0.2",
        "pg": "8.7.1",
        "precise-proofs-js": "1.2.0",
        "rxjs": "6.6.7",
        "swagger-ui-express": "4.1.6",
        "typeorm": "0.2.34"
    },
    "devDependencies": {
        "@nestjs/cli": "7.6.0",
        "@nestjs/schematics": "8.0.3",
        "@nestjs/testing": "7.6.18",
        "@types/chai": "4.2.15",
        "@types/express": "4.17.13",
        "@types/jest": "27.0.1",
        "@types/mocha": "9.0.0",
        "@types/node": "14.17.12",
        "@types/superagent": "4.1.12",
        "@types/supertest": "2.0.11",
        "chai": "4.3.0",
        "eslint-plugin-jest": "24.4.0",
        "jest": "27.1.0",
        "mocha": "9.1.1",
        "polly-js": "1.8.2",
        "prettier": "2.3.2",
        "supertest": "6.1.6",
        "ts-node": "9.1.1",
        "typescript": "4.4.2"
    },
    "jest": {
        "moduleFileExtensions": [
            "js",
            "json",
            "ts"
        ],
        "rootDir": "src",
        "testRegex": ".spec.ts$",
        "transform": {
            "^.+\\.(t|j)s$": "ts-jest"
        },
        "coverageDirectory": "../coverage",
        "testEnvironment": "node"
    },
    "publishConfig": {
        "access": "public",
        "registry": "https://registry.npmjs.org"
    },
    "files": [
        "dist",
        "bin"
    ],
    "resolutions": {
        "tslib": "2.3.1"
    }
}
