- Created root package.json to enable running commands from project root - Removed duplicate poltergeist scripts from Server/package.json - Updated README to clarify commands should be run from root - Fixed package name to just "peekaboo" (not monorepo) This makes the developer experience more intuitive by allowing all npm commands to be run from the project root directory. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
45 lines
2.0 KiB
JSON
45 lines
2.0 KiB
JSON
{
|
|
"name": "peekaboo",
|
|
"version": "3.0.0",
|
|
"private": true,
|
|
"description": "Peekaboo - Lightning-fast macOS Screenshots & GUI Automation",
|
|
"scripts": {
|
|
"build": "cd Server && npm run build",
|
|
"build:swift": "./scripts/build-swift-universal.sh",
|
|
"build:all": "npm run build:swift && npm run build",
|
|
"start": "cd Server && npm start",
|
|
"dev": "cd Server && npm run dev",
|
|
"clean": "cd Server && npm run clean",
|
|
"test": "cd Server && npm test",
|
|
"test:watch": "cd Server && npm run test:watch",
|
|
"test:coverage": "cd Server && npm run test:coverage",
|
|
"test:unit": "cd Server && npm run test:unit",
|
|
"test:typescript": "cd Server && npm run test:typescript",
|
|
"test:typescript:watch": "cd Server && npm run test:typescript:watch",
|
|
"test:swift": "cd Apps/CLI && swift test --parallel --skip \"LocalIntegrationTests|ScreenshotValidationTests|ApplicationFinderTests|WindowManagerTests\"",
|
|
"test:integration": "npm run build && npm run test:swift && cd Server && npm run test:integration",
|
|
"test:all": "npm run test:integration",
|
|
"lint": "cd Server && npm run lint",
|
|
"lint:fix": "cd Server && npm run lint:fix",
|
|
"lint:swift": "cd Apps/CLI && swiftlint",
|
|
"format:swift": "cd Apps/CLI && swiftformat .",
|
|
"prepare-release": "node scripts/prepare-release.js",
|
|
"inspector": "cd Server && npm run inspector",
|
|
"poltergeist:start": "./scripts/poltergeist.sh start",
|
|
"poltergeist:haunt": "./scripts/poltergeist.sh haunt",
|
|
"poltergeist:stop": "./scripts/poltergeist.sh stop",
|
|
"poltergeist:rest": "./scripts/poltergeist.sh rest",
|
|
"poltergeist:status": "./scripts/poltergeist.sh status",
|
|
"poltergeist:logs": "./scripts/poltergeist.sh logs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/steipete/peekaboo.git"
|
|
},
|
|
"author": "Peter Steinberger <steipete@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/steipete/peekaboo/issues"
|
|
},
|
|
"homepage": "https://github.com/steipete/peekaboo#readme"
|
|
} |