rescript-relay
Version:
Use Relay with ReScript.
65 lines • 1.73 kB
JSON
{
"name": "rescript-relay",
"version": "3.3.0",
"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",
"postinstall": "node postinstall.js",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"test:ci": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --ci --runInBand"
},
"devDependencies": {
"@glennsl/rescript-fetch": "^0.2.0",
"@rescript/react": "0.12.2",
"@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",
"nock": "^11.7.0",
"node-fetch": "^2.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-relay": "18.2.0",
"relay-runtime": "18.2.0",
"rescript": "11.1.1"
},
"peerDependencies": {
"@rescript/react": ">=0.13.0",
"react-relay": "18.2.0",
"relay-runtime": "18.2.0",
"rescript": "^11.0.0"
},
"dependencies": {
"detect-libc": "^2.0.1"
}
}