{
  "name": "wix-style-react",
  "description": "wix-style-react",
  "version": "9.170.0",
  "main": "./dist/src/index.js",
  "module": "./dist/es/src/index.js",
  "browser": {
    "./index.st.css": "./dist/es/src/index.st.css"
  },
  "typings": "./dist/es/src/index.d.ts",
  "sideEffects": [
    "./.storybook/**/*.*",
    "./stories/**/*.*",
    "./dist/**/*.global.scss",
    "./src/**/*.scss"
  ],
  "files": [
    "dist",
    "src",
    "themes",
    "AtlasAddressInput",
    "scripts",
    "babel.config.js",
    "testkit",
    "es",
    "*.scss",
    "*.js",
    "*.d.ts",
    "index.st.css"
  ],
  "wix": {
    "artifact": {
      "groupId": "com.wixpress.restaurants",
      "artifactId": "wix-style-react"
    },
    "validations": {
      "source": [
        "lint"
      ],
      "postBuild": [
        "ci-test-unit",
        {
          "scriptName": "ci-test-visual",
          "timeout": 40
        },
        "ci-test-types",
        "ci-test-sanity",
        "ci-publish-storybook"
      ]
    },
    "loki": {
      "enable": false
    }
  },
  "scripts": {
    "------shared prebuilds (try to make them in watch mode)": "",
    "prestorybook": "./scripts/ensure-dist.sh && npm run generate-autodocs-registry",
    "generate-autodocs-registry": "node scripts/generate-autodocs-registry",
    "storybook:build": "npm run prestorybook && NODE_OPTIONS=--max_old_space_size=4096 DISABLE_REACT_PROP_TYPE_REMOVAL=true build-storybook --quiet --static-dir ./src/assets,./docs/assets",
    "------new components generators": "",
    "generate": "wuf generate --output src --codemods .wuf/generator/codemods --templates .wuf/generator/templates",
    "postgenerate": "npm run update-components && git add . -A",
    "------start/watch modes (can also be used for testing against start)": "",
    "start": "./scripts/npm-start.sh",
    "storybook": "npm run prestorybook && start-storybook -s ./src/assets,./docs/assets -p 6006",
    "storybook:visual": "npm run prestorybook && start-storybook -c ./.storybook/visual -p 6007",
    "storybook:e2e": "npm --prefix ../wix-style-react-e2e run storybook:e2e",
    "------test": "",
    "test": "npm run test:unit && npm run test:visual && npm run test:e2e && npm run test:types && npm run sanity",
    "test:unit": "NODE_ICU_DATA=node_modules/full-icu jest",
    "test:watch": "jest --watch",
    "pretest:e2e": "./scripts/ensure-dist.sh",
    "test:e2e": "npm --prefix ../wix-style-react-e2e run test",
    "test:e2e-only": "NODE_ENV=production yoshi test --protractor",
    "pretest:visual": "npm run generate-autodocs-registry",
    "test:visual": "eyes-storybook -c ./.storybook/visual",
    "test:types": "tsc -p tsconfig.declarations.json",
    "test:swimm": "SWIMM_PATH=./node_modules/.bin/swimm_cli && ./scripts/get-swimm.sh $SWIMM_PATH $FORCE && ./scripts/run-swimm.sh $SWIMM_PATH",
    "sanity": "autotools-sanity --files './src/**/@(CopyClipboard|Stepper).meta.js'",
    "------git hooks": "",
    "precommit": "./scripts/pre-commit.sh",
    "------build steps": "",
    "prebuild": "npm run update-components",
    "build": "npm run transpile && npm run build-puppeteer-testkit && cp src/*.scss .",
    "update-components": ".wuf/update-components.sh",
    "lint": "eslint \"{src,test,testkit,stories}/**/*.js\" --cache --cache-location target/.eslintcache --fix",
    "transpile": "node ./scripts/transpile/index.js",
    "build-puppeteer-testkit": "webpack --config ./testkit/webpack.config.js",
    "storybook:build-visual": "build-storybook -c ./.storybook/visual",
    "-----CI validation scripts": "",
    "ci-test-unit": "npm run test:unit",
    "ci-test-visual": "APPLITOOLS_BRANCH=`node ../../scripts/get-branch-name.js` npm run test:visual",
    "ci-test-e2e-batch": "APPLITOOLS_BRANCH=`node ../../scripts/get-branch-name.js` YOSHI_PROTRACTOR_CONFIG=./protractor1.conf.js npm run test:e2e",
    "ci-test-e2e-batch2": "APPLITOOLS_BRANCH=`node ../../scripts/get-branch-name.js` YOSHI_PROTRACTOR_CONFIG=./protractor2.conf.js npm run test:e2e",
    "ci-test-types": "npm run test:types",
    "ci-test-sanity": "npm run sanity",
    "-----CI publish scripts": "",
    "ci-publish-storybook": "npm run storybook:build && janet deploy --ci"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/wix-private/wix-design-systems.git",
    "directory": "packages/wix-style-react"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/wix-private/wix-design-systems/issues"
  },
  "homepage": "https://github.com/wix-private/wix-design-systems#readme",
  "peerDependencies": {
    "react": "^16.14.0 || ^17.0.0",
    "react-dom": "^16.14.0 || ^17.0.0",
    "@wix/ambassador": "^4.0.485",
    "@wix/ambassador-wix-atlas-service-web": "^1.0.150"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "dependencies": {
    "@babel/runtime": "^7.14.8",
    "@date-fns/upgrade": "^1.0.3",
    "@loadable/component": "^5.15.0",
    "@stylable/dom-test-kit": "^3.12.4",
    "@types/color": "^2.0.2",
    "@types/react": "^16.14.11",
    "chart.js": "^2.9.4",
    "classnames": "^2.3.1",
    "color": "^2.0.1",
    "css-element-queries": "^1.2.3",
    "d3": "^6.7.0",
    "date-fns": "^2.23.0",
    "difference": "^1.0.2",
    "draft-convert": "^2.1.11",
    "draft-js": "^0.11.7",
    "draft-js-export-html": "^1.4.1",
    "gradient-parser": "^0.1.5",
    "hoist-non-react-methods": "^1.1.0",
    "howler": "^2.2.3",
    "lodash": "4.17.19",
    "moment": "^2.29.1",
    "omit": "^1.0.1",
    "prop-types": "^15.7.2",
    "rc-slider": "^9.7.2",
    "react-chartjs-2": "^2.11.2",
    "react-day-picker": "^7.4.10",
    "react-dnd": "^11.1.3",
    "react-dnd-test-backend": "^11.1.3",
    "react-dnd-touch-backend": "^11.1.3",
    "react-dom-instance": "^2.0.0",
    "react-modal": "3.10.1",
    "react-motion": "^0.5.2",
    "react-portal": "^4.2.1",
    "react-scroll-sync": "^0.8.0",
    "react-slick": "^0.27.14",
    "react-transition-group": "^2.9.0",
    "react-window": "^1.8.6",
    "shallowequal": "^1.1.0",
    "slick-carousel": "^1.8.1",
    "wix-animations": "^1.0.407",
    "wix-design-systems-locale-utils": "1.9.0",
    "wix-eventually": "^2.3.0",
    "wix-ui-core": "^3.0.222",
    "wix-ui-icons-common": "^2.0.377",
    "wix-ui-test-utils": "^1.0.183",
    "yoshi-stylable-dependencies": "4.331.0"
  },
  "devDependencies": {
    "full-icu": "^1.3.4",
    "react-autodocs-utils": "^3.7.1",
    "wix-storybook-utils": "^4.0.39",
    "cista": "0.0.3",
    "postcss": "^8.3.7",
    "rimraf": "^2.7.1",
    "sinon": "^1.17.7",
    "@wix/janet": "^1.0.119",
    "execa": "^4.1.0",
    "stylelint": "^13.13.1",
    "stylelint-no-unsupported-browser-features": "^4.1.4",
    "wix-ui-framework": "^3.7.4",
    "@applitools/eyes-storybook": "^3.22.6",
    "@babel/cli": "~7.11.6",
    "@babel/core": "~7.11.6",
    "@babel/parser": "~7.11.5",
    "@babel/plugin-proposal-class-properties": "^7.14.5",
    "@babel/plugin-proposal-export-namespace-from": "^7.14.5",
    "@babel/plugin-transform-modules-commonjs": "^7.14.5",
    "@babel/plugin-transform-runtime": "^7.14.5",
    "@babel/preset-env": "^7.14.8",
    "@babel/preset-react": "^7.14.5",
    "@babel/register": "^7.14.5",
    "@storybook/addon-google-analytics": "^5.3.21",
    "@storybook/addon-links": "^5.3.21",
    "@storybook/addon-options": "^5.3.21",
    "@storybook/addons": "^5.3.21",
    "@storybook/react": "^5.3.21",
    "@stylable/cli": "^3.12.5",
    "@stylable/core": "^3.12.4",
    "@stylable/jest": "^3.12.4",
    "@stylable/webpack-plugin": "^3.12.4",
    "@testing-library/react": "^11.2.7",
    "@testing-library/react-hooks": "^3.7.0",
    "@types/enzyme": "^3.10.9",
    "@types/howler": "^2.2.3",
    "@types/jest": "^23.3.14",
    "@types/lodash": "^4.14.171",
    "@types/node": "^12.20.17",
    "@types/react": "^16.14.11",
    "@types/react-dom": "^16.9.14",
    "@ui-autotools/a11y": "^5.0.1",
    "@ui-autotools/registry": "^5.0.0",
    "@ui-autotools/sanity": "^5.0.1",
    "@wix/ambassador": "^4.0.485",
    "@wix/ambassador-testkit": "^5.0.325",
    "@wix/ambassador-wix-atlas-service-web": "^1.0.185",
    "@wix/babel-preset-yoshi": "^4.332.1",
    "@wix/ci-build-info": "^1.0.295",
    "@wix/yoshi": "^4.332.1",
    "@wix/yoshi-config": "^4.332.1",
    "@wix/yoshi-flow-library": "^4.332.1",
    "babel-loader": "^8.2.2",
    "babel-plugin-dynamic-import-node": "^2.3.3",
    "copy": "^0.3.2",
    "core-js": "^2.6.12",
    "detect-port": "^1.3.0",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.6",
    "eslint-config-yoshi": "^4.332.1",
    "eslint-plugin-react": "^6.10.3",
    "eslint-plugin-stylable": "^3.12.4",
    "eslint-plugin-wix-components-library": "^1.0.0",
    "eyes.it": "^2.0.53",
    "globby": "^11.0.4",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^24.9.0",
    "jest-canvas-mock": "^2.3.1",
    "jest-yoshi-preset": "^4.332.1",
    "node-fetch": "^2.6.1",
    "prop-types": "^15.7.2",
    "puppeteer": "^1.20.0",
    "raf": "^3.4.1",
    "raw-loader": "^4.0.2",
    "react-test-renderer": "^16.14.0",
    "regenerator-runtime": "^0.13.9",
    "storybook-addon-i18n": "^5.1.13",
    "storybook-snapper": "^1.0.66",
    "typescript": "^3.9.10",
    "webpack": "^4.46.0",
    "webpack-cli": "^3.3.12",
    "wix-ui-test-utils": "^1.0.183",
    "yoshi-runtime": "1.0.732",
    "yoshi-style-dependencies": "^4.332.1"
  },
  "eslintConfig": {
    "extends": [
      "yoshi",
      "plugin:stylable/recommended"
    ],
    "env": {
      "jest": true
    },
    "parserOptions": {
      "ecmaFeatures": {
        "legacyDecorators": true
      }
    },
    "plugins": [
      "eslint-plugin-wix-components-library"
    ],
    "rules": {
      "wix-components-library/prop-types-restrict-to-default-import": 2,
      "import/no-unresolved": 0,
      "jsx-a11y/alt-text": 0,
      "jsx-a11y/anchor-is-valid": 0,
      "react/forbid-foreign-prop-types": 0,
      "react/jsx-handler-names": 0,
      "react/no-find-dom-node": 0,
      "react/no-string-refs": 0,
      "react/jsx-boolean-value": 2,
      "no-restricted-properties": [
        "error",
        {
          "object": "browser",
          "property": "pause",
          "message": "Do not commit browser.pause()."
        },
        {
          "object": "browser",
          "property": "sleep",
          "message": "Do not commit browser.sleep()."
        },
        {
          "object": "eyes",
          "property": "fit",
          "message": "Do not commit eyes.fit()."
        }
      ],
      "no-restricted-globals": [
        "error",
        "fdescribe",
        "fit",
        {
          "name": "Proxy",
          "message": "Proxy not supported in IE11."
        }
      ],
      "no-restricted-imports": [
        "error",
        {
          "patterns": [
            "wix-ui-core/*",
            "!wix-ui-core/dist",
            "!wix-ui-core/drivers"
          ],
          "paths": [
            {
              "name": "lodash/isObject",
              "message": "Please use {isObject} from src/utils/operators"
            },
            {
              "name": "lodash/mapValue",
              "message": "Please use {mapValue} from src/utils/operators"
            },
            {
              "name": "lodash/pick",
              "message": "Please use {pick} from src/utils/operators"
            },
            {
              "name": "lodash/pickBy",
              "message": "Please use {pickBy} from src/utils/operators"
            },
            {
              "name": "lodash/range",
              "message": "Please use {range} from src/utils/operators"
            },
            {
              "name": "lodash/times",
              "message": "Please use {times} from src/utils/operators"
            },
            {
              "name": "lodash/values",
              "message": "Please use {values} from src/utils/operators"
            },
            {
              "name": "date-fns",
              "message": "Please import the specific method only. For example: import addMonths from 'date-fns/addMonths'"
            },
            {
              "name": "@date-fns/upgrade/v2",
              "message": "For legacyParse - please use the local method from '../common/LocaleUtils/legacyParse'. For convertTokens - please import the specific method only ('@date-fns/upgrade/v2/convertTokens')."
            }
          ]
        }
      ],
      "no-console": "error"
    },
    "overrides": [
      {
        "files": [
          "**/*.uni.driver.js"
        ],
        "rules": {
          "no-restricted-imports": [
            "error",
            {
              "patterns": [
                "*.st.css",
                "*.scss"
              ]
            }
          ]
        }
      },
      {
        "files": [
          "**/*private.uni.driver.js"
        ],
        "rules": {
          "no-restricted-properties": [
            "off",
            {
              "property": "getNative",
              "message": "getNative is allowed in private drivers"
            }
          ]
        }
      },
      {
        "files": [
          "*.d.ts"
        ],
        "rules": {
          "@typescript-eslint/ban-types": [
            "error",
            {
              "types": {
                "Omit": "Use OmitPolyfill from common.d.ts instead"
              }
            }
          ]
        }
      }
    ]
  }
}