Files
rxminder/package.json
William Valentin 25b68ee67d feat: improve unified config system and build process
- Enhance unified config environment variable loading with better precedence
- Add environment-aware validation (production validation only when NODE_ENV=production)
- Add environment-specific build commands (build:dev, build:prod, build:staging)
- Improve configuration debugging with cleaner logging
- Remove unnecessary development warnings
- Provides more flexible and maintainable configuration system
2025-09-08 20:43:02 -07:00

113 lines
4.2 KiB
JSON

{
"name": "RxMinder",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"predev": "./scripts/process-html.sh",
"dev": "vite",
"build": "NODE_ENV=development vite build",
"build:prod": "NODE_ENV=production vite build",
"build:dev": "NODE_ENV=development vite build",
"build:staging": "NODE_ENV=staging 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:fast": "jest --testPathPatterns='(utils|types|services).*test\\.(ts|js)$' --passWithNoTests",
"test:unit": "jest --testPathPatterns='(utils|types).*test\\.(ts|js)$'",
"test:services": "jest --testPathPatterns='services.*test\\.(ts|js)$'",
"test:integration": "jest 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",
"pre-commit:enhanced": "./scripts/pre-commit-checks.sh",
"prepare": "husky",
"setup": "./scripts/setup.sh",
"deploy": "./scripts/deploy.sh",
"deploy:k8s": "./scripts/deploy-k8s.sh",
"undeploy:k8s": "./scripts/undeploy-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",
"express": "^5.1.0",
"jsonwebtoken": "^9.0.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"uuid": "^12.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@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/node-fetch": "^2.6.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"babel-jest": "^30.1.2",
"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",
"node-fetch": "^3.3.2",
"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"
]
}
}