mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2024-12-25 03:08:55 +00:00
Regenerate from npm run
This commit is contained in:
parent
1c30cb93ea
commit
a0ef7d518e
1156
package-lock.json
generated
1156
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@ -7,22 +7,22 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prettier-format": "prettier --config .prettierrc.json assets/Scripts/*.ts --write",
|
"prettier-format": "prettier --config .prettierrc.json assets/Scripts/*.ts --write",
|
||||||
"test": "jest"
|
"test": "jest",
|
||||||
},
|
"regenerate-settings": "ts-node utils/regenerateGameSettings.ts assets/Data/GameSettings.json"
|
||||||
"dependencies": {
|
|
||||||
"@types/lodash": "^4.14.190",
|
|
||||||
"eslint": "^8.25.0",
|
|
||||||
"jest": "^29.2.2",
|
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"ts-jest": "^29.0.3"
|
|
||||||
},
|
},
|
||||||
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.2.0",
|
"@types/jest": "^29.2.0",
|
||||||
"@types/node": "^18.11.6",
|
"@types/node": "^18.11.6",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
||||||
|
"@types/lodash": "^4.14.190",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"eslint-plugin-react": "^7.31.10",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -12,4 +12,6 @@ function regenerateGameSettings(): void {
|
|||||||
|
|
||||||
const result: GameSettings = merge(blankSettings, savedSettings);
|
const result: GameSettings = merge(blankSettings, savedSettings);
|
||||||
writeFileSync(settingsPath, JSON.stringify(result));
|
writeFileSync(settingsPath, JSON.stringify(result));
|
||||||
|
|
||||||
|
console.log("Game settings regenerated");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user