forked from dotansimha/graphql-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.82 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
{
"private": true,
"scripts": {
"clean": "lerna clean --yes && rm -rf node_modules",
"build": "lerna run build --ignore @graphql-codegen/live-demo --ignore @graphql-codegen/website",
"test": "lerna run test --ignore @graphql-codegen/live-demo --ignore @graphql-codegen/website",
"lint": "lerna run lint --ignore @graphql-codegen/live-demo --ignore @graphql-codegen/website",
"test-and-build": "yarn build && yarn test",
"prerelease": "yarn test-and-build",
"prerelease:canary": "yarn test-and-build",
"release": "lerna publish --contents dist --exact --force-publish=\"*\" --ignore @graphql-codegen/live-demo --ignore @graphql-codegen/website",
"release:canary": "lerna publish --contents dist --force-publish=\"*\" --canary --exact --ignore @graphql-codegen/live-demo --ignore @graphql-codegen/website ",
"ci:release:canary": "lerna publish --contents dist --ignore @graphql-codegen/live-demo --ignore @graphql-codegen/website --force-publish=\"*\" --preid \"alpha-`git rev-parse --short HEAD`\" --canary --exact --yes",
"generate:examples": "./dev-test/generate-all.sh",
"build-website": "lerna run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"workspaces": {
"packages": [
"packages/*",
"packages/utils/*",
"packages/plugins/flow/*",
"packages/plugins/java/*",
"packages/plugins/typescript/*",
"packages/plugins/other/*",
"packages/presets/*",
"website",
"website/live-demo"
],
"nohoist": [
"**/@babel-*",
"**/@babel-*/**"
]
},
"devDependencies": {
"dfds-github-scripts": "0.0.2",
"@apollo/react-common": "3.1.3",
"@apollo/react-components": "3.1.3",
"@apollo/react-hoc": "3.1.3",
"@apollo/react-hooks": "3.1.3",
"@types/common-tags": "1.8.0",
"@types/glob": "7.1.1",
"@types/jest": "25.1.2",
"@types/mkdirp": "1.0.0",
"@types/node": "10.17.14",
"@types/react": "16.9.19",
"@types/request": "2.48.4",
"react": "16.12.0",
"react-dom": "16.12.0",
"apollo-cache": "1.3.4",
"apollo-client": "2.6.8",
"apollo-link": "1.2.13",
"apollo-server": "2.9.16",
"apollo-utilities": "1.3.3",
"graphql": "14.6.0",
"graphql-tag": "2.10.1",
"graphql-tools": "4.0.6",
"husky": "4.2.1",
"jest": "25.1.0",
"jest-docblock": "25.1.0",
"jest-junit": "10.0.0",
"lerna": "3.20.2",
"lint-staged": "10.0.7",
"rimraf": "3.0.2",
"ts-jest": "25.2.0",
"tslint": "5.20.1",
"stencil-apollo": "0.1.5",
"typescript": "3.7.5",
"urql": "1.8.2"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"tslint --fix",
"git add"
],
"packages/**/*.{js,json,css,md,ts,tsx}": [
"prettier --write",
"git add -f"
]
},
"resolutions": {
"@types/react": "16.9.19"
}
}