{
    "name": "@theorchard/accounting-apps-shared",
    "version": "1.11.1",
    "description": "This package contains shared constants, types, utilities and components for the Accounting apps.",
    "author": "The Orchard",
    "license": "MIT",
    "main": "dist/cjs/src/index.js",
    "module": "dist/esm/src/index.js",
    "types": "dist/esm/src/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/esm/src/index.d.ts",
            "import": "./dist/esm/src/index.js",
            "require": "./dist/cjs/src/index.js"
        },
        "./test-utils": {
            "types": "./dist/esm/src/test-utils/index.d.ts",
            "import": "./dist/esm/src/test-utils/index.js",
            "require": "./dist/cjs/src/test-utils/index.js"
        }
    },
    "publishConfig": {
        "registry": "https://npm.pkg.github.com"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/theorchard/orchard-suite.git"
    },
    "prettier": "@theorchard/prettier-config",
    "eslintConfig": {
        "extends": "@theorchard/react-ts-prettier",
        "rules": {
            "testing-library/no-render-in-lifecycle": "off"
        }
    },
    "scripts": {
        "build:cjs": "tsc --build ./tsconfig.cjs.json",
        "build:esm": "tsc --build ./tsconfig.esm.json",
        "build": "pnpm run build:esm && pnpm run build:cjs",
        "clean": "rm -rf dist & rm -rf .cache",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "lint:css": "stylelint 'src/**/*.scss'",
        "lint:js": "eslint --ext .js,.ts,.tsx,.jsx --cache --cache-location .cache/.eslintcache src",
        "lint": "pnpm lint:css && pnpm lint:js",
        "test:unit": "vitest --passWithNoTests",
        "test": "pnpm lint && pnpm check:types && pnpm test:unit",
        "check:types": "./scripts/checkGeneratedTypes.sh",
        "generate:types": "pnpm graphql-codegen --config codegen.ts"
    },
    "files": [
        "dist"
    ],
    "peerDependencies": {
        "@apollo/client": "3.x",
        "@theorchard/constants": "^1.x",
        "@theorchard/suite-components": "^13.x",
        "@theorchard/suite-frontend": "^9.x",
        "@theorchard/suite-icons": "^7.x",
        "@theorchard/countries": "^3.x",
        "dayjs": "1.x",
        "react": ">=18.2.0",
        "react-dom": ">=18.2.0"
    },
    "devDependencies": {
        "@graphql-codegen/add": "^6.0.0",
        "@graphql-codegen/cli": "^5.0.3",
        "@graphql-codegen/client-preset": "4.3.3",
        "@graphql-codegen/introspection": "4.0.3",
        "@graphql-codegen/near-operation-file-preset": "^3.0.0",
        "@graphql-codegen/typescript": "^4.1.1",
        "@graphql-codegen/typescript-operations": "^4.3.1",
        "@graphql-tools/jest-transform": "^2.0.0",
        "@theorchard/constants": "workspace:*",
        "@theorchard/countries": "workspace:*",
        "@theorchard/suite-i18n": "workspace:*",
        "@theorchard/suite-testing": "workspace:*",
        "@theorchard/suite-theming": "workspace:*",
        "@theorchard/vitest-config": "^2.1.0",
        "dotenv": "16.5.0",
        "graphql": "^15.3.0",
        "graphql-tag": "^2.12.6",
        "stylelint": "^14.3.0",
        "vite-plugin-graphql-loader": "^3.0.1"
    }
}
