{
  "name": "@repay/cactus-web",
  "version": "9.13.2",
  "description": "A UI component library for web built in React by REPAY",
  "main": "dist/cactus-web.cjs.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "repository": "https://github.com/repaygithub/cactus/tree/master/modules/cactus-web",
  "license": "MIT",
  "sideEffects": [
    "dist/helpers/polyfills.js",
    "dist/index.js",
    "src/helpers/polyfills.ts",
    "cactus-addon/register.jsx"
  ],
  "scripts": {
    "cleanup": "rm -rf dist coverage .storybook/dist",
    "new": "node scripts/make-component.js",
    "test": "jest --testPathIgnorePatterns=\"storyshots.test.ts\"",
    "tdd": "jest --testPathIgnorePatterns=\"storyshots.test.ts\" --watch",
    "tdd:focus": "yarn tdd --testPathPattern",
    "test:focus": "jest --testPathPattern",
    "test:stories": "yarn start-storybook -p 9122 -c .storybook --smoke-test",
    "test:local": " yarn test:types && yarn test",
    "test:visual": "start-test 'start-storybook -p 9001 -c .storybook --ci' 9001 'yarn test:focus \"storyshots.test.ts\"'",
    "test:visual-update": "start-test 'start-storybook -p 9001 -c .storybook --ci' 9001 'yarn test:focus \"storyshots.test.ts\" -u'",
    "test:ci": "yarn test:local --maxWorkers=2 && yarn test:stories",
    "test:types": "tsc -p ./tsconfig.json --noEmit",
    "start": "start-storybook -p 9001 -c .storybook",
    "dev": "echo \"This now builds in watch mode, use yarn web start for storybook\\n\"; repay-scripts dev --lib --tree-shaking src/index.ts",
    "build:stories": "build-storybook -c .storybook -o ./.storybook/dist",
    "build": "repay-scripts build --lib --tree-shaking src/index.ts && yarn postbuild",
    "postbuild": "yarn build:types",
    "build:types": "tsc --project ./tsconfig.build.json --emitDeclarationOnly"
  },
  "jest": {
    "transform": {
      "^.+\\.(t|j)sx?$": "babel-jest"
    },
    "transformIgnorePatterns": [
      "/node_modules/(?!@repay/cactus-icons)"
    ],
    "moduleNameMapper": {
      "^styled-components": "<rootDir>/../../node_modules/styled-components/dist/styled-components.browser.cjs.js"
    },
    "setupFiles": [
      "<rootDir>/.jest/register-context.js"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/tests/__setup__/setup.ts"
    ],
    "testRegex": ".*\\.test\\.(tsx?)$",
    "verbose": true,
    "coverageReporters": [
      "lcov",
      "text",
      "json-summary"
    ],
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}",
      "!src/**/*.story.{ts,tsx}",
      "!src/storySupport/**"
    ],
    "reporters": [
      "default",
      [
        "jest-sonar",
        {
          "outputDirectory": ".",
          "outputName": "test-report.xml"
        }
      ]
    ],
    "testEnvironment": "jsdom"
  },
  "devDependencies": {
    "@babel/core": "^7.17.5",
    "@babel/plugin-proposal-private-property-in-object": "^7.16.0",
    "@repay/babel-preset": "^1.1.4",
    "@repay/cactus-theme": "^3.2.5",
    "@repay/scripts": "^3.0.4",
    "@storybook/addon-controls": "6.3.8",
    "@storybook/addon-docs": "6.3.8",
    "@storybook/addon-ie11": "^0.0.6",
    "@storybook/addon-storyshots": "6.3.8",
    "@storybook/addon-storyshots-puppeteer": "6.3.8",
    "@storybook/addon-viewport": "6.3.8",
    "@storybook/components": "6.3.8",
    "@storybook/react": "6.3.8",
    "@storybook/theming": "6.3.8",
    "@testing-library/jest-dom": "^5.16.2",
    "@testing-library/react": "^12.1.4",
    "@testing-library/user-event": "^13.5.0",
    "@types/jest": "^27.4.1",
    "@types/lodash": "^4.14.180",
    "@types/node": "^17.0.21",
    "@types/puppeteer": "^5.4.5",
    "@types/react": "^17.0.40",
    "@types/react-color": "^2.17.6",
    "@types/react-transition-group": "^4.4.4",
    "@types/styled-components": "5.1.24",
    "@types/styled-system": "^5.1.15",
    "@types/tinycolor2": "^1.4.3",
    "@types/user-event": "^4.1.1",
    "babel-jest": "^27.5.1",
    "babel-loader": "^8.2.3",
    "babel-plugin-require-context-hook": "^1.0.0",
    "csstype": "^3.0.11",
    "jest": "^27.5.1",
    "jest-sonar": "^0.2.12",
    "jest-styled-components": "^7.0.8",
    "prop-types": "^15.8.1",
    "puppeteer": "^5.5.0",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "start-server-and-test": "1.14.0",
    "styled-components": "^5.3.3",
    "typescript": "~4.6.2"
  },
  "peerDependencies": {
    "@repay/cactus-theme": ">=3.0.0",
    "prop-types": ">=15.7.0",
    "react": "^16.8.3 || ^17.0.0",
    "styled-components": "^5.1.0"
  },
  "dependencies": {
    "@reach/dialog": "^0.16.2",
    "@reach/menu-button": "^0.16.2",
    "@reach/popover": "^0.16.2",
    "@reach/rect": "^0.16.0",
    "@reach/utils": "^0.16.0",
    "@reach/visually-hidden": "^0.16.0",
    "@repay/cactus-icons": "^3.1.7",
    "lodash": "^4.17.21",
    "react-color": "^2.19.3",
    "react-transition-group": "^4.4.2",
    "styled-system": "^5.1.5",
    "tinycolor2": "^1.4.2"
  },
  "gitHead": "0270e0de26fecbdff70ee85ab80435e9f0d9f192"
}
