UNPKG

found-relay

Version:
132 lines (131 loc) 3.68 kB
{ "name": "found-relay", "version": "1.0.2", "description": "Relay integration for found", "files": [ "lib", "es" ], "main": "lib/index.js", "module": "es/index.js", "types": "lib/index.d.ts", "scripts": { "build": "4c build src", "build-fixtures": "npm run update-schema && npm run relay-compiler", "format": "eslint --fix . && npm run prettier -- --write", "lint": "eslint . && npm run prettier -- -l", "prepublishOnly": "npm run build", "prettier": "prettier --ignore-path .eslintignore '**/*.md'", "relay-compiler": "relay-compiler --watchman false --src test --schema test/fixtures/schema.graphql", "tdd": "jest --watch", "test": "npm run build-fixtures && npm run lint && npm run testonly -- --coverage", "testonly": "jest --runInBand --verbose", "update-schema": "babel-node test/fixtures/updateSchema.js" }, "gitHooks": { "pre-commit": "lint-staged" }, "lint-staged": { "*.js": "eslint --fix", "*.md": "prettier --write", "./README.md": "doctoc" }, "prettier": { "printWidth": 79, "singleQuote": true, "trailingComma": "all" }, "jest": { "collectCoverageFrom": [ "src/**" ], "resetMocks": true, "restoreMocks": true, "setupFiles": [ "<rootDir>/test/setup.js" ] }, "repository": { "type": "git", "url": "git+https://github.com/relay-tools/found-relay.git" }, "keywords": [ "router", "relay", "react" ], "author": "4Catalyzer", "license": "MIT", "bugs": { "url": "https://github.com/relay-tools/found-relay/issues" }, "homepage": "https://github.com/relay-tools/found-relay#readme", "dependencies": { "@babel/runtime": "^7.17.9", "dequal": "^2.0.2", "is-promise": "^4.0.0", "prop-types": "^15.7.2", "warning": "^4.0.3" }, "peerDependencies": { "found": ">=0.5.1", "react": ">=16.9.0", "react-relay": ">=12.0.0", "relay-runtime": ">=12.0.0", "@types/react-relay": ">=11.0.1", "@types/relay-runtime": ">=12.0.0" }, "peerDependenciesMeta": { "@types/react-relay": { "optional": true }, "@types/relay-runtime": { "optional": true } }, "devDependencies": { "@4c/babel-preset": "^8.1.1", "@4c/cli": "^3.0.1", "@4c/tsconfig": "^0.4.0", "@babel/cli": "^7.17.6", "@babel/core": "^7.17.9", "@babel/node": "^7.16.8", "@babel/preset-typescript": "^7.16.7", "@typescript-eslint/eslint-plugin": "^5.18.0", "@typescript-eslint/parser": "^5.18.0", "@types/react-relay": "^11.0.1", "@types/relay-runtime": "^12.0.0", "babel-jest": "^26.6.3", "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-relay": "^10.1.3", "codecov": "^3.8.3", "delay": "^5.0.0", "doctoc": "^2.1.0", "eslint": "^8.12.0", "eslint-config-4catalyzer-jest": "^2.2.0", "eslint-config-4catalyzer-react": "^1.2.2", "eslint-config-4catalyzer-typescript": "^3.2.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^26.1.3", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.29.4", "eslint-plugin-react-hooks": "^4.4.0", "farce": "^0.4.5", "found": "^0.6.0", "graphql": "^15.5.1", "hookem": "^2.0.1", "jest": "^26.6.3", "lint-staged": "^11.0.0", "p-defer": "^3.0.0", "prettier": "^2.6.2", "react": "^17.0.2", "react-dom": "^17.0.2", "react-relay": "^12.0.0", "relay-compiler": "^12.0.0", "relay-local-schema": "^0.8.0", "relay-runtime": "^12.0.0", "typescript": "^4.6.3" } }