@chessviewer-org/chess-viewer 1.0.0
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/CHANGELOG.md +48 -0
- package/LICENSE +661 -0
- package/README.md +494 -0
- package/dist/index.cjs +1196 -0
- package/dist/index.d.cts +369 -0
- package/dist/index.d.ts +369 -0
- package/dist/index.js +1091 -0
- package/package.json +83 -0
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chessviewer-org/chess-viewer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Chess diagram toolkit — parse & edit FEN positions, manipulate boards, render SVG diagrams, board themes, color, image & DPI utilities. Works in Node.js and browsers.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"CHANGELOG.md",
|
|
20
|
+
"LICENSE"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsup src/index.ts --format esm,cjs --dts --out-dir dist",
|
|
24
|
+
"dev": "tsup src/index.ts --format esm,cjs --dts --out-dir dist --watch",
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
26
|
+
"test": "npx tsx --test src/index.test.ts",
|
|
27
|
+
"prepublishOnly": "npm run build && npm test"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"chess",
|
|
31
|
+
"fen",
|
|
32
|
+
"fen-parser",
|
|
33
|
+
"fen-to-svg",
|
|
34
|
+
"svg",
|
|
35
|
+
"chess-svg",
|
|
36
|
+
"diagram",
|
|
37
|
+
"chess-diagram",
|
|
38
|
+
"board",
|
|
39
|
+
"chessboard",
|
|
40
|
+
"chessboard-image",
|
|
41
|
+
"chess-board",
|
|
42
|
+
"chess-position",
|
|
43
|
+
"chess-utils",
|
|
44
|
+
"board-themes",
|
|
45
|
+
"lichess",
|
|
46
|
+
"dpi",
|
|
47
|
+
"chessviewer",
|
|
48
|
+
"typescript"
|
|
49
|
+
],
|
|
50
|
+
"author": "ChessViewer <contact@chessvision.org> (https://chessvision.org)",
|
|
51
|
+
"license": "AGPL-3.0",
|
|
52
|
+
"funding": {
|
|
53
|
+
"type": "github",
|
|
54
|
+
"url": "https://github.com/chessviewer-org/.github#support-the-project"
|
|
55
|
+
},
|
|
56
|
+
"repository": {
|
|
57
|
+
"type": "git",
|
|
58
|
+
"url": "https://github.com/chessviewer-org/chess-viewer-utils.git"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://github.com/chessviewer-org/chess-viewer-utils#readme",
|
|
61
|
+
"bugs": {
|
|
62
|
+
"url": "https://github.com/chessviewer-org/chess-viewer-utils/issues"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
66
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
67
|
+
"@semantic-release/git": "^10.0.1",
|
|
68
|
+
"@semantic-release/github": "^11.0.6",
|
|
69
|
+
"@semantic-release/npm": "^12.0.2",
|
|
70
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
71
|
+
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
72
|
+
"semantic-release": "^24.2.3",
|
|
73
|
+
"tsup": "^8.3.0",
|
|
74
|
+
"typescript": "^5.7.3"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=18"
|
|
78
|
+
},
|
|
79
|
+
"sideEffects": false,
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public"
|
|
82
|
+
}
|
|
83
|
+
}
|