generated from Rock-n-Prog/web-ts-monorepo-starter-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.59 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
{
"name": "acme",
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"packages/clients/*",
"packages/config/*"
],
"engines": {
"node": ">=14.0.0"
},
"packageManager": "[email protected]",
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --filter @acme/web",
"env:local": "turbo run env:local",
"format": "prettier --check \"**/*.{js,ts,mjs,json,css,md,yml}\"",
"format:fix": "prettier --write \"**/*.{js,ts,mjs,json,css,md,yml}\"",
"husky:setup": "husky install",
"lint": "pnpm run lint:root && turbo run lint",
"lint:fix": "pnpm run lint:root:fix && turbo run lint:fix",
"lint:ls": "ls-lint",
"lint:root": "eslint --max-warnings 0 ./*.{js,ts}",
"lint:root:fix": "eslint --max-warnings 0 ./*.{js,ts}",
"lint:staged": "lint-staged",
"yeet": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \\; && find . -name '.turbo' -type d -prune -print -exec rm -rf '{}' \\; && find . -name 'dist' -type d -prune -print -exec rm -rf '{}' \\;"
},
"devDependencies": {
"@acme/eslint-config": "workspace:*",
"@ls-lint/ls-lint": "^1.11.2",
"eslint": "^8.35.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"turbo": "^1.8.3"
},
"lint-staged": {
"*": [
"ls-lint"
],
"./*.{js,jsx,ts,tsx}": [
"pnpm lint:root:fix"
],
"**/*.{js,jsx,ts,tsx,json,css,md,yml}": [
"pnpm format:fix"
],
"packages/clients/cms/**/*.{js,ts}": [
"eslint --max-warnings 0 --fix packages/clients/cms/**/*.{js,ts}"
]
}
}