Files
headlamp-plugin-template/package.json
T
Chris Farhood 5a1143e58b fix: add missing direct devDeps (eslint, prettier, typescript)
Adds eslint@^8.57.1, prettier@^3.0.0, typescript@^5.6.2 as direct
devDependencies so pnpm --frozen-lockfile exposes their binaries
in node_modules/.bin for CI lint/type-check/format-check steps.

Fixes PRI-564.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-06 12:25:44 +00:00

42 lines
1.2 KiB
JSON

{
"name": "my-headlamp-plugin",
"version": "0.1.0",
"description": "A Headlamp plugin for Kubernetes",
"repository": {
"type": "git",
"url": "https://github.com/YOUR_ORG/YOUR_REPO.git"
},
"bugs": {
"url": "https://github.com/YOUR_ORG/YOUR_REPO/issues"
},
"homepage": "https://github.com/YOUR_ORG/YOUR_REPO#readme",
"author": "YOUR_NAME",
"license": "Apache-2.0",
"scripts": {
"start": "headlamp-plugin start",
"build": "headlamp-plugin build",
"package": "headlamp-plugin package",
"tsc": "tsc --noEmit",
"lint": "eslint --ext .ts,.tsx src/",
"lint:fix": "eslint --ext .ts,.tsx --fix src/",
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@kinvolk/headlamp-plugin": "^0.13.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"eslint": "^8.57.1",
"jsdom": "^24.0.0",
"prettier": "^3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^5.3.0",
"typescript": "^5.6.2",
"vitest": "^3.0.5"
}
}