UNPKG

rescript-relay

Version:
78 lines 2.08 kB
{ "name": "rescript-relay", "version": "4.2.1", "main": "src/RescriptRelay.res", "license": "MIT", "author": "Gabriel Nordeborn", "sideEffects": false, "repository": "https://github.com/zth/rescript-relay", "description": "Use Relay with ReScript.", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "keywords": [ "graphql", "relay", "relaymodern", "react", "reason", "reasonml", "rescript" ], "exports": { "./src/utils": { "require": "./src/utils.js", "import": "./src/utils.mjs" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "bin": { "rescript-relay-compiler": "compiler.js", "rescript-relay-cli": "cli/cli.js" }, "scripts": { "build": "rescript", "build:test": "./build-compiler-dev.sh && ./rescript-relay-compiler && ENABLE_PERSISTING=true ./rescript-relay-compiler && rm ./__tests_preloaded__/__generated__/RelaySchemaAssets_graphql.res", "postinstall": "node postinstall.js", "test": "jest", "test:ci": "jest --ci --runInBand" }, "devDependencies": { "@glennsl/rescript-fetch": "^0.2.0", "@rescript/react": "0.14.0", "@testing-library/jest-dom": "^5.16.3", "@testing-library/react": "^13.0.0-alpha.6", "graphql-query-test-mock": "^0.12.1", "jest": "^27.2.4", "@babel/core": "^7.24.0", "@babel/preset-env": "^7.24.0", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "babel-jest": "^27.2.4", "babel-plugin-dynamic-import-node": "^2.3.3", "nock": "^11.7.0", "node-fetch": "^2.6.0", "react": "18.2.0", "react-dom": "18.2.0", "react-relay": "20.1.1", "relay-runtime": "20.1.1", "rescript": "12.0.0" }, "peerDependencies": { "@rescript/react": ">=0.13.0", "react-relay": "20.1.1", "relay-runtime": "20.1.1", "rescript": "^12.0.0-0" }, "peerDependenciesMeta": { "@rescript/react": { "optional": true }, "react-relay": { "optional": true } }, "dependencies": { "detect-libc": "^2.0.1" } }