react-chessboard-ui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/dist/ChessBoard/Arrow.d.ts +8 -0
- package/dist/ChessBoard/ArrowLayout.d.ts +11 -0
- package/dist/ChessBoard/ChessBoard.d.ts +13 -0
- package/dist/ChessBoard/ChessBoardCellsLayout.d.ts +8 -0
- package/dist/ChessBoard/ChessBoardControlLayout.d.ts +16 -0
- package/dist/ChessBoard/ChessBoardFiguresLayout.d.ts +11 -0
- package/dist/ChessBoard/ChessBoardInteractiveLayout.d.ts +15 -0
- package/dist/ChessBoard/FigurePicker.d.ts +11 -0
- package/dist/ChessBoard/HoldedFigure.d.ts +10 -0
- package/dist/ChessBoard/chessPieciesMap.d.ts +2 -0
- package/dist/ChessBoard/constants.d.ts +13 -0
- package/dist/ChessBoard/index.d.ts +1 -0
- package/dist/ChessBoard/models.d.ts +27 -0
- package/dist/ChessBoard/useChessBoardInteractive.d.ts +41 -0
- package/dist/ChessBoard/utils.d.ts +51 -0
- package/dist/JSChessEngine/FEN.utils.d.ts +51 -0
- package/dist/JSChessEngine/JSChessEngine.d.ts +383 -0
- package/dist/JSChessEngine/__tests__/FEN.utils.test.d.ts +1 -0
- package/dist/JSChessEngine/__tests__/chessState.mock.d.ts +3 -0
- package/dist/JSChessEngine/chess.consts.d.ts +49 -0
- package/dist/JSChessEngine/index.d.ts +3 -0
- package/dist/index.css +132 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2835 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +2817 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/index.test.d.ts +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-chessboard-ui",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "for chess apps",
|
|
5
|
+
"author": "skilldill",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": "skilldill/react-chessboard-ui",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "dist/index.modern.js",
|
|
10
|
+
"source": "src/index.tsx",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=10"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "microbundle-crl --no-compress --format modern,cjs",
|
|
16
|
+
"start": "microbundle-crl watch --no-compress --format modern,cjs",
|
|
17
|
+
"prepare": "run-s build",
|
|
18
|
+
"test": "run-s test:unit test:lint test:build",
|
|
19
|
+
"test:build": "run-s build",
|
|
20
|
+
"test:lint": "eslint .",
|
|
21
|
+
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
22
|
+
"test:watch": "react-scripts test --env=jsdom",
|
|
23
|
+
"predeploy": "cd example && npm install && npm run build",
|
|
24
|
+
"deploy": "gh-pages -d example/build"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"react": "^18.3.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@testing-library/jest-dom": "^4.2.4",
|
|
31
|
+
"@testing-library/react": "^9.5.0",
|
|
32
|
+
"@testing-library/user-event": "^7.2.1",
|
|
33
|
+
"@types/jest": "^25.1.4",
|
|
34
|
+
"@types/node": "^12.12.38",
|
|
35
|
+
"@types/react": "^18.3.0",
|
|
36
|
+
"@types/react-dom": "^18.3.0",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
|
38
|
+
"@typescript-eslint/parser": "^2.26.0",
|
|
39
|
+
"babel-eslint": "^10.0.3",
|
|
40
|
+
"cross-env": "^7.0.2",
|
|
41
|
+
"eslint": "^6.8.0",
|
|
42
|
+
"eslint-config-prettier": "^6.7.0",
|
|
43
|
+
"eslint-config-standard": "^14.1.0",
|
|
44
|
+
"eslint-config-standard-react": "^9.2.0",
|
|
45
|
+
"eslint-plugin-import": "^2.18.2",
|
|
46
|
+
"eslint-plugin-node": "^11.0.0",
|
|
47
|
+
"eslint-plugin-prettier": "^3.1.1",
|
|
48
|
+
"eslint-plugin-promise": "^4.2.1",
|
|
49
|
+
"eslint-plugin-react": "^7.17.0",
|
|
50
|
+
"eslint-plugin-standard": "^4.0.1",
|
|
51
|
+
"gh-pages": "^2.2.0",
|
|
52
|
+
"microbundle-crl": "^0.13.10",
|
|
53
|
+
"npm-run-all": "^4.1.5",
|
|
54
|
+
"prettier": "^2.0.4",
|
|
55
|
+
"react": "^18.3.0",
|
|
56
|
+
"react-dom": "^18.3.0",
|
|
57
|
+
"react-scripts": "^3.4.1",
|
|
58
|
+
"typescript": "^3.7.5"
|
|
59
|
+
},
|
|
60
|
+
"files": [
|
|
61
|
+
"dist"
|
|
62
|
+
],
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"classnames": "^2.5.1"
|
|
65
|
+
}
|
|
66
|
+
}
|