-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.95 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.95 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
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
{
"name": "@echecs/react-board",
"version": "3.0.0",
"type": "module",
"license": "MIT",
"description": "React chessboard component with drag & drop, animation, and theming. Bundled cburnett piece set, zero external dependencies.",
"author": "Adrian de la Rosa <adrian@delarosab.me>",
"repository": {
"type": "git",
"url": "https://github.com/echecsjs/react-board.git"
},
"homepage": "https://react-board.echecs.dev",
"bugs": {
"url": "https://github.com/echecsjs/react-board/issues"
},
"packageManager": "pnpm@10.33.0",
"publishConfig": {
"access": "public"
},
"keywords": [
"board",
"chess",
"chessboard",
"component",
"drag-and-drop",
"react",
"typescript"
],
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./sounds/capture.mp3": "./sounds/capture.mp3",
"./sounds/castle.mp3": "./sounds/castle.mp3",
"./sounds/check.mp3": "./sounds/check.mp3",
"./sounds/game-end.mp3": "./sounds/game-end.mp3",
"./sounds/move.mp3": "./sounds/move.mp3"
},
"types": "./dist/index.d.ts",
"files": [
"/dist/",
"/sounds/",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"engines": {
"node": ">=22"
},
"peerDependencies": {
"@echecs/position": ">=3",
"react": ">=18"
},
"devDependencies": {
"@echecs/game": "^4.0.0",
"@echecs/position": "^4.0.0",
"@eslint/js": "^10.0.1",
"@storybook/addon-docs": "^10.3.5",
"@storybook/react-vite": "^10.3.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.2.14",
"@typescript-eslint/parser": "^8.57.0",
"@vitest/coverage-v8": "^4.1.0",
"@vitest/eslint-plugin": "^1.6.12",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-unicorn": "^64.0.0",
"husky": "^9.1.7",
"jsdom": "^29.0.2",
"lint-staged": "^17.0.2",
"prettier": "^3.8.1",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"storybook": "^10.3.4",
"tsdown": "^0.22.0",
"typescript": "^6.0.2",
"typescript-eslint": "^8.57.0",
"vitest": "^4.1.0"
},
"scripts": {
"build": "tsdown",
"storybook": "storybook dev -p 6006",
"docs": "storybook build -o docs/api",
"storybook:build": "storybook build",
"format": "pnpm run format:ci --write",
"format:ci": "prettier -l \"**/*.+(css|js|json|jsx|md|mjs|mts|ts|tsx|yml|yaml)\"",
"lint": "pnpm run lint:style && pnpm run lint:types",
"lint:ci": "pnpm run lint:style --max-warnings 0 && pnpm run lint:types",
"lint:style": "eslint \"src/**/*.{ts,tsx}\" \"*.mjs\" --fix",
"lint:types": "tsc --noEmit --project tsconfig.json",
"prepare": "husky && pnpm run build",
"test": "vitest run",
"test:coverage": "pnpm run test --coverage",
"test:watch": "pnpm run test --watch"
}
}