Files
lila/ui/botDev/package.json

40 lines
1.1 KiB
JSON

{
"name": "bot-dev",
"private": true,
"typings": "devTypes",
"typesVersions": {
"*": {
"*": [
"dist/*"
]
}
},
"exports": {
"./*": "./src/*.ts"
},
"dependencies": {
"@lichess-org/zerofish": "^0.0.40",
"bits": "workspace:*",
"chart.js": "4.5.1",
"editor": "workspace:*",
"fast-diff": "^1.3.0",
"json-stringify-pretty-compact": "4.0.0",
"lib": "workspace:*",
"round": "workspace:*"
},
"scripts": {
"import-bots": "mongoimport --db=lichess --collection=jsbot --drop --jsonArray --file",
"export-bots": "mongosh lichess bin/export-bots.js > ",
"import-assets": "mongoimport --db=lichess --collection=jsbot_asset --drop --jsonArray --file",
"export-assets": "mongoexport --db=lichess --collection=jsbot_asset --jsonArray --out"
},
"//": [
"pnpm import-assets ../../../lila-db-seed/spamdb/data/jsbot.asset.json",
"pnpm import-bots ../../../lila-db-seed/spamdb/data/jsbot.json",
"the asset json in lila-db-seed map the hashed asset filenames in data/bot"
],
"build": {
"bundle": "src/**/botDev.*ts"
}
}