{ "private": true, "scripts": { "fwd:update": "node ./scripts/fwd.mjs", "check": "yarn clean && yarn lint && yarn build && yarn test", "lint:fix": "yarn run eslint --fix . && yarn prettier:fix", "pretest": "tsc -b && ./scripts/pretest && yarn workspaces foreach --all --topological-dev run pretest", "test": "NODE_ENV=test yarn workspaces foreach --all --topological-dev run test", "posttest": "NODE_ENV=test yarn workspaces foreach --all --topological-dev run posttest && node scripts/benjies-depcheck.mjs", "doccheck": "node scripts/ensure-sql-is-lowercase.mjs && node scripts/ensure-no-slashes-on-internal-links.mjs", "build-init": "yarn && yarn workspace ruru-components build-package && yarn workspace ruru build-package && tsc -b", "build": "yarn build-init && yarn workspaces foreach --parallel --topological-dev --all --exclude '.' --exclude 'ruru' --exclude 'ruru-components' run build-package", "watch": "BUILD_MODE=development yarn build && tsc -b --watch", "workspaces-prepack": "yarn workspaces foreach --parallel --topological-dev --all run prepack", "workspaces-postversion": "yarn workspaces foreach --parallel --topological-dev --all run postversion", "clean": "( jest --clearCache || true ) && ( rm -Rf {utils,grafast,graphile-build,postgraphile}/*/{dist,bundle,tsconfig.tsbuildinfo,tsconfig.*.tsbuildinfo} postgraphile/postgraphile/.tests_tmp/ grafast/ruru/static grafast/ruru/src/bundleCode.ts grafast/ruru/src/bundleMeta.ts || true )", "tsc:watch:clean": "( rm -Rf {utils,grafast,graphile-build,postgraphile}/*/{dist,tsconfig.tsbuildinfo,tsconfig.*.tsbuildinfo} || true ) && tsc -b --watch", "changeset-version": "yarn changeset version && node scripts/postversion.mjs", "changeset-publish": "yarn workspaces-prepack && changeset publish", "w": "yarn workspace", "postgraphile": "cd postgraphile/postgraphile && node dist/cli-run.js", "website:grafast": "cd grafast/website && yarn start", "website:postgraphile": "cd postgraphile/website && yarn start", "website:build": "cd graphile-build/website && yarn start", "website:star": "cd utils/website && yarn start", "websites:deploy": "./publish-websites.sh", "-----": "-----", "eslint": "node --max-old-space-size=16384 node_modules/.bin/eslint --ext .js,.jsx,.ts,.tsx --flag unstable_native_nodejs_ts_config", "prettier": "prettier --cache --ignore-path ./.lintignore", "prettier:all": "yarn prettier '**/*.{json,md,mdx,html,js,jsx,ts,tsx,yml}'", "prettier:fix": "yarn prettier:all --write", "prettier:check": "yarn prettier:all --list-different", "typecheck:tests": "tsc -b tsconfig.test.json utils/*/tsconfig.test.json grafast/*/tsconfig.test.json graphile-build/*/tsconfig.test.json postgraphile/*/tsconfig.test.json", "prepush": "yarn && yarn doccheck && yarn typecheck:tests && yarn lint:fix && yarn pretest && yarn test" }, "devDependencies": { "@babel/cli": "^7.28.3", "@babel/core": "^7.29.6", "@babel/eslint-parser": "^7.28.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-transform-modules-commonjs": "^7.27.1", "@babel/plugin-transform-runtime": "^7.28.5", "@babel/preset-env": "^7.28.5", "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@eslint/compat": "^2.0.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.39.1", "@graphql-codegen/visitor-plugin-common": "^6.2.0", "@graphql-eslint/eslint-plugin": "^4.4.0", "@localrepo/prettier2-for-jest": "npm:prettier@^2", "@tsconfig/node22": "^22.0.5", "@types/jest": "^30.0.0", "@types/jscodeshift": "^17.3.0", "@types/mock-fs": "4.13.4", "@types/node": "^22.19.1", "@types/rimraf": "^4.0.5", "@types/ws": "^8.18.1", "@typescript-eslint/parser": "^8.47.0", "babel-jest": "^30.2.0", "babel-plugin-transform-import-meta": "^2.3.3", "concurrently": "^9.2.1", "eslint": "^9.39.1", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest": "^28.14.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-tsdoc": "^0.5.0", "eslint_d": "^14.3.0", "glob": "^13.0.0", "globals": "^16.5.0", "graphql": "^16.9.0", "graphql-ws": "^6.0.5", "jest": "^30.2.0", "jscodeshift": "^17.3.0", "mock-fs": "^5.5.0", "pg": "^8.16.3", "prettier": "^3.6.2", "rimraf": "^6.1.2", "typescript": "^5.9.3", "typescript-eslint": "^8.47.0", "webpack": "^5.103.0", "ws": "^8.21.1", "zx": "^8.8.5" }, "workspaces": [ "grafast/*", "graphile-build/*", "postgraphile/*", "utils/*" ], "engines": { "node": ">=22", "yarn": ">=1.3.2" }, "packageManager": "yarn@4.12.0", "resolutions": { "@changesets/apply-release-plan@npm:^7.0.13": "patch:@changesets/apply-release-plan@npm%3A7.0.13#~/.yarn/patches/@changesets-apply-release-plan-npm-7.0.13-14603bf9e7.patch", "@docusaurus/plugin-content-docs@npm:3.9.2": "patch:@docusaurus/plugin-content-docs@npm%3A3.9.2#~/.yarn/patches/@docusaurus-plugin-content-docs-npm-3.9.2-65ef413098.patch", "graphql": "^16.9.0" }, "dependencies": { "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.7" }, "dependenciesMeta": { "sqlite3": { "built": true }, "unrs-resolver": { "built": true } } }