forked from cloudflare/workers-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.39 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "wrangler-root",
"version": "0.0.0",
"author": "wrangler@cloudflare.com",
"description": "Monorepo for wrangler and associated packages",
"license": "MIT OR Apache-2.0",
"bugs": {
"url": "https://github.com/cloudflare/wrangler/issues"
},
"homepage": "https://github.com/cloudflare/wrangler#readme",
"workspaces": [
"packages/*"
],
"dependencies": {
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.18.0",
"@types/jest": "^27.0.3",
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"esbuild-jest": "0.5.0",
"esbuild-register": "^3.2.0",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"ioredis": "^4.28.2",
"jest": "^27.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"typescript": "^4.5.2"
},
"scripts": {
"check": "run-p check:* --aggregate-output -l",
"check:type": "tsc -p tsconfig.json",
"check:lint": "eslint \"packages/**/*.[tj]s?(x)\" --cache --cache-strategy content",
"check:format": "prettier packages/** --check --ignore-unknown",
"build-and-test": "run-p build test --aggregate-output -l",
"build": "npm run build --workspace=wrangler",
"test": "npm run test --workspaces --if-present",
"prettify": "prettier packages/** --write --ignore-unknown"
},
"engines": {
"node": ">=16.7.0"
},
"eslintConfig": {
"root": true,
"ignorePatterns": [
"packages/*/vendor",
"packages/*/*-dist",
"packages/wrangler/pages/functions/template-worker.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"project": [
"tsconfig.json"
],
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-react",
"eslint-plugin-react-hooks",
"import"
],
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:import/typescript"
],
"rules": {
"@typescript-eslint/consistent-type-imports": [
"error"
],
"no-shadow": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-explicit-any": "error",
"no-empty": "off",
"require-yield": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"import/order": [
"warn",
{
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object",
"type"
],
"alphabetize": {
"order": "asc"
}
}
]
}
}
]
},
"volta": {
"node": "16.7.0"
}
}