- Migrated from Python pre-commit to NodeJS-native solution - Reorganized documentation structure - Set up Husky + lint-staged for efficient pre-commit hooks - Fixed Dockerfile healthcheck issue - Added comprehensive documentation index
96 lines
3.4 KiB
JSON
96 lines
3.4 KiB
JSON
{
|
|
"name": "rxminder",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"type-check": "tsc --noEmit",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:integration": "bun tests/integration/production.test.js",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:debug": "playwright test --debug",
|
|
"test:e2e:report": "playwright show-report",
|
|
"test:all": "bun run test && bun run test:integration && bun run test:e2e",
|
|
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
|
|
"lint:markdown:fix": "markdownlint-cli2 --fix \"**/*.md\"",
|
|
"lint:docker": "dockerfilelint docker/Dockerfile",
|
|
"check:secrets": "secretlint \"**/*\"",
|
|
"check:editorconfig": "eclint check .",
|
|
"fix:editorconfig": "eclint fix .",
|
|
"pre-commit": "lint-staged",
|
|
"prepare": "husky",
|
|
"setup": "./scripts/setup.sh",
|
|
"deploy": "./scripts/deploy.sh",
|
|
"deploy:k8s": "./scripts/deploy-k8s.sh",
|
|
"validate:env": "./scripts/validate-env.sh",
|
|
"validate:deployment": "./scripts/validate-deployment.sh",
|
|
"seed:production": "bun scripts/seed-production.js",
|
|
"docker:setup": "./scripts/buildx-helper.sh setup",
|
|
"docker:build": "./scripts/buildx-helper.sh build-multi",
|
|
"docker:build-local": "./scripts/buildx-helper.sh build-local",
|
|
"docker:bake": "./scripts/buildx-helper.sh bake",
|
|
"docker:inspect": "./scripts/buildx-helper.sh inspect",
|
|
"docker:cleanup": "./scripts/buildx-helper.sh cleanup",
|
|
"gitea:setup": "./scripts/gitea-helper.sh setup",
|
|
"gitea:build": "./scripts/gitea-helper.sh build-multi",
|
|
"gitea:build-local": "./scripts/gitea-helper.sh build-local",
|
|
"gitea:build-staging": "./scripts/gitea-helper.sh build-staging",
|
|
"gitea:build-prod": "./scripts/gitea-helper.sh build-prod",
|
|
"gitea:test": "./scripts/gitea-helper.sh test",
|
|
"gitea:deploy": "./scripts/gitea-helper.sh deploy",
|
|
"gitea:status": "./scripts/gitea-helper.sh status",
|
|
"gitea:cleanup": "./scripts/gitea-helper.sh cleanup"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^3.0.2",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"uuid": "^12.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.55.0",
|
|
"@secretlint/node": "^11.2.3",
|
|
"@secretlint/secretlint-rule-preset-recommend": "^11.2.3",
|
|
"@testing-library/jest-dom": "^6.8.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^22.14.0",
|
|
"@types/uuid": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
"@typescript-eslint/parser": "^8.42.0",
|
|
"dockerfilelint": "^1.8.0",
|
|
"eclint": "^2.8.1",
|
|
"eslint": "^9.35.0",
|
|
"eslint-define-config": "^2.1.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^30.1.3",
|
|
"jest-environment-jsdom": "^30.1.2",
|
|
"lint-staged": "^16.1.6",
|
|
"markdownlint-cli2": "^0.18.1",
|
|
"prettier": "^3.6.2",
|
|
"shelljs": "^0.10.0",
|
|
"ts-jest": "^29.4.1",
|
|
"typescript": "^5.9.2",
|
|
"vite": "^7.1.4"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{json,yaml,yml,md,css,scss,html}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|