{ "name": "hops-lerna-root", "private": true, "license": "MIT", "engines": { "node": "14 || 16", "yarn": ">=1.10.1" }, "contributors": [ "dmbch (https://www.xing.com/profile/Daniel_Dembach)", "TobiasKrogh (https://www.xing.com/profile/Tobias_Krogh)", "matthias-reis (https://www.xing.com/profile/Matthias_Reis3)", "rcsole (https://www.xing.com/profile/Ricard_soleCasas)", "rudeworks (https://www.xing.com/profile/Rude_Ayelo)", "pixelass (https://www.xing.com/profile/Gregor_Adams2)", "drixsonic (https://www.xing.com/profile/Cedric_Trigoso)", "robin-drexler (https://www.xing.com/profile/Robin_Drexler)", "BlakeSimpson (https://www.xing.com/profile/Blake_Simpson)", "systemboogie (https://www.xing.com/profile/Marcus_Noll3)", "KingHenne (https://www.xing.com/profile/Hendrik_Liebau2)", "ZauberNerd (https://www.xing.com/profile/Bjoern_Brauer5)", "ghost23 (https://www.xing.com/profile/Sven_Busse)", "jhiode (https://www.xing.com/profile/Jonas_Holland)", "DJCordhose (https://www.xing.com/profile/Oliver_Zeigermann)", "herschel666 (https://www.xing.com/profile/Emanuel_Kluge)", "KnisterPeter (https://www.xing.com/profile/Markus_Wolf22)" ], "scripts": { "preinstall": "node -e \"process.exit(process.env.npm_execpath.includes('yarn') ? 0 : 1)\"", "test": "ENABLE_MSW=true jest", "fmt": "prettier --write --ignore-unknown .", "template-graphql": "yarn workspace hops-template-graphql run", "template-react": "yarn workspace hops-template-react run", "template-redux": "yarn workspace hops-template-redux run", "is-release-bot-commit": "node -e \"process.exit(child_process.execSync('git show -s --format=\\'%an\\' HEAD').toString().trim() == 'Hops release bot' ? 0 : 1)\"", "prerelease": "node -e \"process.exit(process.env.GH_TOKEN === undefined)\"", "release": "lerna publish", "release:prepare": "lerna version --no-push --yes", "release:rollback": "yarn is-release-bot-commit && git reset --hard HEAD^", "release:create-nightly": "yarn release premajor --conventional-prerelease --preid nightly", "release:rc": "yarn release --conventional-prerelease --preid rc", "release:graduate": "yarn release --conventional-graduate", "prepare": "husky install" }, "canarist": { "projects": [ { "name": "internal-hops", "repositories": [ { "url": ".", "commands": [ "" ] }, { "url": "enc:r6BTklZr+axySHpOBj0JysOusV4S8o7YtSxZ9fi66rL5grn3vMkHUbMdb3OY5+tv", "directory": "internal-hops" } ], "rootManifest": { "resolutions": { "@babel/core": "7.15.0", "colors": "1.4.0", "graphql-tag": "^2.12" } } } ] }, "lint-staged": { "*.{js,json,css}": [ "prettier --list-different" ], "**/README.md": [ "prettier --list-different" ] }, "prettier": { "trailingComma": "es5", "proseWrap": "never", "singleQuote": true }, "eslintConfig": { "extends": [ "eslint:recommended", "plugin:import/recommended", "plugin:node/recommended", "plugin:react/recommended", "plugin:prettier/recommended" ], "settings": { "react": { "version": "detect" } }, "rules": { "node/no-unsupported-features/es-syntax": [ "error", { "ignores": [ "modules" ] } ], "node/no-missing-require": [ "error", { "tryExtensions": [ ".js", ".jsx", ".node", ".ts", ".tsx", ".json" ] } ], "no-console": "off", "no-process-exit": "off", "react/prop-types": "off" }, "parserOptions": { "ecmaVersion": 2018, "sourceType": "module", "requireConfigFile": false, "babelOptions": { "presets": [ "@babel/preset-react" ] } }, "parser": "@babel/eslint-parser", "overrides": [ { "files": [ "packages/spec/integration/react/index.js", "packages/spec/integration/react/flow-text.js", "packages/spec/integration/jest-preset/__tests__/setup/calculator-flow.js" ], "parserOptions": { "babelOptions": { "plugins": [ "@babel/plugin-syntax-flow" ] } } } ], "env": { "es6": true, "node": true, "jest": true } }, "eslintIgnore": [ "**/.tmp/**" ], "workspaces": [ "packages/*" ], "jest": { "collectCoverage": true, "coverageProvider": "v8", "testPathIgnorePatterns": [ "/node_modules/", "/.tmp/", "/dist/" ], "watchPlugins": [ "jest-runner-eslint/watch-fix", "jest-watch-select-projects", "jest-watch-typeahead/filename", "jest-watch-typeahead/testname" ], "projects": [ "/packages/!(spec)", "/packages/spec/integration/*", { "displayName": "lint", "runner": "eslint", "testPathIgnorePatterns": [ "/node_modules/", "/.tmp/", "/dist/" ], "testMatch": [ "/packages/**/*.js" ] }, { "displayName": "prettier", "runner": "prettier", "preset": "jest-runner-prettier", "testPathIgnorePatterns": [ "/node_modules/", "/.tmp/", "/dist/", "/coverage/", "CHANGELOG.md", "fragmentTypes.json", "package-lock.json" ] } ] }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "devDependencies": { "@babel/eslint-parser": "^7.16.5", "@babel/plugin-syntax-flow": "^7.16.7", "@babel/preset-react": "^7.16.7", "@commitlint/cli": "^16.0.0", "@commitlint/config-conventional": "^16.0.0", "@commitlint/config-lerna-scopes": "^16.0.0", "canarist": "^2.3.2", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.28.0", "husky": "^7.0.0", "jest": "^27.0.0", "jest-runner-eslint": "1.0.0", "jest-runner-prettier": "0.3.7", "jest-watch-select-projects": "2.0.0", "jest-watch-typeahead": "1.0.0", "lerna": "^4.0.0", "lint-staged": "^12.0.0", "prettier": "^2.0.0" } }