UNPKG

2 kBJSONView Raw
1{
2 "name": "relay-compiler-plus",
3 "version": "1.4.12",
4 "description": "A custom relay modern compiler that supports persisted queries",
5 "main": "lib/index.js",
6 "bin": {
7 "relay-compiler-plus": "bin/relay-compiler-plus"
8 },
9 "scripts": {
10 "flow": "flow",
11 "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",
12 "build-exports": "babel src/exports -d lib",
13 "build-graphql-js-compiler": "babel src/graphqlJSCompiler -d graphqlJSCompiler",
14 "build-flow": "flow-copy-source -v src lib",
15 "clean": "rimraf bin/* && rimraf lib/*",
16 "build": "npm run clean && npm run build-compiler && npm run build-exports && npm run build-graphql-js-compiler",
17 "prep-publish": "npm version patch -m 'Upgrade to %s' && npm publish && git push"
18 },
19 "repository": {
20 "type": "git",
21 "url": "git+https://github.com/yusinto/relay-compiler-plus.git"
22 },
23 "keywords": [
24 "relay",
25 "compiler",
26 "persisted",
27 "queries",
28 "query",
29 "custom",
30 "modern"
31 ],
32 "author": "Yusinto Ngadiman",
33 "license": "MIT",
34 "bugs": {
35 "url": "https://github.com/yusinto/relay-compiler-plus/issues"
36 },
37 "homepage": "https://github.com/yusinto/relay-compiler-plus#readme",
38 "dependencies": {
39 "babel-loader": "^7.1.2",
40 "babel-plugin-transform-async-to-generator": "^6.24.1",
41 "babel-plugin-transform-flow-strip-types": "^6.22.0",
42 "babel-polyfill": "^6.26.0",
43 "babel-preset-env": "^1.6.1",
44 "babel-preset-flow": "^6.23.0",
45 "babel-preset-stage-0": "^6.24.1",
46 "body-parser": "^1.18.2",
47 "graphql": "^0.11.7",
48 "relay-compiler": "^1.4.1",
49 "webpack": "^3.8.1",
50 "webpack-node-externals": "^1.6.0",
51 "yargs": "^10.0.3"
52 },
53 "devDependencies": {
54 "babel-cli": "^6.26.0",
55 "babel-register": "^6.26.0",
56 "flow-bin": "^0.59.0",
57 "flow-copy-source": "^1.2.1",
58 "rimraf": "^2.6.2"
59 }
60}