UNPKG

2.97 kBJSONView Raw
1{
2 "name": "react-relay",
3 "description": "A framework for building data-driven React applications.",
4 "version": "0.8.1",
5 "keywords": [
6 "graphql",
7 "react",
8 "relay"
9 ],
10 "license": "BSD-3-Clause",
11 "homepage": "https://facebook.github.io/relay/",
12 "bugs": "https://github.com/facebook/relay/issues",
13 "files": [
14 "LICENSE",
15 "PATENTS",
16 "README.md",
17 "dist/",
18 "lib/"
19 ],
20 "main": "lib/Relay.js",
21 "repository": "facebook/relay",
22 "scripts": {
23 "build": "gulp",
24 "jest": "NODE_ENV=test jest \"$@\"",
25 "lint": "eslint .",
26 "prepublish": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && npm run build",
27 "test": "f() { EXIT=0; npm run typecheck || EXIT=$?; npm run jest \"$@\" || EXIT=$?; exit $EXIT; }; f",
28 "typecheck": "flow check src/",
29 "update-schema": "babel-node ./scripts/jest/updateSchema.js"
30 },
31 "dependencies": {
32 "babel-runtime": "5.8.24",
33 "fbjs": "^0.8.1",
34 "react-static-container": "^1.0.0-alpha.1"
35 },
36 "peerDependencies": {
37 "babel-relay-plugin": "0.8.1",
38 "react": "^15.0.0 || ^0.14.0"
39 },
40 "devDependencies": {
41 "babel": "^5.8.25",
42 "babel-core": "^5.8.25",
43 "babel-eslint": "^4.1.1",
44 "del": "^1.2.0",
45 "eslint": "^1.3.1",
46 "eslint-plugin-react": "^3.3.1",
47 "fbjs-scripts": "^0.5.0",
48 "flow-bin": "0.23.0",
49 "graphql": "0.4.13",
50 "gulp": "^3.9.0",
51 "gulp-babel": "^5.1.0",
52 "gulp-derequire": "^2.1.0",
53 "gulp-flatten": "^0.1.0",
54 "gulp-header": "^1.2.2",
55 "gulp-util": "^3.0.6",
56 "jest-cli": "^11.0.2",
57 "object-assign": "^3.0.0",
58 "react": "^0.14.0",
59 "react-dom": "^0.14.0",
60 "run-sequence": "^1.1.2",
61 "webpack": "1.11.0",
62 "webpack-stream": "^2.1.0"
63 },
64 "devEngines": {
65 "node": ">=4.x",
66 "npm": ">=2.x"
67 },
68 "jest": {
69 "rootDir": "",
70 "scriptPreprocessor": "scripts/jest/preprocessor.js",
71 "setupEnvScriptFile": "node_modules/fbjs-scripts/jest/environment.js",
72 "persistModuleRegistryBetweenSpecs": true,
73 "modulePathIgnorePatterns": [
74 "<rootDir>/lib/",
75 "<rootDir>/src/(.*).native.js",
76 "<rootDir>/node_modules/(?!(fbjs/lib/|react/lib/|fbjs-scripts/jest))"
77 ],
78 "preprocessorIgnorePatterns": [
79 "<rootDir>/node_modules/"
80 ],
81 "testPathDirs": [
82 "<rootDir>/node_modules/fbjs/lib/",
83 "<rootDir>/node_modules/fbjs-scripts/jest",
84 "<rootDir>/node_modules/react/lib/",
85 "<rootDir>/node_modules/react-static-container/lib/",
86 "<rootDir>/src/"
87 ],
88 "unmockedModulePathPatterns": [
89 "<rootDir>/node_modules/fbjs/node_modules/core-js/",
90 "<rootDir>/node_modules/fbjs-scripts/",
91 "<rootDir>/node_modules/fbjs/node_modules/promise/",
92 "<rootDir>/node_modules/fbjs/lib/(?!(ErrorUtils.js$|fetch.js$|fetchWithRetries.js$))",
93 "<rootDir>/node_modules/react/",
94 "<rootDir>/node_modules/react-dom/",
95 "<rootDir>/node_modules/react-static-container/"
96 ]
97 }
98}