Files
mapbox__mapbox-agent-skills/package.json
Matthew Podwysocki a99e5bd077 Convert setup-hooks script from bash to Node.js for cross-platform compatibility
- Replaced bash script with Node.js version using native fs/path modules
- Updated package.json to use 'node scripts/setup-hooks.js'
- Works on Windows (PowerShell/cmd), macOS, and Linux
- Handles chmod gracefully on Windows where it's not needed
2026-02-18 11:26:51 -05:00

38 lines
1.1 KiB
JSON

{
"name": "@mapbox/agent-skills",
"version": "1.0.0",
"description": "Agent Skills for building fast, beautiful, secure Mapbox applications",
"type": "module",
"scripts": {
"format": "prettier --write \"**/*.{md,json,js}\"",
"format:check": "prettier --check \"**/*.{md,json,js}\"",
"spellcheck": "cspell \"*.md\" \"skills/**/*.md\"",
"lint:markdown": "markdownlint \"**/*.md\" --ignore node_modules",
"validate:skills": "node scripts/validate-skills.js",
"check": "npm run format:check && npm run spellcheck && npm run lint:markdown && npm run validate:skills",
"setup": "node scripts/setup-hooks.js",
"postinstall": "node scripts/setup-hooks.js"
},
"keywords": [
"agent-skills",
"mapbox",
"mapbox-gl-js",
"claude-code",
"cursor",
"copilot",
"performance",
"best-practices"
],
"author": "Mapbox",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mapbox/mapbox-agent-skills.git"
},
"devDependencies": {
"cspell": "^8.0.0",
"markdownlint-cli": "^0.39.0",
"prettier": "^3.8.1"
}
}