{
  "name": "ricos-viewer",
  "version": "9.18.4",
  "author": {
    "name": "Matan Harsat",
    "email": "matanha@wix.com"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wix/ricos.git"
  },
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/wix/ricos/issues"
  },
  "homepage": "https://github.com/wix/ricos/tree/master/packages/ricos-viewer",
  "files": [
    "dist",
    "libs",
    "viewer"
  ],
  "main": "dist/cjs/index.js",
  "types": "dist/src/index.d.ts",
  "module": "dist/es/index.js",
  "style": "dist/styles.min.css",
  "scripts": {
    "build": "yarn clean && yarn build:tsc && yarn build:rollup && node ../../scripts/cssFix.js",
    "build:analyze:editor": "yarn build --environment MODULE_ANALYZE_EDITOR  && open stats.html",
    "build:analyze:viewer": "yarn build --environment MODULE_ANALYZE_VIEWER && open stats.html",
    "build:dev": "run -T cross-env NODE_ENV=development BUILD_CJS=true yarn build",
    "build:rollup": "run -T rollup --environment DYNAMIC_IMPORT,MODULE_NAME:ricos-viewer -c ../../rollup.config.js",
    "build:tsc": "run -T tsc --emitDeclarationOnly",
    "clean": "rm -rf dist/",
    "lint": "run -T eslint 'src/**/*.{js,jsx,ts,tsx,d.ts}'",
    "test": "run -T jest --verbose",
    "test:watchAll": "run -T jest --verbose --watchAll",
    "watch": "run -T cross-env NODE_ENV=development yarn build:rollup --watch & run -T cross-env NODE_ENV=development yarn build:tsc --watch"
  },
  "peerDependencies": {
    "@babel/runtime": "^7.17.2",
    "classnames": "^2.0.0",
    "lodash": "^4.0.0",
    "react": "^16.13.1",
    "react-dom": "^16.13.1"
  },
  "dependencies": {
    "ricos-common": "9.18.4",
    "wix-rich-content-common": "9.18.4",
    "wix-rich-content-fullscreen": "9.18.4",
    "wix-rich-content-link-preview-popover": "9.18.4",
    "wix-rich-content-text-selection-toolbar": "9.18.4",
    "wix-rich-content-viewer": "9.18.4"
  },
  "devDependencies": {
    "wix-rich-content-plugin-hashtag": "9.18.4"
  },
  "jest": {
    "globals": {
      "NODE_ENV": "test"
    },
    "roots": [
      "<rootDir>/src"
    ],
    "testMatch": [
      "**/?(*.)+(spec|test).+(ts|tsx|js)"
    ],
    "transform": {
      "^.+\\.(ts|tsx)?$": "ts-jest",
      "^.+\\.jsx?$": "<rootDir>/../../babel.jest.monorepo.js"
    },
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|svg)$": "<rootDir>/__mocks__/fileMock.js",
      "\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js",
      "^draft-js$": "<rootDir>/../../node_modules/@wix/draft-js",
      "^draft-js/": "<rootDir>/../../node_modules/@wix/draft-js/"
    }
  },
  "unpkg": true,
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "sideEffects": true
}
