-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
109 lines (109 loc) · 3.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "react-relay-mutation",
"version": "0.2.2",
"description": "Higher-level React mutation API for Relay",
"license": "MIT",
"author": "4Catalyzer",
"main": "lib/index.js",
"module": "es/index.js",
"repository": {
"type": "git",
"url": "https://github.com/relay-tools/react-relay-mutation.git"
},
"scripts": {
"babel": "babel src --ignore **/__tests__ --delete-dir-on-start -x .js,.ts,.tsx",
"build": "yarn babel -d lib && yarn babel -d es --env-name esm && yarn build:types",
"build:fixtures": "npm run update-schema && npm run relay-compiler",
"build:types": "tsc --emitDeclarationOnly --outDir lib && tsc --outDir es",
"eslint": "eslint . --ext .js,.ts,.tsx",
"format": "yarn eslint --fix && yarn prettier --write",
"lint": "yarn eslint && yarn prettier --list-different",
"prepublishOnly": "yarn run build",
"prettier": "prettier --ignore-path .eslintignore '**/*.{json,css,md}'",
"relay-compiler": "relay-compiler --watchman false --src test --schema test/fixtures/schema.graphql --language typescript --extensions js ts tsx",
"release": "rollout",
"tdd": "jest --watch",
"test": "yarn build:fixtures && yarn lint && yarn typecheck && yarn testonly --coverage",
"testonly": "jest",
"typecheck": "tsc --noEmit && tsc --noEmit -p test",
"update-schema": "ts-node --skip-project test/fixtures/updateSchema.ts"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --fix",
"*.{json,css,md}": "prettier --write --ignore-path .eslintignore"
},
"prettier": {
"printWidth": 79,
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"preset": "@4c/jest-preset"
},
"dependencies": {
"@types/react": ">=16.8.0",
"@types/react-relay": ">=4.0.0",
"@types/relay-runtime": ">=4.0.0"
},
"devDependencies": {
"@4c/babel-preset": "^8.0.1",
"@4c/jest-preset": "^1.5.3",
"@4c/rollout": "^2.1.11",
"@4c/tsconfig": "^0.3.1",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-typescript": "^7.12.1",
"@types/enzyme": "^3.10.8",
"@types/graphql-relay": "^0.6.0",
"@types/invariant": "^2.2.34",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.7",
"@types/react-dom": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"babel-jest": "^26.6.3",
"babel-plugin-relay": "^10.0.1",
"codecov": "^3.8.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^7.13.0",
"eslint-config-4catalyzer-jest": "^2.0.9",
"eslint-config-4catalyzer-react": "^1.0.12",
"eslint-config-4catalyzer-typescript": "^3.0.1",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"graphql": "^15.4.0",
"graphql-relay": "^0.6.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-relay": "^10.0.1",
"relay-compiler": "^10.0.1",
"relay-compiler-language-typescript": "^13.0.2",
"relay-local-schema": "^0.8.0",
"relay-runtime": "^10.0.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-relay": ">=2.0.0",
"relay-runtime": ">=2.0.0"
},
"publishConfig": {
"access": "public"
}
}