-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
70 lines (70 loc) · 1.99 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
{
"name": "apollodeveloperkit",
"version": "0.15.0",
"description": "Visual debug your app, that is based on Apollo iOS",
"repository": "https://github.com/manicmaniac/ApolloDeveloperKit",
"author": "Ryosuke Ito <[email protected]>",
"license": "MIT",
"private": true,
"module": "src/index.ts",
"sideEffects": [
"src/index.ts"
],
"scripts": {
"build": "webpack",
"lint": "eslint . --ext .ts",
"test": "jest",
"generate:type": "npm run generate:type:swift & npm run generate:type:typescript & wait",
"generate:type:swift": "quicktype -l swift --just-types -t Schema -s schema -o Sources/ApolloDeveloperKit/Schema/Schema.swift ApolloDeveloperKit.schema.json",
"generate:type:typescript": "quicktype -l typescript --just-types -t Schema -s schema -o src/schema.ts ApolloDeveloperKit.schema.json"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"apollo-cache": "^1.3.5",
"apollo-client": "^2.6.10",
"apollo-client-devtools": "^2.3.1",
"eslint": "^7.7.0",
"eventsourcemock": "^2.0.0",
"graphql": "^15.3.0",
"jest": "^26.4.2",
"quicktype": "^15.0.256",
"ts-jest": "^26.3.0",
"ts-loader": "^8.0.3",
"typescript": "^4.0.2",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"Carthage",
"node_modules",
"src/schema.ts"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
]
}
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "jsdom",
"transformIgnorePatterns": [
"node_modules/(?!(apollo-client-devtools)/)"
]
}
}