1 | {
|
2 | "name": "relay-compiler-plus",
|
3 | "version": "1.7.2",
|
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 | "test": "jest",
|
12 | "lint": "eslint src",
|
13 | "build-compiler": "NODE_ENV=production node build && exec 3<> dist/bin/relay-compiler-plus && awk -v TEXT='#!/usr/bin/env node' 'BEGIN {print TEXT}{print}' dist/bin/relay-compiler-plus >&3",
|
14 | "build-exports": "babel src/exports -d dist/lib --ignore *.test.js",
|
15 | "build-graphql-js-compiler": "babel src/graphqlJSCompiler -d dist/graphqlJSCompiler",
|
16 | "build-flow": "flow-copy-source -v src dist/lib",
|
17 | "clean": "rimraf dist/*",
|
18 | "build": "npm run clean && npm run build-compiler && npm run build-exports && npm run build-graphql-js-compiler && cp LICENSE package.json dist",
|
19 | "prep-publish": "cd dist && npm version patch -m 'Upgrade to %s' && npm publish && git push"
|
20 | },
|
21 | "repository": {
|
22 | "type": "git",
|
23 | "url": "git+https://github.com/yusinto/relay-compiler-plus.git"
|
24 | },
|
25 | "keywords": [
|
26 | "relay",
|
27 | "compiler",
|
28 | "persisted",
|
29 | "queries",
|
30 | "query",
|
31 | "custom",
|
32 | "modern"
|
33 | ],
|
34 | "author": "Yusinto Ngadiman",
|
35 | "license": "MIT",
|
36 | "bugs": {
|
37 | "url": "https://github.com/yusinto/relay-compiler-plus/issues"
|
38 | },
|
39 | "homepage": "https://github.com/yusinto/relay-compiler-plus#readme",
|
40 | "dependencies": {
|
41 | "babel-loader": "^7.1.2",
|
42 | "babel-plugin-transform-async-to-generator": "^6.24.1",
|
43 | "babel-plugin-transform-flow-strip-types": "^6.22.0",
|
44 | "babel-polyfill": "^6.26.0",
|
45 | "babel-preset-env": "^1.6.1",
|
46 | "babel-preset-flow": "^6.23.0",
|
47 | "babel-preset-stage-0": "^6.24.1",
|
48 | "body-parser": "^1.18.2",
|
49 | "graphql": "^0.13.1",
|
50 | "relay-compiler": "^1.5.0",
|
51 | "uglifyjs-webpack-plugin": "^1.2.2",
|
52 | "webpack": "^4.1.0",
|
53 | "webpack-node-externals": "^1.6.0",
|
54 | "yargs": "^11.0.0"
|
55 | },
|
56 | "devDependencies": {
|
57 | "babel-cli": "^6.26.0",
|
58 | "babel-eslint": "^8.0.2",
|
59 | "babel-register": "^6.26.0",
|
60 | "eslint": "^4.12.0",
|
61 | "eslint-config-airbnb": "^16.1.0",
|
62 | "eslint-plugin-babel": "^4.1.2",
|
63 | "eslint-plugin-flowtype": "^2.39.1",
|
64 | "eslint-plugin-import": "^2.8.0",
|
65 | "eslint-plugin-jsx-a11y": "^6.0.2",
|
66 | "eslint-plugin-react": "^7.5.1",
|
67 | "flow-bin": "^0.66.0",
|
68 | "flow-copy-source": "^1.2.1",
|
69 | "jest": "^22.4.2",
|
70 | "rimraf": "^2.6.2",
|
71 | "testdouble": "^3.2.6"
|
72 | }
|
73 | }
|