-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.31 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
{
"name": "@holz/monorepo",
"private": true,
"version": "0.6.0",
"description": "Monorepo for all packages under the @holz organization",
"repository": "https://github.com/github:PsychoLlama/holz",
"author": "Jesse Gibson",
"license": "MIT",
"types": "./src/index.ts",
"packageManager": "[email protected]",
"sideEffects": false,
"workspaces": [
"packages/*"
],
"files": [
"dist",
"src"
],
"scripts": {
"prepare": "yarn workspaces foreach --all --parallel --topological-dev run prepack",
"test": "run test:coverage && run test:lint && run test:fmt && run test:types",
"test:coverage": "yarn workspaces foreach --all --parallel run test:unit --coverage --no-watch",
"test:types": "yarn workspaces foreach --all --parallel run test:types",
"test:lint": "eslint packages/*/src --ext ts,tsx --color",
"test:fmt": "prettier --check packages/*/src",
"fmt": "prettier --write packages/*/src"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"overrides": [
{
"files": [
"./**/__tests__/*.ts{x,}"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
],
"plugins": [
"@typescript-eslint",
"import"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript"
],
"rules": {
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/consistent-type-imports": "error",
"import/order": [
"error"
]
},
"settings": {
"import/resolver": {
"typescript": true,
"node": true
}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.tsx?": [
"eslint",
"prettier --check"
]
},
"prettier": {
"singleQuote": true
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.29.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
}
}