-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.32 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.32 KB
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
{
"name": "stagehand-templates",
"version": "1.0.0",
"description": "Stagehand + Browserbase Templates",
"private": true,
"type": "module",
"scripts": {
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
"lint": "eslint \"**/*.{ts,tsx,js,jsx}\"",
"lint:fix": "eslint \"**/*.{ts,tsx,js,jsx}\" --fix",
"lint:python": "uvx ruff check python/",
"lint:python:fix": "uvx ruff check --fix python/",
"format:python": "uvx ruff format python/",
"format:python:check": "uvx ruff format --check python/",
"check": "npm run format:check && npm run lint && npm run lint:python && npm run format:python:check",
"prepare": "husky"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.2.5",
"typescript-eslint": "^8.50.1"
},
"packageManager": "pnpm@9.0.0",
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
],
"*.py": [
"uvx ruff check --fix",
"uvx ruff format"
]
}
}