- Implement multi-stage build to reduce final image size - Install only production dependencies with npm ci --only=production - Clean npm cache to reduce image size - Improve layer caching by copying package files before application code - Update package version from 1.0.0 to 1.0.1
21 lines
438 B
JSON
21 lines
438 B
JSON
{
|
|
"name": "no-as-service",
|
|
"version": "1.0.1",
|
|
"description": "A lightweight API that returns random rejection or no reasons.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"test": "jest"
|
|
},
|
|
"author": "hotheadhacker",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"express-rate-limit": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^30.1.2",
|
|
"supertest": "^7.1.4"
|
|
}
|
|
}
|