found-relay
Version:
Relay integration for found
116 lines (115 loc) • 3.25 kB
JSON
{
"name": "found-relay",
"version": "0.8.0",
"description": "Relay integration for found",
"files": [
"lib",
"es"
],
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "babel -d lib --delete-dir-on-start src",
"build:esm": "babel --env-name esm -d es --delete-dir-on-start src",
"build-fixtures": "npm run update-schema && npm run relay-compiler",
"format": "eslint --fix . && npm run prettier -- --write",
"lint": "eslint . && npm run prettier -- -l",
"prepublish": "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"
},
"husky": {
"hooks": {
"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-corejs3": "^7.6.3",
"is-promise": "^2.1.0",
"lodash": "^4.17.15",
"prop-types": "^15.7.2",
"warning": "^4.0.3"
},
"peerDependencies": {
"found": ">=0.5.1",
"react": ">=16.9.0",
"react-relay": ">=9.0.0",
"relay-runtime": ">=9.0.0"
},
"devDependencies": {
"@4c/babel-preset": "^7.3.4",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"babel-jest": "^25.2.4",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-relay": "^9.0.0",
"codecov": "^3.6.5",
"delay": "^4.3.0",
"doctoc": "^1.4.0",
"eslint": "^6.8.0",
"eslint-config-4catalyzer-jest": "^2.0.6",
"eslint-config-4catalyzer-react": "^1.0.6",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"farce": "^0.4.1",
"found": "^0.5.1",
"graphql": "^14.6.0",
"husky": "^4.2.3",
"jest": "^25.2.4",
"lint-staged": "^10.1.1",
"p-defer": "^3.0.0",
"prettier": "^2.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-relay": "^9.0.0",
"relay-compiler": "^9.0.0",
"relay-local-schema": "^0.8.0",
"relay-runtime": "^9.0.0"
}
}