bpb-website/package.json

28 lines
814 B
JSON

{
"name": "bpb-website",
"version": "1.0.0",
"description": "",
"main": "admin.js",
"scripts": {
"start": "node server.js",
"start:prod": "NODE_ENV=production node server.js",
"start:backend": "npm start --prefix photo-gallery-app/backend",
"start:all": "concurrently --names \"web,api\" \"npm start\" \"npm run start:backend\"",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npx esbuild gallery/gallery.js admin/admin.js --bundle --minify --format=iife --target=es2018 --outdir=public/build"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^2.2.0",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.1.0"
},
"devDependencies": {
"concurrently": "^9.2.1",
"esbuild": "^0.21.5"
}
}