-
Notifications
You must be signed in to change notification settings - Fork 515
/
package.json
50 lines (50 loc) · 1.1 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
{
"name": "artillery-monorepo",
"packageManager": "^npm@10.8.2",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build",
"test": "turbo run test",
"lint": "turbo run lint --continue",
"lint-fix": "turbo run lint-fix --continue",
"format": "npx prettier -w ./packages/**/*.{js,ts,json}",
"prepare": "npx simple-git-hooks"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^7.6.0",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.8.1",
"turbo": "2.0.11"
},
"simple-git-hooks": {
"commit-msg": "npx commitlint --edit $1",
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"**/*.json": [
"prettier --write"
]
},
"prettier": {
"semi": true,
"singleQuote": true,
"useTabs": false,
"trailingComma": "none",
"overrides": [
{
"files": "*.(yaml|yml)",
"options": {
"singleQuote": false
}
}
]
}
}