puzzle racer WIP

puzzle-racer-road-translate
Thibault Duplessis 2021-03-03 12:19:57 +01:00
parent 470bfc2500
commit 1127490611
2 changed files with 24 additions and 3 deletions

View File

@ -0,0 +1,23 @@
{
"name": "puz",
"version": "2.0.0",
"private": true,
"description": "lichess.org fast puzzle utils",
"main": "dist/main.js",
"types": "dist/main",
"author": "Thibault Duplessis",
"license": "AGPL-3.0-or-later",
"scripts": {
"compile": "../../node_modules/typescript/bin/tsc --incremental --outDir ./dist --declaration --inlineSourceMap",
"dev": "yarn run compile",
"prod": "yarn run compile"
},
"dependencies": {
"snabbdom": "^0.7.4"
},
"devDependencies": {
"@types/cash": "8.0.0",
"@types/lichess": "2.0.0",
"typescript": "^4.1.3"
}
}

View File

@ -278,7 +278,5 @@ export default class StormCtrl {
});
};
private hotkeys = () => {
window.Mousetrap.bind('space', () => location.reload()).bind('return', this.end);
};
private hotkeys = () => window.Mousetrap.bind('space', () => location.reload()).bind('return', this.end);
}