-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 4.58 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
{
"name": "@spautz/package-template-workspace",
"private": true,
"description": "My opinionated template for a npm library repo",
"license": "MIT",
"homepage": "https://github.com/spautz/package-template#readme",
"bugs": "https://github.com/spautz/package-template/issues",
"repository": {
"type": "git",
"url": "https://github.com/spautz/package-template.git"
},
"author": {
"name": "Steven Pautz",
"url": "https://github.com/spautz/"
},
"engines": {
"node": "^18 || ^20 || ^21 || ^22",
"pnpm": "^9"
},
"packageManager": "pnpm@9.4.0",
"type": "module",
"scripts": {
"____ HOOKS _________________________________________________________": "",
"preinstall": "npx only-allow pnpm",
"prepare": "husky && turbo run dependencies",
"husky:precommit": "lint-staged",
"husky:prepush": "turbo run format:verify w:typecheck w:lint",
"____ REPO COMMANDS _________________________________________________": "",
"changelog": "changeset",
"changelog:status": "changeset status --verbose",
"changelog:status:ci": "changeset status --since=origin/main --verbose",
"clean": "pnpm run w:test:clean && rimraf --glob ./node_modules/.cache ./.turbo/{cache,runs,*.log} ./*.log && pnpm --parallel -r run clean",
"dev": "turbo run dev",
"docs": "pnpm run --filter=./docs-website dev",
"format": "prettier --write .",
"format:verify": "prettier --list-different .",
"publish:yalc": "pnpm run -r publish:yalc",
"release:docs": "pnpm run --filter=./docs-website deploy",
"release:prep": "pnpm run changelog:status && changeset version",
"____ PACKAGE-ONLY COMMANDS _________________________________________": "",
"packages:all": "turbo run pipeline-all --filter=!//",
"packages:all:ci": "turbo run pipeline-ci --filter=!//",
"packages:build": "turbo run build --filter=!//",
"packages:lint": "turbo run lint --filter=!//",
"packages:lint:fix": "turbo run lint:fix --filter=!//",
"packages:test": "turbo run test --filter=!//",
"packages:test:watch": "turbo run test:watch --filter=!//",
"packages:typecheck": "turbo run typecheck --filter=!//",
"____ WORKSPACE-ONLY COMMANDS _______________________________________": "",
"w:lint": "eslint . --max-warnings 0",
"w:lint:fix": "eslint . --max-warnings 0 --fix",
"w:test:clean": "rimraf ./coverage",
"w:test": "pnpm run w:test:clean && vitest run --coverage",
"w:test:ci": "pnpm run w:test:clean && vitest run --coverage --bail 1",
"w:test:watch": "pnpm run w:test:clean && vitest watch --coverage",
"w:test:ui": "pnpm run w:test:clean && vitest --ui",
"w:typecheck": "tsc -p ./tsconfig.json --noEmit",
"____ UNIFIED COMMANDS ______________________________________________": "",
"all": "turbo run w:pipeline-all",
"all:ci": "turbo run w:pipeline-ci",
"all:all": "turbo run pipeline-all w:pipeline-all",
"build": "turbo run build",
"lint": "turbo run w:lint",
"lint:fix": "turbo run w:lint:fix",
"test": "turbo run w:test",
"test:watch": "turbo run w:test:watch",
"test:ui": "turbo run w:test:ui",
"typecheck": "turbo run w:typecheck"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.0",
"@changesets/cli": "2.27.7",
"@eslint/compat": "1.1.1",
"@size-limit/preset-small-lib": "11.1.4",
"@testing-library/jest-dom": "6.4.6",
"@testing-library/react": "16.0.0",
"@types/node": "20.14.10",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@vitest/coverage-v8": "2.0.3",
"@vitest/ui": "2.0.3",
"changesets-format-with-issue-links": "0.3.0",
"cross-env": "7.0.3",
"downlevel-dts": "0.11.0",
"eslint": "9.7.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-react": "7.34.4",
"eslint-plugin-react-hooks": "4.6.2",
"glob": "10.4.5",
"husky": "9.0.11",
"jsdom": "24.1.0",
"lint-staged": "15.2.7",
"lodash": "4.17.21",
"only-allow": "1.2.1",
"prettier": "3.3.3",
"publint": "0.2.8",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "5.0.9",
"size-limit": "11.1.4",
"tiny-immutable-set": "1.3.1",
"tsup": "8.1.0",
"turbo": "2.0.6",
"typescript": "5.5.3",
"typescript-eslint": "7.16.1",
"vite": "5.3.3",
"vitest": "2.0.3",
"yalc": "1.0.0-pre.53",
"yargs": "17.7.2"
},
"lint-staged": {
"*.{css,html,js,jsx,json,less,md,scss,ts,tsx,yaml}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --max-warnings 0 --no-warn-ignored"
]
}
}