-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.04 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
{
"name": "apollo-server-integration-msw",
"description": "An Apollo Server integration for use with Mock Service Worker",
"version": "1.0.1",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Alexandr Dascal",
"repository": "https://github.com/adascal/apollo-server-integration-msw",
"scripts": {
"build": "wireit",
"check": "wireit",
"check:changeset": "wireit",
"check:eslint": "wireit",
"check:prettier": "wireit",
"check:tsc": "wireit",
"fix": "wireit",
"fix:eslint": "wireit",
"fix:prettier": "wireit",
"prepack": "npm run build",
"publish:changeset": "changeset publish",
"test": "wireit"
},
"wireit": {
"build": {
"command": "tsc -p tsconfig.build.json",
"dependencies": [
"check:eslint",
"check:prettier"
],
"output": [
"./dist/**/*"
]
},
"check": {
"dependencies": [
"check:changeset",
"check:eslint",
"check:prettier",
"check:tsc"
]
},
"check:changeset": {
"command": "bash -c 'BRANCH=$(git rev-parse --abbrev-ref HEAD); if [[ $BRANCH != changeset-release/* ]] && [[ $BRANCH != renovate/* ]]; then changeset status --since=origin/master; fi'"
},
"check:eslint": {
"command": "eslint --ignore-path .prettierignore $(git diff --diff-filter d --name-only HEAD~1 | grep -E '\\.(js|ts)$' | xargs)"
},
"check:prettier": {
"command": "prettier --check $(git diff --diff-filter d --name-only HEAD~1 | xargs)"
},
"check:tsc": {
"command": "tsc --noEmit"
},
"fix": {
"dependencies": [
"fix:eslint",
"fix:prettier"
]
},
"fix:eslint": {
"command": "eslint --fix --ignore-path .prettierignore $(git diff --diff-filter d --name-only HEAD~1 | grep -E '\\.(js|ts)$' | xargs)"
},
"fix:prettier": {
"command": "prettier --write $(git diff --diff-filter d --name-only HEAD~1 | xargs)"
},
"test": {
"command": "jest"
}
},
"engines": {
"node": ">=14"
},
"files": [
"dist/**/*"
],
"peerDependencies": {
"@apollo/server": "^4.0.0",
"msw": "^1.0.0"
},
"devDependencies": {
"@apollo/server": "4.4.1",
"@apollo/server-integration-testsuite": "4.4.1",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.21.0",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"@types/jest": "29.4.0",
"@types/node": "14.18.37",
"@typescript-eslint/eslint-plugin": "5.54.1",
"@typescript-eslint/parser": "5.54.1",
"babel-jest": "29.5.0",
"babel-plugin-tsconfig-paths-module-resolver": "1.0.4",
"eslint": "8.35.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.7.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"jest": "29.5.0",
"jest-config": "29.5.0",
"msw": "1.1.0",
"prettier": "2.8.4",
"typescript": "4.9.5",
"wireit": "0.9.5"
}
}