forked from dotansimha/graphql-code-generator
/
package.json
74 lines (74 loc) · 2.24 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
{
"private": true,
"scripts": {
"clean": "lerna clean --yes && rm -rf node_modules",
"build": "lerna run build --ignore @graphql-codegen/{live-demo,website} ",
"test": "lerna run test --ignore @graphql-codegen/{live-demo,website} ",
"lint": "lerna run lint --ignore @graphql-codegen/{live-demo,website} ",
"test-and-build": " yarn build && yarn test",
"prerelease": "yarn test-and-build",
"prerelease:canary": "yarn test-and-build",
"release": "lerna publish --exact --force-publish=\"*\" --ignore @graphql-codegen/{live-demo,website}",
"release:canary": "lerna publish --force-publish=\"*\" --canary --exact --ignore @graphql-codegen/{live-demo,website} ",
"ci:release:canary": "lerna publish --ignore @graphql-codegen/{live-demo,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/**/*",
"packages/presets/**/*",
"website",
"website/live-demo"
],
"nohoist": [
"**/@babel-*",
"**/@babel-*/**"
]
},
"devDependencies": {
"@types/common-tags": "1.8.0",
"@types/glob": "7.1.1",
"@types/graphql": "14.2.3",
"@types/jest": "24.0.18",
"@types/mkdirp": "0.5.2",
"@types/node": "10.14.17",
"@types/request": "2.48.2",
"@apollo/react-common": "3.1.0",
"@apollo/react-components": "3.1.0",
"@apollo/react-hoc": "3.1.0",
"@apollo/react-hooks": "3.1.0",
"apollo-link": "1.2.13",
"apollo-server": "2.9.3",
"graphql": "14.5.4",
"graphql-tag": "2.10.1",
"graphql-tools": "4.0.5",
"husky": "3.0.5",
"jest": "24.9.0",
"jest-junit": "8.0.0",
"lerna": "3.16.4",
"lint-staged": "9.2.5",
"urql": "1.5.0",
"rimraf": "3.0.0",
"ts-jest": "24.0.2",
"tslint": "5.19.0",
"typescript": "3.6.2"
},
"lint-staged": {
"packages/**/*.{ts,tsx}": [
"tslint --fix",
"git add"
],
"packages/**/*.{js,json,css,md,ts,tsx}": [
"prettier --write",
"git add -f"
]
}
}