fix: add missing files
This commit is contained in:
parent
9bd4b64c13
commit
0f899d93b8
17
build.sh
Executable file
17
build.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -rf node_modules
|
||||
npm install --production --no-audit
|
||||
rm -rf node_modules/.bin
|
||||
|
||||
TARFILE=`npm pack`
|
||||
tar xzf ${TARFILE}
|
||||
cp -r node_modules ./package
|
||||
pushd package
|
||||
find . -type f -exec shasum --algorithm 256 {} \; >> SHA256SUMS
|
||||
popd
|
||||
tar czf ${TARFILE} package
|
||||
|
||||
shasum --algorithm 256 ${TARFILE} > ${TARFILE}.sha256sum
|
||||
|
||||
rm -rf package
|
12
package-lock.json
generated
Normal file
12
package-lock.json
generated
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "irusb-adapter",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "1.0.0",
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue