-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.86 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
{
"private": true,
"type": "module",
"scripts": {
"prebuild": "pnpm lint && pnpm generate:exports",
"build": "pnpm prebuild && cd packages/hooks && pnpm build",
"format": "prettier --write packages/**/*.{ts,tsx}",
"lint": "eslint --ext ts,tsx --cache --max-warnings 0",
"clean": "rimraf packages/**/dist && pnpm --filter=docs clean",
"typecheck": "cd packages/hooks && tsc --noEmit",
"test": "cd packages/hooks && pnpm test",
"test:watch": "cd packages/hooks && pnpm test:watch",
"docs:dev": "concurrently \"pnpm generate:pages:watch\" \"pnpm --filter=docs dev\"",
"docs:build": "pnpm generate:pages && cd docs && pnpm build",
"generate:exports": "node scripts/export-hooks.js",
"generate:readme": "node scripts/create-readme-table.js",
"generate:pages": "node --no-warnings scripts/create-doc-pages.js",
"generate:pages:watch": "chokidar packages/hooks/src/**/*.page.jsx -c 'pnpm generate:pages' --initial --silent",
"release": "pnpm test && pnpm build && pnpm generate:readme && bash scripts/release.sh"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
"@repo/typescript-config": "workspace:*",
"@testing-library/react": "^14.0.0",
"@types/doctrine": "^0.0.9",
"@types/node": "^20.13.0",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.2.1",
"@vitest/coverage-v8": "^0.32.2",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"doctrine": "^3.0.0",
"eslint": "^8.48.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^22.1.0",
"marked": "^15.0.4",
"prettier": "^3.0.3",
"typescript": "^5.4.5",
"vitest": "^0.32.2"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20"
}
}