{ "name": "@baseline/api", "version": "1.0.0", "engines": { "node": "20" }, "scripts": { "start:exposed": "pnpm run start --host 0.0.0.0", "start": "./scripts/run-api-local.sh", "debug": "export SLS_DEBUG=* && ./scripts/run-api-local-debug.sh", "deploy:staging": "./scripts/deploy.sh staging", "remove:staging": ". ../../scripts/project-variables.sh && npx serverless remove --stage staging --region $REGION", "deploy:prod": "./scripts/deploy.sh prod", "remove:prod": ". ../../scripts/project-variables.sh && npx serverless remove --stage prod --region $REGION", "add:env:local": "../../scripts/add-env-var.sh local", "add:env:staging": "../../scripts/add-env-var.sh staging", "add:env:prod": "../../scripts/add-env-var.sh prod", "aws:profile": "../../scripts/setup-aws-profile.sh", "add:user:staging": "./scripts/add-cognito-user.sh staging", "add:user:prod": "./scripts/add-cognito-user.sh prod", "install:dynamodb": ". ../../scripts/project-variables.sh && npx serverless dynamodb install --stage staging --region $REGION", "lint": "npx eslint --config '.eslintrc.js' 'src/**/*.{ts,tsx,js}'", "build": ". ../../scripts/project-variables.sh && npx serverless package --stage staging --region $REGION", "pretty": "npx prettier --write 'src/**/*.{ts,tsx,js,json,css,scss,md,yml,yaml,html}' && npx prettier --write '*.{yml,yaml,js}'" }, "dependencies": { "@aws-sdk/client-cognito-identity-provider": "3.530.0", "@baseline/types": "workspace:1.0.0", "@baselinejs/dynamodb": "0.2.4", "@types/lodash-es": "^4.17.12", "aws-lambda": "1.0.7", "compression": "1.7.4", "cors": "2.8.5", "express": "4.21.0", "http-status-codes": "2.2.0", "lodash-es": "^4.17.21", "serverless-http": "3.0.1" }, "devDependencies": { "@types/aws-lambda": "8.10.93", "@types/compression": "1.7.2", "@types/cors": "2.8.12", "@types/express": "4.17.21", "@types/node": "20.11.26", "esbuild": "0.20.1", "prettier": "2.4.1", "serverless": "3.38.0", "serverless-dynamodb": "0.2.50", "serverless-esbuild": "1.52.1", "serverless-offline": "13.3.3", "stylelint": "16.2.1", "stylelint-order": "6.0.4", "typescript": "5.4.2" } }