-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
61 lines (61 loc) · 1.71 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
{
"name": "root",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@9.7.1",
"scripts": {
"demo": "pnpm run --filter=nextjs-demo dev",
"dev": "concurrently \"npm:lib:build:watch\" \"npm:demo\" -c auto,cyan",
"format:write": "npx prettier **/*.{js,mjs,cjs,ts,tsx,json} --write .",
"format:check": "npx prettier **/*.{js,mjs,cjs,ts,tsx,json} --check .",
"lib:build": "pnpm run --filter=@marsidev/react-turnstile build",
"lib:build:watch": "pnpm run --filter=@marsidev/react-turnstile build:watch",
"lint": "pnpm run --parallel lint",
"lint:fix": "pnpm run --parallel lint:fix",
"release": "pnpm run --filter=@marsidev/react-turnstile release",
"test": "pnpm run test:integration && pnpm run test:e2e",
"test:e2e": "playwright test",
"test:integration": "pnpm run --filter=@marsidev/react-turnstile test:integration",
"type-check": "pnpm run --parallel type-check"
},
"devDependencies": {
"@antfu/ni": "0.22.4",
"@antfu/utils": "0.7.10",
"@playwright/test": "1.46.0",
"@types/node": "22.3.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"concurrently": "8.2.2",
"eslint-config-custom": "workspace:*",
"lint-staged": "15.2.9",
"playwright": "1.46.0",
"pnpm": "9.7.1",
"prettier": "3.3.3",
"simple-git-hooks": "2.11.1",
"typescript": "5.5.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"**/*.{js,mjs,cjs,ts,tsx}": [
"eslint . --cache --fix",
"prettier --write --cache --ignore-unknown"
],
"**/*.json": [
"prettier --write --cache --ignore-unknown"
]
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"typescript",
"eslint",
"prettier"
]
}
},
"eslintConfig": {
"extends": "custom"
}
}