{
    "name": "@orchard/frontend-participant-components",
    "version": "1.1.101",
    "description": "Shared Participant components library.",
    "author": "The Orchard",
    "private": true,
    "main": "build/frontend-participant-components.main.js",
    "module": "dist/src/index.js",
    "browser": "dist/src/index.js",
    "engines": {
        "node": ">=24"
    },
    "scripts": {
        "deploy": "NODE_ENV=production yarn build:cjs && yarn build:es",
        "build": "NODE_ENV=production yarn build:cjs && yarn build:es",
        "build:cjs": "frontend build --disable-locale-entry --disable-locales && node scripts/cjs.js",
        "build:es": "rm -rf dist && babel -d dist --no-babelrc --config-file ./babel.config.es.js . && cp locale/*.json dist/locale",
        "build:styleguidist": "frontend validate && styleguidist build",
        "lint:css": "stylelint 'src/**/*.scss' --customSyntax postcss-scss",
        "lint:js": "biome check src --max-diagnostics 1000",
        "lint": "yarn lint:css && yarn lint:js",
        "test:unit": "jest",
        "test": "frontend validate && yarn lint && yarn test:unit",
        "start": "frontend validate && styleguidist server",
        "ci": "yarn lint && yarn test:unit && yarn build:cjs && yarn build:es && yarn build:styleguidist"
    },
    "lint-staged": {
        "*.js": [
            "biome check --write",
            "jest --bail --findRelatedTests --config=jest.config.json"
        ]
    },
    "browserslist": {
        "production": [
            ">0.2%",
            "not dead",
            "not op_mini all"
        ],
        "development": [
            "last 1 chrome version",
            "last 1 firefox version",
            "last 1 safari version"
        ]
    },
    "jest": {
        "preset": "@theorchard/frontend-cli",
        "setupFilesAfterEnv": [
            "<rootDir>/jest.setup.js"
        ]
    },
    "devDependencies": {
        "@apollo/client": "^3.0.0",
        "@babel/cli": "^7.24.4",
        "@babel/core": "^7.24.4",
        "@biomejs/biome": "^2.3.11",
        "@testing-library/jest-dom": "^5.16.4",
        "@theorchard/frontend-cli": "^2.36.0",
        "babel-plugin-import-graphql": "^2.7.0",
        "babel-plugin-inline-json-import": "^0.3.2",
        "babel-plugin-module-resolver": "^4.0.0",
        "babel-plugin-transform-require-ignore": "^0.1.1",
        "enzyme": "^3.11.0",
        "enzyme-adapter-react-16": "^1.15.2",
        "graphql": "^16.0.0",
        "graphql-tag": "^2.10.3",
        "jest": "^26.6.3",
        "jest-enzyme": "7.1.2",
        "jest-transform-graphql": "^2.1.0",
        "postcss-scss": "^4.0.9",
        "react": "^16.8.6",
        "react-dom": "^16.8.6",
        "react-styleguidist": "^12.0.1",
        "stylelint": "^14.16.1",
        "stylelint-config-recommended": "^9.0.0",
        "typescript": "^4.9.5"
    },
    "peerDependencies": {
        "@apollo/client": "^3.0.0",
        "graphql": "^16.0.0",
        "lodash": ">=4.17.0",
        "moment": ">=2.22.0",
        "prop-types": ">=15.5.10",
        "react": "^16.8.6"
    },
    "dependencies": {
        "@orchard/frontend-localization": "^1.1.12",
        "@orchard/frontend-react-components": "^3.1.30",
        "react-select": "^5.10.2"
    },
    "files": [
        "build",
        "dist"
    ],
    "frontend": {
        "options": {
            "entry": "index",
            "outputTarget": "commonjs",
            "disableHtmlOutput": true,
            "disableCacheGroups": true,
            "disableFilenameHash": true,
            "externals": [
                "@apollo/client",
                "@orchard/frontend-localization",
                "@orchard/frontend-react-components",
                "graphql",
                "lodash",
                "moment",
                "prop-types",
                "react-dom",
                "react"
            ]
        }
    }
}
