The patch removes the "files" section from package.json to avoid future issues with missing files. For package testing purposes, 'npm pack' is used instead of plain 'tar' to simulate packaging more accurately.
16 lines
398 B
JSON
16 lines
398 B
JSON
{
|
|
"name": "unit-http",
|
|
"version": "%%VERSION%%",
|
|
"description": "HTTP module for NGINX Unit",
|
|
"main": "http.js",
|
|
"scripts": {
|
|
"clean": "node-gyp clean",
|
|
"configure": "node-gyp configure",
|
|
"build": "node-gyp build",
|
|
"install": "node-gyp configure build"
|
|
},
|
|
"author": "Alexander Borisov",
|
|
"license": "Apache-2.0",
|
|
"gypfile": true
|
|
}
|