-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 3.73 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
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
{
"name": "kokopu-react",
"version": "3.3.2",
"description": "A React-based library to create and display chessboard and chess-related components.",
"keywords": [
"chess",
"react",
"chessboard",
"ui",
"games"
],
"homepage": "https://www.npmjs.com/package/kokopu-react",
"bugs": "https://github.com/yo35/kokopu-react/issues",
"repository": "github:yo35/kokopu-react",
"license": "LGPL-3.0-or-later",
"author": "Yoann Le Montagner <[email protected]>",
"funding": "https://www.paypal.com/donate?hosted_button_id=4EGWA4YEZSALW",
"main": "dist/lib/index.js",
"files": [
"dist/lib",
"doc_src",
"scripts/doc.styleguide.config.js",
"scripts/doc.tsconfig.json",
"scripts/docker-compose.yml",
"scripts/test-graphic.tsconfig.json",
"scripts/test-graphic.webpack.config.js",
"scripts/test-headless.webpack.config.js",
"src",
"test",
".eslintrc.yml",
".nycrc.yml",
"CHANGELOG.md",
"CREDITS.md",
"LICENSE",
"README.md",
"tsconfig.json"
],
"peerDependencies": {
"kokopu": "^4.9.1",
"react": "17.x.x || 18.x.x || 19.x.x"
},
"dependencies": {
"htmlparser2": "^9.1.0"
},
"devDependencies": {
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@eslint/js": "^9.17.0",
"@mui/material": "^6.3.0",
"@stylistic/eslint-plugin": "^2.12.1",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"copyfiles": "^2.4.1",
"coverage-istanbul-loader": "^3.0.5",
"css-loader": "^7.1.2",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.3",
"globals": "^15.14.0",
"html-webpack-plugin": "^5.6.3",
"img-diff-js": "^0.5.4",
"kokopu": "^4.11.3",
"mocha": "^11.0.1",
"null-loader": "^4.0.1",
"nyc": "^17.1.0",
"react": "^19.0.0",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^19.0.0",
"react-styleguidist": "^13.1.3",
"rimraf": "^6.0.1",
"selenium-webdriver": "^4.27.0",
"ssh2-sftp-client": "^11.0.0",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0",
"unit.js": "^2.1.1",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"scripts": {
"lint": "eslint doc_src src test",
"preunit": "npm run build:lib && webpack --config scripts/test-headless.webpack.config.js && webpack --config scripts/test-graphic.webpack.config.js && rimraf build/graphic_output",
"unit": "nyc mocha --enable-source-maps --bail --sort",
"test": "npm run lint && npm run unit",
"test_env:start": "docker compose -p kokopu-react-test-env -f scripts/docker-compose.yml up -d",
"test_env:stop": "docker compose -p kokopu-react-test-env -f scripts/docker-compose.yml down",
"build": "npm run build:lib && npm run build:doc",
"build:doc": "rimraf dist/docs && styleguidist build --config scripts/doc.styleguide.config.js && copyfiles -u 2 'doc_src/theming/*.png' dist/docs",
"build:lib": "rimraf dist/lib && tsc --outDir dist/lib && copyfiles -u 1 'src/**/*.{css,png,woff,woff2}' dist/lib",
"start": "styleguidist server --open --config scripts/doc.styleguide.config.js",
"clean": "rimraf build dist",
"predeploy": "npm run test && npm run build",
"deploy": "npm publish && node scripts/deploy.js"
}
}