package.json: fix README.md name on distributed package

This commit is contained in:
Ivan Folgueira Bande 2024-01-13 13:32:51 +01:00
parent 487e69b9a6
commit 12a31380a7
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf dist", "clean": "rm -rf dist",
"compile": "tsc src/SetupPackage.ts --outDir dist/", "compile": "tsc src/SetupPackage.ts --outDir dist/",
"prepare-package": "mkdir dist && npm run clean && npm run compile && node dist/SetupPackage.js && cp src/distributed_readme.md dist/", "prepare-package": "mkdir dist && npm run clean && npm run compile && node dist/SetupPackage.js && cp src/distributed_readme.md dist/README.md",
"build-libwaku": "cd src/vendor/nwaku && yes Y | make libwaku && cp build/libwaku.so ../../../dist/", "build-libwaku": "cd src/vendor/nwaku && yes Y | make libwaku && cp build/libwaku.so ../../../dist/",
"build-gyp": "node-gyp configure --directory=src/ && node-gyp build --directory=src/ && cp -r src/build/ dist/", "build-gyp": "node-gyp configure --directory=src/ && node-gyp build --directory=src/ && cp -r src/build/ dist/",
"build-package": "cd dist && npm pack", "build-package": "cd dist && npm pack",