Regenerate from npm run

This commit is contained in:
Martin 2022-11-24 13:20:30 +01:00
parent 1c30cb93ea
commit a0ef7d518e
3 changed files with 943 additions and 233 deletions

1156
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,22 +7,22 @@
},
"scripts": {
"prettier-format": "prettier --config .prettierrc.json assets/Scripts/*.ts --write",
"test": "jest"
},
"dependencies": {
"@types/lodash": "^4.14.190",
"eslint": "^8.25.0",
"jest": "^29.2.2",
"lodash": "^4.17.21",
"ts-jest": "^29.0.3"
"test": "jest",
"regenerate-settings": "ts-node utils/regenerateGameSettings.ts assets/Data/GameSettings.json"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.2.0",
"@types/node": "^18.11.6",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@types/lodash": "^4.14.190",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"prettier": "^2.7.1"
"prettier": "^2.7.1",
"eslint": "^8.25.0",
"jest": "^29.2.2",
"lodash": "^4.17.21",
"ts-jest": "^29.0.3"
}
}

View File

@ -12,4 +12,6 @@ function regenerateGameSettings(): void {
const result: GameSettings = merge(blankSettings, savedSettings);
writeFileSync(settingsPath, JSON.stringify(result));
console.log("Game settings regenerated");
}