- Introduced new resource schemas for maps, scenarios, unit sets, and turn commands using Zod. - Implemented a script to generate JSON schemas from Zod schemas. - Added a validation script to ensure resource JSON files conform to their respective schemas. - Updated the logic package to export new resource schemas. - Added new dependencies for schema generation and validation. - Created a tools-scripts package for resource management tasks.
40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"name": "sammo-ts",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"packageManager": "pnpm@10.26.2",
|
|
"scripts": {
|
|
"lint": "turbo lint",
|
|
"lint:fix": "turbo lint:fix",
|
|
"format": "prettier --write .",
|
|
"test": "turbo test",
|
|
"test:integration": "pnpm --filter @sammo-ts/integration-tests test:integration",
|
|
"build": "turbo build",
|
|
"typecheck": "turbo typecheck",
|
|
"dev": "turbo dev",
|
|
"build:server": "pnpm --filter ./tools/build-scripts build:server --",
|
|
"generate:resource-schemas": "pnpm --filter @sammo-ts/tools-scripts generate:resource-schemas",
|
|
"validate:resources": "pnpm --filter @sammo-ts/tools-scripts validate:resources"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.2",
|
|
"@types/node": "^25.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
"@typescript-eslint/parser": "^8.51.0",
|
|
"eslint": "^9.39.2",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-vue": "^10.6.2",
|
|
"globals": "^17.0.0",
|
|
"prettier": "^3.7.4",
|
|
"tsdown": "^0.18.4",
|
|
"tsx": "^4.21.0",
|
|
"turbo": "^2.7.2",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.51.0",
|
|
"vue-eslint-parser": "^10.2.0",
|
|
"zod-to-json-schema": "^3.25.1"
|
|
}
|
|
}
|