This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
110 lines (110 loc) · 2.73 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
108
109
110
{
"private": true,
"name": "grafoo",
"description": "a graphql client and toolkit",
"repository": "https://github.com/grafoojs/grafoo",
"author": "malbernaz <albernazmiguel@gmail.com>",
"license": "MIT",
"scripts": {
"bootstrap": "lerna bootstrap",
"test": "lerna run test",
"test:coverage": "lerna run test:coverage && codecov",
"prepare": "node scripts/build.js",
"clean": "rimraf packages/**/dist"
},
"husky": {
"hooks": {
"pre-push": "lerna run test",
"pre-commit": "lint-staged"
}
},
"workspaces": [
"packages/*"
],
"lint-staged": {
"*.{js,ts,tsx,json,graphql}": [
"eslint --fix",
"prettier --write"
]
},
"prettier": {
"printWidth": 100,
"trailingComma": "none"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"@typescript-eslint",
"prefer-let"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"rules": {
"prefer-const": 0,
"prefer-let/prefer-let": 2,
"@typescript-eslint/ban-ts-comment": 1,
"@typescript-eslint/no-empty-function": 1
},
"ignorePatterns": [
"packages/bundle",
"scripts"
]
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.0.0",
"@babel/register": "^7.0.0",
"@graphql-tools/schema": "^8.2.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.1",
"@types/react": "^17.0.24",
"@types/react-test-renderer": "^17.0.1",
"@types/uuid": "^8.3.1",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"babel-plugin-jsx-pragmatic": "^1.0.2",
"babel-plugin-tester": "^10.0.0",
"casual": "^1.5.19",
"codecov": "^3.2.0",
"eslint": "^7.15.0",
"eslint-plugin-prefer-let": "^1.1.0",
"fetch-mock": "^9.11.0",
"graphql": "^15.4.0",
"husky": "^7.0.2",
"jest": "^27.2.2",
"lerna": "^4.0.0",
"lint-staged": "^11.1.2",
"lowdb": "^3.0.0",
"node-fetch": "^3.0.0",
"preact": "^8.3.0",
"preact-render-spy": "^1.3.0",
"prettier": "^2.2.1",
"react": "^16.8.2",
"react-test-renderer": "^16.8.2",
"resolve.exports": "^1.0.2",
"rimraf": "^3.0.2",
"typescript": "^4.1.2",
"uuid": "^8.3.2"
}
}