chore: add http-server as a dev dependency and update package scripts (#1718)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled

This commit is contained in:
Nariman Jelveh
2025-10-08 19:13:05 -07:00
committed by GitHub
parent eea27be8eb
commit 6fdea68eec
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -16313,6 +16313,7 @@
},
"devDependencies": {
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"webpack-cli": "^5.1.4"
}
},
+2
View File
@@ -27,6 +27,7 @@
"start-server": "npx http-server --cors -c-1",
"start-webpack": "webpack --stats=errors-only && webpack --output-filename puter.dev.js --watch --devtool source-map --stats=errors-only",
"start": "concurrently \"npm run start-server\" \"npm run start-webpack\"",
"test": "npx http-server --cors -c-1 -o /test",
"build": "webpack && { echo \"// Copyright 2024-present Puter Technologies Inc. All rights reserved.\"; echo \"// Generated on $(date '+%Y-%m-%d %H:%M')\n\"; cat ./dist/puter.js; } > temp && mv temp ./dist/puter.js",
"prepublishOnly": "npm run build && mv dist/puter.js dist/puter.cjs && npm version patch"
},
@@ -34,6 +35,7 @@
"license": "Apache-2.0",
"devDependencies": {
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {