- Added a new `reset-admin` script to reset or create the admin username and password. - Updated the README to include instructions for resetting the admin login. - Enhanced user management by allowing username updates during admin reset. - Defaulted new resources to the internal namespace `local` for better organization. - Removed unused owner selection from various components to streamline the UI. Co-authored-by: Nasyarobby Putra <nasyarobby@gmail.com>
51 lines
1.7 KiB
JSON
51 lines
1.7 KiB
JSON
{
|
|
"name": "@jerapah-flow/server",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "runner.js",
|
|
"scripts": {
|
|
"dev": "node --watch runner.js",
|
|
"dev:pm2": "node dev-pm2.mjs",
|
|
"start": "node runner.js",
|
|
"start:api": "node server.js",
|
|
"start:worker": "node worker.js",
|
|
"start:control": "node control.js",
|
|
"migrate": "node -e \"import('./db.js').then((m) => m.migrate().then(() => process.exit(0)))\"",
|
|
"test:plugins": "JFLOW_PLUGINS_DIR=./data/plugins-smoke-test JFLOW_DB_PATH=./data/plugins-smoke.db node test/plugins-smoke.js",
|
|
"test:workflow-history": "JFLOW_WORKFLOWS_DIR=./data/workflow-history-smoke JFLOW_DB_PATH=./data/workflow-history-smoke.db node test/workflow-history-smoke.js",
|
|
"reset-admin": "node reset-admin.js",
|
|
"test:profiles": "node test/profiles-smoke.js",
|
|
"test:set-dry-run": "node test/set-dry-run-smoke.js"
|
|
},
|
|
"dependencies": {
|
|
"@jerapah-flow/shared": "workspace:*",
|
|
"@aws-sdk/client-s3": "^3.1111.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1111.0",
|
|
"@fastify/cookie": "^11.0.2",
|
|
"@fastify/cors": "^11.1.0",
|
|
"@fastify/jwt": "^9.1.0",
|
|
"@fastify/static": "^8.2.0",
|
|
"axios": "^1.19.0",
|
|
"basic-ftp": "^6.2.0",
|
|
"bcryptjs": "^3.0.2",
|
|
"better-sqlite3": "^13.0.3",
|
|
"bullmq": "^6.1.2",
|
|
"fastify": "^5.12.0",
|
|
"ioredis": "^6.0.0",
|
|
"jsonata": "^2.2.2",
|
|
"knex": "^3.3.0",
|
|
"mustache": "^4.2.0",
|
|
"node-cron": "^4.6.0",
|
|
"node-html-parser": "^9.0.1",
|
|
"nodemailer": "^9.0.5",
|
|
"pino": "^10.3.1",
|
|
"pino-roll": "^4.0.0",
|
|
"pm2": "^6.0.13",
|
|
"rss-parser": "^3.13.0",
|
|
"ssh2-sftp-client": "^12.1.1",
|
|
"webdav": "^5.10.0",
|
|
"yaml": "^2.9.0"
|
|
}
|
|
}
|