{
  "private": true,
  "version": "0.0.0",
  "name": "react-ui-monorepo",
  "scripts": {
    "clean": "del-cli ./packages/*/dist",
    "build": "npm run clean && npm run build --workspaces --if-present",
    "compile": "npm run build",
    "dev": "npm run dev --workspaces --if-present",
    "flow": "flow --flowconfig-name ./configs/.flowconfig",
    "format": "prettier --check --ignore-path ./configs/.prettierignore \"**/*.js\"",
    "format:fix": "prettier --write \"**/*.js\" --ignore-path ./configs/.prettierignore",
    "lint": "eslint configs packages scripts --config ./configs/.eslintrc",
    "lint:fix": "npm run lint --fix",
    "prerelease": "npm run test && npm run build",
    "release": "node ./scripts/releaseReactNativeWebPackages.js",
    "release:benchmarks": "git checkout gh-pages && rm -rf ./docs/benchmarks && mv packages/benchmarks/dist ./docs/benchmarks && git add -A && git commit -m \"Deploy benchmarks\" && git push origin gh-pages && git checkout -",
    "release:react-native-web-docs": "git checkout gh-pages && rm -rf ./docs && mv packages/react-native-web-docs/dist ./docs && git add ./docs && git commit -m \"Deploy documentation\" && git push origin gh-pages && git checkout -",
    "postrelease": "npm run release:react-native-web-docs && npm run release:benchmarks",
    "test": "npm run flow && npm run format && npm run lint && npm run unit --runInBand",
    "unit": "npm-run-all \"unit:* {@}\" --",
    "unit:dom": "jest --config ./configs/jest.config.js",
    "unit:node": "jest --config ./configs/jest.config.node.js"
  },
  "devDependencies": {
    "@babel/cli": "^7.12.13",
    "@babel/core": "^7.12.13",
    "@babel/plugin-proposal-class-properties": "^7.12.13",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
    "@babel/plugin-proposal-object-rest-spread": "^7.12.13",
    "@babel/plugin-transform-runtime": "^7.18.6",
    "@babel/preset-env": "^7.12.13",
    "@babel/preset-flow": "^7.12.13",
    "@babel/preset-react": "^7.12.13",
    "@testing-library/react": "^11.2.5",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^27.5.1",
    "babel-loader": "^8.2.2",
    "babel-plugin-add-module-exports": "^1.0.4",
    "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
    "caniuse-api": "^3.0.0",
    "cross-env": "^7.0.3",
    "del-cli": "^4.0.1",
    "eslint": "^7.19.0",
    "eslint-config-prettier": "^7.2.0",
    "eslint-plugin-flowtype": "^5.4.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-react": "^7.22.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "flow-bin": "0.148.0",
    "gen-flow-files": "^0.4.11",
    "glob": "^7.1.6",
    "husky": "^4.3.8",
    "inline-style-prefixer": "^6.0.0",
    "jest": "^27.5.1",
    "lint-staged": "^10.5.4",
    "minimist": "^1.2.6",
    "npm-run-all": "^4.1.3",
    "prettier": "^2.2.1"
  },
  "workspaces": [
    "packages/react-native-web",
    "packages/*"
  ],
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "packages/react-native-web/src/index.js": [
      "node ./scripts/createBabelReactNativeWebModuleMap.js",
      "prettier --write ./packages/babel-plugin-react-native-web/src/moduleMap.js",
      "git add ./packages/babel-plugin-react-native-web/src/moduleMap.js"
    ],
    "**/*.js": [
      "npm run format:fix",
      "npm run lint:fix",
      "git update-index --again"
    ]
  },
  "prettier": {
    "printWidth": 100,
    "singleQuote": true,
    "trailingComma": "none"
  },
  "author": "Nicolas Gallagher",
  "license": "MIT"
}
