{
  "name": "@i-novus/n2o-components",
  "version": "7.29.21",
  "description": "UI components for N2O framework",
  "author": "I-Novus LLC<n2o@i-novus.ru>",
  "license": "Apache-2.0",
  "homepage": "https://n2o.i-novus.ru/",
  "repository": {
    "type": "git",
    "url": "git@github.com:i-novus-llc/n2o-framework.git",
    "directory": "frontend/n2o-components"
  },
  "main": "lib/index.js",
  "files": [
    "lib",
    "index.js"
  ],
  "keywords": [
    "react",
    "components",
    "ui"
  ],
  "scripts": {
    "build": "yarn run build:lib && yarn copyfiles -u 2 src/styles/**/* src/styles/variables.scss src/styles/root.scss lib/styles",
    "build:lib": "yarn run clean:lib && yarn run compile:lib",
    "compile:lib": "tsc",
    "compile:lib:watch": "concurrently \"yarn run compile:components:watch\" \"yarn run compile:styles:watch\"",
    "compile:components:watch": "tsc --watch",
    "compile:styles:watch": "cross-env NODE_ENV=development babel ./src/styles -d lib/styles --copy-files -w",
    "clean:lib": "rimraf ./lib/",
    "clean": "yarn run clean:lib && rimraf ./node_modules/",
    "start": "node scripts/run.js",
    "test": "jest --noStackTrace --silent ./src",
    "eslint": "eslint --ext .js,.jsx,.ts,.tsx ./src",
    "eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix ./src",
    "stylelint": "stylelint ./src/**/*{.css,.scss,.sass}",
    "stylelint:fix": "stylelint --fix ./src/**/*{.css,.scss,.sass}",
    "lint": "yarn eslint && yarn stylelint"
  },
  "dependencies": {
    "@floating-ui/react": "^0.27.13",
    "@fontsource/exo-2": "^4.3.0",
    "@fortawesome/fontawesome-free": "^6.4.2",
    "@fortawesome/fontawesome-svg-core": "^6.4.2",
    "@fortawesome/free-solid-svg-icons": "^6.4.2",
    "@fortawesome/react-fontawesome": "^0.2.0",
    "@maskito/core": "3.8.0",
    "@maskito/kit": "3.8.0",
    "@maskito/react": "3.8.0",
    "bootstrap": "~4.3.1",
    "brace": "0.11.1",
    "classnames": "^2.3.1",
    "dompurify": "^3.3.1",
    "draft-js": "0.11.7",
    "draftjs-to-html": "0.8.4",
    "font-awesome": "4.7.0",
    "html-to-draftjs": "1.4.0",
    "lodash": "^4.17.21",
    "moment": "^2.29.2",
    "numeral": "2.0.6",
    "rc-drawer": "^3.0.2",
    "rc-slider": "^8.6.11",
    "rc-switch": "4.1.0",
    "rc-tree-select": "^5.27.0",
    "react-ace": "11.0.1",
    "react-copy-to-clipboard": "^5.0.1",
    "react-draft-wysiwyg": "1.15.0",
    "react-i18next": "14.1.2",
    "react-onclickoutside": "6.7.1",
    "react-popper": "2.3.0",
    "react-router-dom": "5.2.0",
    "react-syntax-highlighter": "^15.5.0",
    "reactstrap": "8.10.1-popper2-beta.0",
    "scroll-into-view-if-needed": "2.2.26"
  },
  "peerDependencies": {
    "dayjs": "*",
    "react": "^17.0.0 || ^18.0.0",
    "react-dom": "^17.0.0 || ^18.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.14.5",
    "@babel/core": "^7.14.6",
    "@babel/plugin-proposal-class-properties": "^7.0.0",
    "@babel/plugin-transform-modules-commonjs": "^7.5.0",
    "@babel/plugin-transform-runtime": "^7.5.5",
    "@babel/preset-env": "^7.14.7",
    "@babel/preset-react": "^7.14.5",
    "@babel/preset-typescript": "^7.17.12",
    "@i-novus/eslint-config": "^1.0.19",
    "@types/classnames": "^2.3.1",
    "@types/draftjs-to-html": "0.8.1",
    "@types/enzyme": "^3.10.12",
    "@types/html-to-draftjs": "1.4.0",
    "@types/jest": "^28.1.3",
    "@types/lodash": "^4.14.182",
    "@types/numeral": "^2.0.2",
    "@types/rc-slider": "8.6.6",
    "@types/rc-switch": "1.9.2",
    "@types/react-copy-to-clipboard": "^5.0.4",
    "@types/react-dom": "18.2.4",
    "@types/react-draft-wysiwyg": "1.13.7",
    "@types/react-onclickoutside": "6.7.4",
    "@types/react-router-dom": "5.3.3",
    "@types/react-scroll-into-view-if-needed": "2.1.1",
    "@types/react-syntax-highlighter": "15.5.6",
    "@typescript-eslint/eslint-plugin": "^5.28.0",
    "@typescript-eslint/parser": "^5.27.1",
    "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
    "babel-jest": "^28.1.1",
    "babel-loader": "^8.2.2",
    "babel-plugin-require-context-hook": "^1.0.0",
    "concurrently": "^8.2.2",
    "copyfiles": "^2.4.1",
    "cross-env": "^7.0.3",
    "enzyme": "^3.9.0",
    "enzyme-to-json": "3.6.2",
    "eslint": "8.57.0",
    "jest": "^28.1.1",
    "jest-cli": "28.1.1",
    "jest-environment-jsdom": "^28.1.1",
    "rimraf": "5.0.7",
    "sinon": "^4.1.3",
    "stylelint": "^13.12.0",
    "stylelint-config-standard": "^21.0.0",
    "stylelint-order": "^4.1.0",
    "stylelint-scss": "^3.19.0",
    "ts-jest": "^28.0.5",
    "typescript": "4.7.3"
  },
  "engines": {
    "node": "20.x || 22.x"
  },
  "jest": {
    "modulePaths": [
      "src"
    ],
    "moduleDirectories": [
      "node_modules"
    ],
    "setupFiles": [
      "./test/encoder.js",
      "./test/jestsetup.js"
    ],
    "snapshotSerializers": [
      "enzyme-to-json/serializer"
    ],
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
      "\\.(css|scss)$": "identity-obj-proxy",
      "^@snippets/(.*)$": "<rootDir>/src/components/snippets/$1",
      "^@ducks/(.*)$": "<rootDir>/src/ducks/$1",
      "fixme-todo": "HACK next 3 lines Error importing a component into jest when the package is not build in the node-modules",
      "react-markdown": "<rootDir>/test/__mocks__/fileMock.js",
      "remark-gfm": "<rootDir>/test/__mocks__/fileMock.js",
      "rehype-raw": "<rootDir>/test/__mocks__/fileMock.js"
    },
    "coverageReporters": [
      "text-summary"
    ],
    "collectCoverageFrom": [
      "src/**/*.{js,jsx,ts,tsx}",
      "!src/**/*.test.{js,jsx}",
      "!src/**/*Old/*.*",
      "!src/**/*.old.{js,jsx}",
      "!**/constants/**",
      "!**/framework/**",
      "!**/tools/**",
      "!src/store.js",
      "!src/sagas.js",
      "!src/reducers.js"
    ],
    "moduleFileExtensions": [
      "js",
      "ts",
      "jsx",
      "tsx",
      "json"
    ],
    "testEnvironment": "jsdom",
    "preset": "ts-jest",
    "transform": {
      "^.+\\.(ts|tsx)?$": "ts-jest",
      "^.+\\.(js|jsx)$": "babel-jest"
    }
  }
}
