UNPKG

graphql-compose-relay

Version:

Plugin for `graphql-compose` which wraps graphql types with Relay specific logic.

70 lines (69 loc) 2.58 kB
{ "name": "graphql-compose-relay", "version": "5.0.3", "description": "Plugin for `graphql-compose` which wraps graphql types with Relay specific logic.", "files": [ "lib", "mjs" ], "main": "lib/index.js", "module": "mjs/index.mjs", "repository": { "type": "git", "url": "https://github.com/graphql-compose/graphql-compose-relay.git" }, "keywords": [ "graphql", "compose", "graphql-compose", "relay" ], "license": "MIT", "bugs": { "url": "https://github.com/graphql-compose/graphql-compose-relay/issues" }, "homepage": "https://github.com/graphql-compose/graphql-compose-relay", "peerDependencies": { "graphql-compose": "^7.0.4" }, "devDependencies": { "@babel/cli": "^7.6.4", "@babel/core": "^7.6.4", "@babel/plugin-proposal-object-rest-spread": "^7.6.2", "@babel/plugin-transform-flow-strip-types": "^7.6.3", "@babel/plugin-transform-runtime": "^7.6.2", "@babel/preset-env": "^7.6.3", "@babel/preset-flow": "^7.0.0", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.3", "babel-jest": "^24.9.0", "eslint": "^6.6.0", "eslint-config-airbnb-base": "^14.0.0", "eslint-config-prettier": "^6.5.0", "eslint-plugin-flowtype": "^4.3.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-prettier": "^3.1.1", "flow-bin": "^0.110.0", "graphql": "14.5.8", "graphql-compose": "^7.4.2", "jest": "^24.9.0", "prettier": "^1.18.2", "rimraf": "^3.0.0", "semantic-release": "^15.13.28" }, "scripts": { "build": "npm run build-cjs && npm run build-mjs", "build-cjs": "rimraf lib && BABEL_ENV=cjs babel src --ignore __tests__,__mocks__ -d lib && COPY_TO_FOLDER=lib npm run build-flow", "build-mjs": "rimraf mjs && BABEL_ENV=mjs babel src --ignore __tests__,__mocks__ -d mjs && yarn build-mjs-rename && COPY_TO_FOLDER=mjs npm run build-flow", "build-mjs-rename": "find ./mjs -name \"*.js\" -exec bash -c 'mv \"$1\" \"${1%.js}\".mjs' - '{}' \\;", "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo ./${COPY_TO_FOLDER:-lib}$filepath | sed 's/.\\/src\\//\\//g'`.flow; done", "watch": "jest --watch", "coverage": "jest --coverage", "lint": "eslint --ext .js ./src", "flow": "./node_modules/.bin/flow", "test": "npm run coverage && npm run lint && npm run flow", "link": "yarn build && yarn link graphql-compose && yarn link", "unlink": "rimraf node_modules && yarn install", "semantic-release": "semantic-release" } }