39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"name": "demo-app",
|
|
"version": "1.0.0",
|
|
"description": "TypeScript microservice demonstrating the Forgejo Actions -> registry -> ArgoCD -> k3s pipeline",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/bin/server.js",
|
|
"test": "vitest run",
|
|
"test:integration": "DB_HOST=localhost DB_NAME=test DB_USER=test DB_PASSWORD=test vitest run --config vitest.integration.config.ts",
|
|
"migrate": "psql $DATABASE_URL -f src/migrations/001_create_utc_timestamp_function.sql",
|
|
"lint": "eslint . && tsc --noEmit",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"dependencies": {
|
|
"express": "^5.2.0",
|
|
"pg": "^8.23.0",
|
|
"pg-hstore": "^2.3.4",
|
|
"sequelize": "^6.37.8"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.5.0",
|
|
"@commitlint/config-conventional": "^19.5.0",
|
|
"@types/express": "^5.0.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/supertest": "^7.2.1",
|
|
"eslint": "^9.13.0",
|
|
"prettier": "^3.3.3",
|
|
"supertest": "^7.2.2",
|
|
"typescript": "^5.6.0",
|
|
"typescript-eslint": "^8.15.0",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|