UNPKG

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