Set up complete development environment with: - ESLint with Foundry VTT globals (game, CONFIG, Actor, etc.) - Prettier for consistent code formatting - Husky + lint-staged for pre-commit hooks - Quench test framework structure with sanity checks Documentation: - DEVELOPMENT.md with tooling decisions and rationale - README.md updated with development setup instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "vagabond-foundryvtt",
|
|
"version": "0.1.0",
|
|
"description": "Foundry VTT system for Vagabond RPG",
|
|
"scripts": {
|
|
"build": "sass styles/scss/vagabond.scss styles/vagabond.css --style=compressed",
|
|
"watch": "sass styles/scss/vagabond.scss styles/vagabond.css --watch --style=expanded --source-map",
|
|
"lint": "eslint module/",
|
|
"lint:fix": "eslint module/ --fix",
|
|
"format": "prettier --write \"module/**/*.mjs\" \"styles/**/*.scss\" \"lang/**/*.json\" \"*.json\" \"*.md\"",
|
|
"format:check": "prettier --check \"module/**/*.mjs\" \"styles/**/*.scss\" \"lang/**/*.json\" \"*.json\" \"*.md\"",
|
|
"prepare": "husky",
|
|
"release": "npm run build && zip -r vagabond.zip system.json module/ templates/ styles/vagabond.css lang/ packs/ assets/ LICENSE README.md"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/calcorum/vagabond-rpg-foundryvtt.git"
|
|
},
|
|
"author": "Cal Corum <cal.corum@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/calcorum/vagabond-rpg-foundryvtt/issues"
|
|
},
|
|
"homepage": "https://github.com/calcorum/vagabond-rpg-foundryvtt#readme",
|
|
"devDependencies": {
|
|
"eslint": "^8.57.0",
|
|
"husky": "^9.1.0",
|
|
"lint-staged": "^15.2.0",
|
|
"prettier": "^3.3.0",
|
|
"sass": "^1.69.0"
|
|
},
|
|
"lint-staged": {
|
|
"module/**/*.mjs": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"styles/**/*.scss": [
|
|
"prettier --write"
|
|
],
|
|
"lang/**/*.json": [
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"type": "module"
|
|
}
|