forked from graphql-hive/graphql-eslint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.51 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
{
"private": true,
"repository": "https://github.com/dotansimha/graphql-eslint",
"author": "Dotan Simha <[email protected]>",
"license": "MIT",
"workspaces": [
"./packages/*",
"./examples/*"
],
"scripts": {
"generate:configs": "ts-node scripts/generate-configs.ts",
"generate:docs": "ts-node scripts/generate-docs.ts",
"postinstall": "patch-package",
"lint": "eslint --ignore-path .gitignore --ext ts,js .",
"prebuild": "rimraf packages/*/dist",
"transpile-ts": "tsc --project tsconfig.json",
"build": "yarn transpile-ts && bob build",
"postbuild": "cp -r README.md docs ./packages/plugin/dist/",
"test": "jest --no-watchman --forceExit --noStackTrace --detectOpenHandles",
"prerelease": "yarn build",
"release": "changeset publish",
"release:canary": "(ts-node scripts/canary-release.ts && yarn build && yarn changeset publish --tag alpha) || echo Skipping Canary...",
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{ts,tsx,graphql,yml}\""
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/preset-env": "7.16.8",
"@babel/preset-typescript": "7.16.7",
"@changesets/cli": "2.19.0",
"@types/dedent": "0.7.0",
"@types/jest": "27.4.0",
"@types/node": "16.11.19",
"@typescript-eslint/eslint-plugin": "5.9.1",
"@typescript-eslint/parser": "5.9.1",
"bob-the-bundler": "1.6.1",
"dedent": "0.7.0",
"eslint": "8.6.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-eslint-plugin": "4.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-standard": "5.0.0",
"eslint-plugin-unicorn": "40.0.0",
"husky": "7.0.4",
"jest": "27.4.7",
"jest-snapshot-serializer-raw": "1.2.0",
"json-schema-to-markdown": "1.1.1",
"lint-staged": "12.1.7",
"patch-package": "6.4.7",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"ts-jest": "27.1.2",
"ts-node": "10.4.0",
"typescript": "4.5.4"
},
"resolutions": {
"@changesets/git": "1.2.1",
"graphql": "16.2.0"
},
"lint-staged": {
"{packages,scripts}/**/*.{ts,tsx,js,jsx,cjs,mjs}": [
"eslint --fix",
"yarn generate:configs",
"git add packages/plugin/src/rules/index.ts",
"git add packages/plugin/src/configs",
"yarn generate:docs",
"git add docs"
],
"*.{ts,tsx,js,jsx,cjs,mjs,gql,graphql,yml,yaml,json}": [
"prettier --write"
]
}
}