UNPKG

relay-compiler-plus

Version:

A custom relay modern compiler that supports persisted queries

73 lines (72 loc) 2.4 kB
{ "name": "relay-compiler-plus", "version": "1.6.5", "description": "A custom relay modern compiler that supports persisted queries", "main": "lib/index.js", "bin": { "relay-compiler-plus": "bin/relay-compiler-plus" }, "scripts": { "flow": "flow", "test": "jest", "lint": "eslint src", "build-compiler": "NODE_ENV=production node build && exec 3<> bin/relay-compiler-plus && awk -v TEXT='#!/usr/bin/env node' 'BEGIN {print TEXT}{print}' bin/relay-compiler-plus >&3", "build-exports": "babel src/exports -d lib --ignore *.test.js", "build-graphql-js-compiler": "babel src/graphqlJSCompiler -d graphqlJSCompiler", "build-flow": "flow-copy-source -v src lib", "clean": "rimraf bin/* && rimraf lib/*", "build": "npm run clean && npm run build-compiler && npm run build-exports && npm run build-graphql-js-compiler", "prep-publish": "npm version patch -m 'Upgrade to %s' && npm publish && git push" }, "repository": { "type": "git", "url": "git+https://github.com/yusinto/relay-compiler-plus.git" }, "keywords": [ "relay", "compiler", "persisted", "queries", "query", "custom", "modern" ], "author": "Yusinto Ngadiman", "license": "MIT", "bugs": { "url": "https://github.com/yusinto/relay-compiler-plus/issues" }, "homepage": "https://github.com/yusinto/relay-compiler-plus#readme", "dependencies": { "babel-loader": "^7.1.2", "babel-plugin-transform-async-to-generator": "^6.24.1", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-flow": "^6.23.0", "babel-preset-stage-0": "^6.24.1", "body-parser": "^1.18.2", "graphql": "^0.11.7", "relay-compiler": "^1.4.1", "webpack": "^3.8.1", "webpack-node-externals": "^1.6.0", "yargs": "^10.0.3" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-eslint": "^8.0.2", "babel-register": "^6.26.0", "eslint": "^4.12.0", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-babel": "^4.1.2", "eslint-plugin-flowtype": "^2.39.1", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.5.1", "flow-bin": "^0.59.0", "flow-copy-source": "^1.2.1", "jest": "^21.2.1", "rimraf": "^2.6.2", "testdouble": "^3.2.6" } }