UNPKG

relay-compiler-plus

Version:

A custom relay modern compiler that supports persisted queries

86 lines (85 loc) 2.93 kB
{ "name": "relay-compiler-plus", "version": "1.8.3", "description": "A custom relay modern compiler that supports persisted queries", "main": "lib/index.js", "bin": { "relay-compiler-plus": "bin/relay-compiler-plus" }, "files": [ "bin/", "lib/", "graphqlJSCompiler/", "LICENSE", "package.json" ], "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 && sed -i '' -e \"s|__DEV__|process.env.NODE_ENV !== 'production'|g\" bin/relay-compiler-plus", "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/* && rimraf graphqlJSCompiler/*", "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/plugin-transform-async-to-generator": "^7.0.0-beta.54", "@babel/plugin-transform-flow-strip-types": "^7.0.0-beta.54", "@babel/plugin-proposal-class-properties": "^7.0.0-beta.54", "@babel/polyfill": "^7.0.0-beta.54", "@babel/preset-env": "^7.0.0-beta.54", "@babel/preset-react": "^7.0.0-beta.54", "babel-loader": "^8.0.0-beta.4", "body-parser": "^1.18.2", "graphql": "^0.13.2", "graphql-compiler": "^1.6.0", "relay-compiler": "^1.6.0", "uglifyjs-webpack-plugin": "^1.2.4", "webpack": "^4.5.0", "webpack-node-externals": "^1.7.2", "yargs": "^12.0.1" }, "devDependencies": { "@babel/cli": "^7.0.0-beta.54", "@babel/core": "^7.0.0-beta.54", "@babel/preset-flow": "^7.0.0-beta.54", "@babel/register": "^7.0.0-beta.54", "babel-core": "^7.0.0-0", "babel-eslint": "^8.2.6", "babel-jest": "^23.4.0", "eslint": "^5.2.0", "eslint-config-airbnb": "^17.0.0", "eslint-plugin-babel": "^5.0.0", "eslint-plugin-flowtype": "^2.39.1", "eslint-plugin-import": "^2.10.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.5.1", "flow-bin": "^0.77.0", "flow-copy-source": "^2.0.2", "jest": "^23.4.1", "rimraf": "^2.6.2", "testdouble": "^3.7.0" } }