Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.6 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
44
45
46
47
48
{
"name": "react-sketch-project",
"description": "Monorepo for react-sketch, a sketch element for React applications backed by fabric.js",
"private": true,
"workspaces": [
"packages/*"
],
"license": "MIT",
"engines": {
"node": ">=22.22.1"
},
"scripts": {
"start": "yarn workspace showcase start",
"build": "yarn workspace react-sketch build && yarn workspace showcase build",
"typecheck": "yarn workspace react-sketch typecheck && yarn workspace showcase typecheck",
"clean": "node -e \"for (const d of ['packages/react-sketch/dist', 'packages/showcase/build']) require('fs').rmSync(d, { recursive: true, force: true })\"",
"lint": "eslint \"packages/**/*.{ts,tsx}\"",
"lint:fix": "eslint --fix \"packages/**/*.{ts,tsx}\"",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "yarn workspace react-sketch test",
"test:watch": "yarn workspace react-sketch test --watch",
"test:coverage": "yarn workspace react-sketch test:coverage",
"prepare": "husky"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^5.28.7",
"@eslint/js": "^10.0.1",
"eslint": "^10.13.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.13.0",
"husky": "^9.1.7",
"lint-staged": "^17.6.0",
"prettier": "^3.9.10",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
"webpack": "^5.112.1",
"webpack-cli": "^7.2.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,md,yml}": "prettier --write"
}
}